Bridging the Gaps Between XML and TEX

An approach to convert from arbitrary XML to LaTeX by utilizing an XSLT/XProc‐based framework.

Martin Kraetke

Lead Content Engineer
le-tex publishing services GmbH

Abstract

There are established software solutions to convert from XML to TeX. Nevertheless, these approaches either limit the configurability of the TeX output or introduce a lot of programming effort. In this paper, we will discuss these methods and present an alternative approach that hopes to offer the greatest possible flexibility based on fixed conversions, an extensible configuration and the injection of XSLT, and that forms the basis for our Open Source typesetting system xerif.


Table of Contents

Acknowledgements
Introduction
The Gaps Between XML and LaTeX
Methods to Convert XML to LaTeX
xmltex
PassiveTeX
Pandoc
XSLT
An Alternative Approach
Math Transform MathML to TeX
Transform XML to TeX
Issues
Conclusion