[tex4ht] Picture generation with LuaTeX
michal.h21 at gmail.com
Sun Aug 26 22:06:37 CEST 2018
there was a question on TeX.sx  asking for picture generation
support with OpenType fonts. As you may know, it was quite hard to add
support for OpenType fonts, it is basically a hack. Due to way this
support works, it is not possible to generate pictures using \Picture+
or \Picture* commands which contains Unicode characters (basic ASCII
or math should be fine). These characters are replaced just with "x"
I've came with solution which involves loading of `tex4ht` in the PDF
mode and converting images from PDF . It was quite involved
process, but I found that it is indeed possible to work in the PDF
mode. I think that it would be also possible to produce directly HTML
if used together with Lua4ht.
I need to clean it a bit and produce an extension for make4ht from the
code. The more detailed description is in the answer , I hope
someone will find it useful.
More information about the tex4ht