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 teip4/stylesheet/fo/tei.xsl teiu5.xml
This creates the new XML file We now run XMLTeX on this
which creates teiu5.pdf. Voila! Actually, we need to do
again, to resolve page-number references in the table of contents.

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