Difference between revisions of "Research/Web-to-print"
Line 1: | Line 1: | ||
''This page is dedicated to research on web-to-print approaches and workflows.'' | ''This page is dedicated to research on web-to-print approaches and workflows.'' '''Deadline for research:''' June 26 | ||
'''Deadline for research:''' June 26 | |||
=Starting points= | =Starting points= | ||
* Goal: transform reflowable (markup-based) digital publications into fixed-layout PDF. | |||
* Case study: [http://beyond-social.org/ Beyond Social]. How can web-to-print (or wiki-to-print) be applied to Beyond Social. | |||
Case study: [http://beyond-social.org/ Beyond Social]. How can web-to-print (or wiki-to-print) be applied to Beyond Social. | * Requisites: | ||
** an online workflow, that can be run on a server | |||
Requisites: | ** support page numbers | ||
* an online workflow, that can be run on a server | ** gather all articles in on to 1 document | ||
* support page numbers | * Advanced features: | ||
* gather all articles in on to 1 document | ** impositions - how can impositions, instead of simple stack of pages, be integrate into this workflow? | ||
Advanced features: | |||
* impositions - how can impositions, instead of simple stack of pages, be integrate into this workflow? | |||
= Possible strategies - software = | = Possible strategies - software = | ||
Line 32: | Line 25: | ||
* how can it be integrated into teaching | * how can it be integrated into teaching | ||
== | --- | ||
can | =Strategies= | ||
==LaTex== | |||
LaTex is a type-setting/document preparation language, focused on producing typographicaly correct page-based documents as PDF. | |||
===positive aspects=== | |||
* LaTex is a markup language, in many ways similar to HTML or Markdown, and Pandoc offers good support for it, converting well from other markups. | |||
* Can produce quality PDFs: w/ support for: page numbers, hyphenation, bibliogrphy, references, hyperlinks | |||
LaTex sample: | |||
<source lang="latex"> | |||
\section{Tools} | |||
We organized the work in two spaces: a {\bf wiki} and a {\bf website}. The \href{http://beyond-social.org/wiki/index.php/Main_Page}{wiki} was established as the editorial space, while the \href{http://beyond-social.org/}{website} | |||
</source> | |||
* Can be set to produce more experimental and generative outputs. (See works by [http://research.lafkon.net/ Lafkon studio] for an idea) | |||
===negative aspects=== | |||
* Produced PDF are by default academic looking, although this can be changed | |||
* Use is outmoded and mostly restricted to academia | |||
* Styling is defined by packages imported into the document, which is very different and '''incompatible with CSS'''. Styling a LaTex document: | |||
<source lang="latex"> | |||
\documentclass[10pt, a4paper]{book} % Document form: book, size: A4, font-size | |||
\usepackage[hmargin=3.0cm, vmargin=2.0cm]{geometry} %document margins | |||
</source> | |||
===sample output=== | |||
[[File:article.pdf]] | |||
===final remarks=== | |||
Although LaTex can be set to produce very interesting results and can be easily integrated within the current workflow, centered around Wikis, Pandoc, HTML and CSS; It constitutes a difficult tool to work with, let alone to teach. It might bring more confusion to students and contradict our approach for setting up hybrid publishing workflows, which has been based on essential web languages: HTML and CSS and simple tools: Wikis and Pandoc. The advice is to leave LaTex alone, although it might be an interesting venue to explore, for more experimental projects. | |||
---- | |||
[[Category:research]] | [[Category:research]] |
Revision as of 06:57, 8 June 2015
This page is dedicated to research on web-to-print approaches and workflows. Deadline for research: June 26
Starting points
- Goal: transform reflowable (markup-based) digital publications into fixed-layout PDF.
- Case study: Beyond Social. How can web-to-print (or wiki-to-print) be applied to Beyond Social.
- Requisites:
- an online workflow, that can be run on a server
- support page numbers
- gather all articles in on to 1 document
- Advanced features:
- impositions - how can impositions, instead of simple stack of pages, be integrate into this workflow?
Possible strategies - software
- laTex - Document preparation system, focused on the creation of PDFs, uses its own markup, supported by Pandoc.
- wkhtmltopdf - HTML to PDF converter based on Webkit.
- Weasy Print - Python, visual rendering engine for HTML and CSS that can export to PDF
- Mediawiki Collection Extension - the same system used by Wikipedia to create books in PDF and Epub formats.
assessment
For each strategy try to point out:
- summary of the workflow
- example prototype
- advantages
- disadvantages
- how can it be integrated into teaching
---
Strategies
LaTex
LaTex is a type-setting/document preparation language, focused on producing typographicaly correct page-based documents as PDF.
positive aspects
- LaTex is a markup language, in many ways similar to HTML or Markdown, and Pandoc offers good support for it, converting well from other markups.
- Can produce quality PDFs: w/ support for: page numbers, hyphenation, bibliogrphy, references, hyperlinks
LaTex sample:
\section{Tools}
We organized the work in two spaces: a {\bf wiki} and a {\bf website}. The \href{http://beyond-social.org/wiki/index.php/Main_Page}{wiki} was established as the editorial space, while the \href{http://beyond-social.org/}{website}
- Can be set to produce more experimental and generative outputs. (See works by Lafkon studio for an idea)
negative aspects
- Produced PDF are by default academic looking, although this can be changed
- Use is outmoded and mostly restricted to academia
- Styling is defined by packages imported into the document, which is very different and incompatible with CSS. Styling a LaTex document:
\documentclass[10pt, a4paper]{book} % Document form: book, size: A4, font-size
\usepackage[hmargin=3.0cm, vmargin=2.0cm]{geometry} %document margins
sample output
final remarks
Although LaTex can be set to produce very interesting results and can be easily integrated within the current workflow, centered around Wikis, Pandoc, HTML and CSS; It constitutes a difficult tool to work with, let alone to teach. It might bring more confusion to students and contradict our approach for setting up hybrid publishing workflows, which has been based on essential web languages: HTML and CSS and simple tools: Wikis and Pandoc. The advice is to leave LaTex alone, although it might be an interesting venue to explore, for more experimental projects.