Earlier quoted context omitted.
What's the advantage of that subshell redirection over a simple pipe?
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 -
latexmlc --dest=mydoc.html --format=html5 mydoc.tex
[1] https://math.nist.gov/~BMiller/LaTeXML/manual/commands/latex...