Recent Changes
Recent Changes · Search:

As the Wikipublisher architecture shows, the same wiki source produces Web and print output. The Wikipublisher typesetting engine uses the LATEX page composition system as an intermediate format. This has a number of advantages.

Wikipublisher architecture
From wiki markup to PDF

First, we translate wiki markup into Wikibook XML. Then we translate the XML into LATEX markup and on to PDF. XML to LATEX is an XSL transformation. The key component is the choice of a suitable DTD for the print channel.

The goal of the transformation to PDF is to produce excellent printed output, in a way that:

  • preserves the author’s intentions on paper
  • adds print-specific navigation aids, such as page and figure numbers
  • translates Web artefacts, such as hyperlinks, into suitable print equivalents

We could have chosen XSL-FO as an intermediate step in publishing the PDF. We chose LATEX because:

  • it’s complete, robust and proven over years of demanding use
  • it produces printed output of the highest quality
  • current open source XSL-FO processors are good enough, but not yet great

The audience for Wikipublisher is readers wishing to make careful off-line study of content from one or more Web pages. This means using the highest possible standards for typesetting. We must preserve all structural information, such as external links, in usable paper form.

Page last modified on 19 July 2006 at 04:06 PM