slackbuilds/office/LaTeXML
Lockywolf 110810cd24
office/LaTeXML: Added (LaTeX to XML/HTML)
Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-04-22 11:38:33 +07:00
..
LaTeXML.SlackBuild office/LaTeXML: Added (LaTeX to XML/HTML) 2023-04-22 11:38:33 +07:00
LaTeXML.info office/LaTeXML: Added (LaTeX to XML/HTML) 2023-04-22 11:38:33 +07:00
README office/LaTeXML: Added (LaTeX to XML/HTML) 2023-04-22 11:38:33 +07:00
slack-desc office/LaTeXML: Added (LaTeX to XML/HTML) 2023-04-22 11:38:33 +07:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The approach is to emulate TeX as far as possible (in Perl),
converting the TEX or (LATEX) document into LATExmls XML format. That
format is modelled on the typical document structure found in LATEX,
and inspired by HTML, MathML, OpenMath and others. That abstract
document is then further transformed into HTML of various flavors,
with MathML and SVG, or into JATS or ePub or …. Of course, emulating
TEX is kinda hard, there are many clever LATEX package developers, and
the Web moves quickly, so there are gaps in fidelity and coverage.

But for simple cases it might work just like this:

latexml --dest=mydoc.xml mydoc
latexmlpost --dest=somewhere/mydoc.html mydoc.xml