Hacker News new | ask | show | jobs
by pyjamafish 873 days ago
I don't know if there's an advantage, haha. It was just the first thing that came to mind.

Looks like a pipe is also supported; you just need to pass `-` as the name of the file to `latexmlpost`.

    latexml mydoc.tex | latexmlpost --dest=mydoc.html --format=html5 -
1 comments

You can actually also use the latexmlc omni-executable [1] (that is part of the latexml distribution), which can convert to html in one command:

    latexmlc --dest=mydoc.html --format=html5 mydoc.tex

[1] https://math.nist.gov/~BMiller/LaTeXML/manual/commands/latex...