[tex4ht] [bug #426] htlatex mathjax option breaks references

Michal Hoftich michal.h21 at gmail.com
Thu Jun 6 15:14:55 CEST 2019


Follow-up Comment #1, bug #426 (project tex4ht):

This is something that is not easily solvable. The labels inside math are not
processed by LaTeX at all, so the labels are not saved. MathJax itself
supports some form of referencing, when \eqref command is found in the HTML
code. So one possible solution is to provide a custom command, that is written
as \eqref in the HTML. See this answer of mine:

https://tex.stackexchange.com/a/378359/2891

It also discuss another option, which is pre-processing of the TeX file, but
it is a bit more complicated. It is necessary to use a custom command to
reference to math, because if normal \ref was used, you would lose the
referencing support for tables, sections, etc.



    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list