LaTeX2OQMath is yet another initiative aiming at enhancing the presentation-oriented LaTeX content with semantic information. The approach is based on LaTeXML and XSL Stylesheets: First, the LaTeX document is converted to a transitional XML representation by using LaTeXML. Then, a set of XSL Stylesheets is applied, yielding OQMath(=OMDoc with QMath formulae) output.
The tool is available here for download. An installation of LaTeXML is required for LaTeX2OQMath to work properly. Currently, only systems sporting BASH are supported (*NIX, MacOS X tested, maybe also Windows+cywin or mingw).
Quick Start:
cd to that directoryl2o.sh -s <your source document> -t <target directory>
test-data subdirectory of LaTeX2OQMath.
This is still experimental - feedback welcome. The Homepage of all projects aiming at supporting the integration of LaTeX with ActiveMath is located here
Known limitations, planned work:
omtext tags. If time permits it I
will work on the generation of appropriate types (if corresponding macros were
used in the TeX source).
Customization:
By default, the converter script will use all stylesheets located in
${L2O_HOME}/xsl/transformation-units to perform the transformation. You
can change this behaviour by specifying a directory with the parameter
-x. This directory should contain stylesheets as well as relevant
notations as well as required symbol declarations. The stylesheets have to
contain a priority rating specified as a comment in the first line:
<!-- priority: n -->Where
n is the desired priority, given as a positive integer. The
higher the number, the earlier the stylesheet will be applied in the pipeline.
Contact Info: