[tex4ht] Lua parser for HTF files
michal.h21 at gmail.com
Sun Sep 2 22:13:18 CEST 2018
Nasser pointed out one issue with conversion of Unicode characters
inside \Picture* \EndPicture command . The problem is that the
Unicode values are stored in \special commands followed with bogus "x"
characters. I've provided detailed explanation in my answer , so I
will not repeat it here. The point is that I've created a Lua module
for HTF file parsing (it is included in the answer). It can be used in
the way I explained on TeX.sx, but it can be also used in the other
way - for conversion of 8-bit font glyphs to Unicode.
This was a limitation I've found in my experiments with producing HTML
directly from LuaTeX using Lua callbacks, it was possible to get
correct characters only for OpenType fonts. This was a huge drawback
especially for math.
We should add the functionality provided in the answer to tex4ht by
default, but some testing before would be nice.
More information about the tex4ht