News for hackers. Stuff that matters.

michal_h21

Re:Quarkdown: A modern Markdown-based typesetting system on Tuesday June 03, 2025 @11:31AM (#44171122)
This was true maybe 20 years ago, before TeX engines that output directly to PDF were created. Today, the recommended engine is LuaLaTeX, and it defaults to OpenType fonts.
Re:Quarkdown: A modern Markdown-based typesetting system on Tuesday June 03, 2025 @11:26AM (#44171077)
Other incorrect statement is that LaTeX cannot generate HTML. There is number of projects for LaTeX to HTML conversion (TeX4ht, Lwarp, LaTeXML), also Pandoc can convert subset of LaTeX to HTML.
Re:What's new in TeX on Thursday October 29, 2015 @08:38AM (#10470509)
Have you tried tex4ht? Maybe it doesn't produce nice output by the default, but it is extremely configurable and it should support all LaTeX out of the box, unlike other solutions such as Pandoc.

I've wrote some basic tutorial about tex4ht configuring [1], lot of information can be found when you search TeX.sx for tex4ht tag [2], for example how to use Mathjax for math rendering[3] or how to include Javascript libraries and some responsive CSS[4]. You can ask tex4ht related questions on TeX.sx or on it's mailing list[5], there is also a issue tracker[6].

[1] https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutoria...

[2] http://tex.stackexchange.com/questions/tagged/tex4ht

[3] http://tex.stackexchange.com/q/265815/2891

[4] http://tex.stackexchange.com/a/239944/2891

[5] http://tug.org/mailman/listinfo/tex4ht

[6] https://puszcza.gnu.org.ua/bugs/?group=tex4ht

Re:Latex to HTML5 Conversion for Scientific Papers on Tuesday September 22, 2015 @02:27PM (#10260569)
You should definitely post some info about your project to tex4ht mailing list, I hope some interesting and more informed discussion might happen there.

you may also take a look at make4ht (https://github.com/michal-h21/make4ht), it is a build tool for tex4ht, included in TeX distributions and it also solve some of the problems as your script (ligatures, spurious span elements, image conversion, unicode, etc.). It can execute custom commands on all output files, so your script could be used with it as well