TeXML

TeXML: an XML syntax for TeX (LaTeX, ConTeXt)

TeXML is an XML syntax for TeX. The processor transforms the TeXML markup into the TeX markup, escaping special and out-of-encoding characters. The intended audience is developers who automatically generate [La]TeX or ConTeXt files.

XML to PDF — TeXML vs XSL-FO

Similarity:

Differences:

XML to TeX — TeXML vs Perl/Java/Python/etc

Development cost of converting XML to TeX using different approaches:

100*k man-hours 100*k man-hours k man-hours
Cost of XML to TeX using Perl/Java/Python/etc Cost of XML to TeX using XSLT only Cost of XML to TeX using XSLT plus TeXML
Convert: decide, for example, that <p> is a paragraph, <note> is a table, etc
Serialize: write result as a valid TeX file

XSLT is very poor at working with strings, so it is hard to write valid TeX. In contrast, Perl etc. are excellent at handling strings and so can easily produce TeX, but they are inconvenient to manipulate an XML. The solution is TeXML.

TeXML benefits

Resources


This page: http://getfo.org/texml/index.html
Project area: http://sourceforge.net/projects/getfo/