Lwarp – Converts LaTeX to HTML(ctan.org)
ctan.org
Lwarp – Converts LaTeX to HTML
https://ctan.org/pkg/lwarp
5 comments
> Is there a demo?
https://tikz.dev/ is generated from http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf. As someone else says,
https://tikz.dev/ is generated from http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf. As someone else says,
Friendly reminder that if you need to convert from {document format} to {other document format}, Pandoc[1] is the the place to go.
Pandoc can convert LaTeX to HTML or HTML to LaTeX!
[1] https://pandoc.org/
Pandoc can convert LaTeX to HTML or HTML to LaTeX!
[1] https://pandoc.org/
pandoc is much less powerful here since it can only parse a subset of LaTeX, as opposed to LaTeXML or lwarp which actually processes the LaTeX/TeX code expanding the macros etc, and then generates the output HTML/XML.
pandoc is nice for simple documents, but it is completely inadequate for many use-cases, which is why ArXiv is using LaTeXML and tikz.dev is using lwarp, rather than the more ubiquitous pandoc.
pandoc is nice for simple documents, but it is completely inadequate for many use-cases, which is why ArXiv is using LaTeXML and tikz.dev is using lwarp, rather than the more ubiquitous pandoc.
[deleted]
There is also hevea(1) who do that
1: https://github.com/maranget/hevea
1: https://github.com/maranget/hevea
Emacs already does this lmao
I’m especially interested in how this approaches page flow - would it keep the concept, or render everything as a single “page”.
For context, in my pet project I wanted to actually keep the pages; I ended up rendering a pdf and then using pdf.js to render that in html.