PassiveTeX

2. How does it work?

PassiveTeX relies heavily on work by David Carlisle (his namespace-aware XML parser written in TeX, xmltex), and was developed from my JadeTeX macros for processing DSSSL via Jade.

Taking the XML version of the TEI Lite guidelines (teiu5.xml, with DTD teixlite.dtd, we apply an XSL stylesheet (see my page of TEI style sheets), and run it through the xsltproc XSL processor:
xsltproc -o teiu5.fo teip4/stylesheet/fo/tei.xsl teiu5.xml
This creates the new XML file teiu5.fo. We now run XMLTeX on this
pdfxmltex teiu5.fo
which creates teiu5.pdf. Voila! Actually, we need to do
pdfxmltex teiu5.fo
again, to resolve page-number references in the table of contents.

Up: Contents Previous: 1. Summary Next: 3. Installation