MathHubInfo / Legacy-localmh

DEPRECATED - A cross-repository administration tool for the local authoring in MathHub.info
1 stars 0 forks source link

lmh should use mmt to create .omdoc, .pdf or .sms files #232

Open cmaeder opened 9 years ago

cmaeder commented 9 years ago

mmt needs the 3 things: the archive, the extension and the build command.

To see some output it is advisable to start with log console. Each input could be one line within an .msl file or separates by ; on the command-line. Example:

../../../ext/MMT/mmt.jar "log console ; archive add . ; extension info.kwarc.mmt.stex.LaTeXML ; build smglom/mv latexml equal.de.tex"

For archive add . to work, mmt should be called in the archive folder. The output is written to a separate folder named latexml.

cmaeder commented 9 years ago

To use a custom latexmlc you can set the LATEXMLC variable. Otherwise latexmlc is taken from "/ext/perl5lib/bin" (where is computed from the input file). Note that latexmlc simply calls latexmls, which will be the first found in your PATH.