[tex4ht] [bug #319] tex4ht changes plain text -- when in lualatex mode to HEX 15

Nasser M. Abbasi nma at 12000.org
Fri Jul 1 04:52:26 CEST 2016

On 6/30/2016 6:11 PM, Karl Berry wrote:
> Update of bug #319 (project tex4ht):
>              Open/Closed:                    Open => Closed

Please hold off committing this fix to source control. I just
found a major issue and I am not sure what is going on now,
but until then, I think more testing is needed.

This is what happens. When I changed latex.4ht, and changed the
2 lines as per instructions here



tex4ht>diff latex.4ht.ORIG latex.4ht.FIXED
>   \gdef\:scriptenv:breakhyphen{\hbox{}}
<          /def-(/string-/relax)%
>          /def-(/string-/:scriptenv:breakhyphen/relax)

even though now the -- do show up in the HTML, there is
a serious side effect that shows up.

Now all my math no longer display on the web pages!

To be sure this fix is the cause, I rolled back to the
original latex.4ht and rebuild a large document, and now
the math shows up. When I switch to the fixed latex.4ht
and rebuild, the math no longer is displayed.

I use SVG for math and use the command

make4ht --lua -u -c my.cfg -e main.mk4 foo.tex "htm,pic-align,notoc*" -d my_output_folder

I have not made any other changes. I also have up-to-date TL 2016

I think I need Michal's help on this to find out what is going on
and what I can do to help find this new problem.

I just found this now when I build a large document and noticed this
problem. The SVG images for math all do not show anything in the
browser. I get empty spaces where the math is supposed to show up.

Here is one example, I just build with the fixed latex.4ht


again, the math shows up, when I roll back this fix in latex.4ht


More information about the tex4ht mailing list