4 ms·
Lwarp – Converts LaTeX to HTML
- fastball 3y agoFriendly 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/ https://pandoc.org/
- venice_benice 3y agopandoc 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.
- djaouen 3y agoEmacs already does this lmao
- deleted 3y ago[deleted]
- merelysounds 3y agoIs there a demo? 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.
- delta_p_delta_x 3y ago> Is there a demo? https://tikz.dev/ https://tikz.dev/ is generated from http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf. As someone else says,
- Mylloon 3y agoThere is also hevea(1) who do that 1: https://github.com/maranget/hevea https://github.com/maranget/hevea