Previous step: “Simple TeXML file

More TeXML

This TeXML document uses more TeXML elements:

  <cmd name="documentclass">
  <env name="document">
  Hello, <group><cmd name="it"/>World</group>!

After converting to TeX, the result is:

\documentclass[a4paper]{article} ....
Hello, {\it{}World}!

This example demonstrates the three most often used TeXML elements:

The example also demonstrates how to create the LaTeX header using regular TeXML instead of disabling escaping.

Next step: “Better layout

This page: http://getfo.org/texml/tour_more.html