le-tex provides the following XML services:
- Direct typesetting from XML – from database reports and trade journal articles to complex, multi-volume encyclopedias with hundreds of entries and thousands of pages,
- Conversion from TeX, Word, Excel, InDesign etc. to XML,
- Conversion from XML back to TeX or Word (so that the author can edit the data in a familiar environment for follow-up editions),
- Structuring of references,
- Management of extensive cross-reference and index apparatus, and
- Creation of DTDs/schemas and media-neutral workflows.
Both customer-specific (e.g. Springer A++, WileyML) and standard document types (e.g. DocBook, TEI, DITA) are supported.
Content restrictions that extend beyond DTD/schema are typically enforced using ISO Schematron.
With the help of standard technologies such as XPath 2.0, XSLT 2.0, and DOM, partly in conjunction with high level languages such as Ruby and Perl, le-tex transforms XML data from one document type to another and generates indexes or tabular content for further processing in a relational database or spreadsheet.
Sophisticated tools are available for the following tasks:
- Structuring of references;
- Conversion of math content to and from MathML;
- Conversion of legacy InDesign or Quark documents to XML;
- Packaging in container formats (e.g. IDPF EPUB);
- Processing of CALS tables;
- To find cross-references,
- For removal of duplicates in consolidated bibliographies
- And for coding of index items.
le-tex can typeset XML data directly. The result is superior to most XSL-FO engines, because TeX is used as the backend. TeX is suitable as a print backend system for loose-leaf publications, fulltext XML journals, and every other type of structured or semi-structured content. le-tex typesets numerous fulltext journals and books in TeX, primarily directly from XML source text, but InDesign and Word are also used as backend systems.