Tralics: a LaTeX to XML translator

Note

This is the main documentation page from the previous website. Most of the contents are still relevant, but some of it is outdated.

APICS MARELLE

Introduction

Tralics is a free software whose purpose is to convert a LaTeX document into an XML file. It is used since 2002 for instance to produce the Inria’s annual activitity report. It is developped by the Apics Team (and Marelle Team since 2011) of Inria.

Send questions, comments, bug reports, etc, to tralics@inria.fr.

Printed Documentation and Examples

Online Documentation

HTML documentation of all TeX commands, in alphabetic order: Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Characters Arrays Unimplemented

List of all known packages

The errror messages of Tralics

Options of the tralics command

Tralics and LaTeX3

This web page explains some concepts used in other pages and gives some starting examples.

Getting started shows trivial examples, as well as a full document with title, index, bibliography, etc.

Tralics and the raweb explains in details how the translator can be used.

New features of the RA2007 explains in French some changes in the handling of the Ra2007, updated for 2008

Example: \primes macro, TeXbook, Chapter 20.

Parameterisation

Notes on bibliographical references

Computing pi (tex file)

See also: EuroTeX slides (pdf)

Status of the Software

What’s new ? you can consult the ChangeLog file.

Current version is 3.0.0 released 23-february-2026.
version 2.15.3 released 06-august-2015
version 2.15.2 released 22-jan-2015
version 2.15.1 released 25-july-2013
version 2.15.0 released 31-august-2012
version 2.14.5 released 06-july-2012
version 2.14.4 released 07-nov-2011
version 2.14.3 released 02-may-2011
version 2.14.2 released 11-apr-2011
Previous version 2.13 released 20-jul-2008
Previous version 2.12 released 21-apr-2008
Previous version 2.11 released 29-11-2007
Previous version 2.10 released 02-05-2007,
Previous version 2.9 released 26-10-2006.

Source

Binaries

Extra files

Since version 2.12.7, tralics-src-x.y.tar.gz contains only the sources, and tralics-extra-x.y.tar.gz contains the extra files needed for the raweb.

License

This software is governed by the CeCILL license that can be found at the following URL http://www.cecill.info

Bibliography

The LaTeX Companion, Goossens, Mittelbach and Samarin, Addison-Wesley, 1994.

The LaTeX Companion, Mittelbach, Goosens and others, Addison-Wesley, 2004. (second edition, abbreviated as TLC2).

The TeXbook, Knuth, Addison-Wesley, 1984. (page numbers correspond to the 1993 edition).

LaTeX, A Documentation Preparation System, Lamport, Addison-Wesley, 1985. Second edition 1994. (page numbers correspond to 7th printing 1998).

Old versions

Notes

The development of the Tralics software started while the author was in a team named Miaou. This research team is called `Apics’ since 01-01-2004. The official home page of Tralics is now http://www-sop.inria.fr/marelle/tralics. Author: José.Grimm@inria.fr.

The motivations for this translator can be found in the research report number RT-0265 (in french).
The translator (in its Perl version) was used to convert Inria’s ``Rapport d’activité’’ 2001 into XML and Pdf.
The tralics documentation is also available on hal.inria.fr, through the following links inria-00000198 and inria-0069870. It is unlikely that these files are up to date.

References

[Gri03]

José Grimm. Tralics, a LaTeX to XML translator. TUGboat, 24(3):12, 2003.

[Gri05a]

José Grimm. Tralics, a LaTeX to XML translator, Part I. Technical Report 309, INRIA, 2005.

[Gri05b]

José Grimm. Tralics, a LaTeX to XML translator, Part II. Technical Report 310, INRIA, 2005.