[tex4ht] [bug #464] ! Bad register code (65536). because no new line used in long math?

Ulrike Fischer news3 at nililand.de
Sun May 10 23:09:05 CEST 2020



> it seems like issue in the LaTeX regular expression parser. We use it to fix
> some issues in the code that is passed to MathJax. Your code seems to be too
> long for that. Couldn't you break your huge equation into smaller pieces?

The regex code uses toks registers to store tokens, and access them
directly by number where the number is the position. luatex has only
65535 toks register. So regex will not be able to handle text longer
than 65535 character (if the match is at the end).



-- 
Mit freundlichen Grüßen
Ulrike Fischer




More information about the tex4ht mailing list.