Hacker News new | ask | show | jobs
by thewakalix 872 days ago
What's the advantage of that subshell redirection over a simple pipe?
1 comments

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 -
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...