(no title)
pyjamafish | 2 years ago
Today, when I saw that I got an invitation to repost this article from the mods, I thought I'd take the time to try it out.
The two commands that the article suggests can be combined into one:
latexmlpost --dest=mydoc.html --format=html5 <(latexml mydoc.tex)
I did a comparison[1] of pdflatex and latexml using some old assignments, and it looks like compiling to HTML isn't fully there yet: the spacing was off in some places, and manual line breaks didn't work. But, I remain hopeful. If this gets polished, viewing LaTeX documents on phones would be much nicer.
marknazzaro|2 years ago
LaTeXML is maintained by a team at NIST, and they are actively responding to the bug reports on github issues.
The LaTeX team headed by Frank Mittelbach is also working to add more structural information to the output of LaTeX, which will make compiling to HTML much easier.
unknown|2 years ago
[deleted]
thewakalix|2 years ago
pyjamafish|2 years ago
Looks like a pipe is also supported; you just need to pass `-` as the name of the file to `latexmlpost`.
PrimeMcFly|2 years ago
The mods personally invited you to repost a year later?
pyjamafish|2 years ago
[1]: https://news.ycombinator.com/item?id=26998308