[tex4ht] [bug #585] Math problems when using tikzpicture and forest with tex4ht

Michal Hoftich puszcza-hackers at gnu.org.ua
Tue Nov 29 11:06:40 CET 2022


Update of bug #585 (project tex4ht):

             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I've posted my solution to TeX.sx. We now save the original definition of math
environments, which you can then restore using the \RestoreMathJaxEnvironment
command at the beginning of environments that should be converted to pictures.


TikZ should be handled automatically, because I've added a declaration that
executes this command before any TikZ environment. But for others, like
Pstricks, you may need to add it manually. The possible solution is to use the
LaTeX hook system, like:

\AddToHook{env/foopicture/begin}{\RestoreMathJaxEnvironments} 

    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?585>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/



More information about the tex4ht mailing list.