Technical documentation

This section tends to explain the main functionnalities of the Latex_to_Hdoc converter.

This converter could convert simple LaTeX reports structured with chapters, sections and paragraphs. They can include lists, tables and images. Some LaTeX commands are not treated yet and the package inclusions are ignored.

Architecture of the converter

  • latex_to_hdoc.ant : Ant script to convert a LaTeX document to a Hdoc document

  • build.properties : configuration file used by the Ant script

  • hdoc : contains the Hdoc file resulting of the convertion

  • ProjetNF29 : contains the sources of the Java application used to convert the LaTeX to LaTeXML

  • src : contains some examples of LaTeX reports

    • Sample1 : a report written in English

    • Sample2 : a report written in French

  • tmp : used to contained temporary files and directories during the conversion

  • xsl :

    • latexml_to_hdoc.xsl : XSL script used to transform the LaTeXML file to a Hdoc format file

    • container.xsl : XSL script used to make the container.xml file contained into the Hdoc archive

    • lib :

      • saxon9he.jar : lib used by the Ant script in order to realized the XSL tasks