TeXML explained

TeXML
Developer:Oleg A. Paraschenko
Operating System:Cross-platform
Genre:Typesetting
Latest Release Version:December 2010
Programming Language:Python
License:MIT/X Consortium license
Website:http://www.getfo.org/

TeXML [tɛχːml] is – as a process – a TeX-based alternative to XSL-FO.

TeXML has been developed as an open-source project with the aim to automatically present XML data as PDF with sophisticated layout properties.

By means of an auxiliary structure definition, TeXML overcomes the syntax-based differences between TeX and XML.

Technically, the markup elements of TeX are described by using the XML syntax.

History

TeXML is a further development of a specification originally defined by Douglas Lovell at IBM, where Structure and Transformation have to be distinguished.

The XML definition of the TeXML structure can be considered as being completed since 1999 (TeXML.dtd).

It represents the markup link between TeX and XML.

The transformation processes run smoothly since the end of 2010, a productive application of the technology is possible.

The original approach of using a Java application was published by IBM at IBM alphaWorks, but is no longer present. It was presented in a paperat the 1999 annual meeting of the TeX Users Group.[1]

Application

TeXML is used to generate Technical Documentation from XML data.

After the transformation TeXML → TeX, the entire LaTeX-defined range of TeX macros is available.

By means of using TeX macros, it is possible to publish XML data having configurable layout options.

Specials

TeXML structure

The Document Type Definition (DTD) of the TeXML structure consists of the XML elements:

Composition of a TeXML document

An example of an XML document, which has already been transformed into the TeXML structure:

\documentclass[a4paper]\usepackage[latin1]\usepackage[T1]Misinterpretation of special characters as being functional characters is called "Escaping", thus: $, ^, >

TeXML process

The TeXML process transforms XML data which are described in the auxiliary intermediate TeXML structure to TeX:

\documentclass[a4paper]\usepackage[latin1]\usepackage[T1]\beginMisinterpretation of special characters as being functional characters is called "Escaping", thus: \textdollar, \^,\textgreater\end

Supporting processes

Works on the "Data Collection Level" (XML) and on the "Publication Level" (TeX) are supported by different tools, for example:

Eclipse (IDE), open source

– other free XML editors

– Windows PC: editor MiKTeX

– Mac OS X: editor TeXShop

Literature

External links

  1. http://www.tug.org/tug99/bulletin/preprintmap/node1.html