Closed balakrishnan1978 closed 12 months ago
When you keep your math as verbatim LaTeX code, cross references cannot work. There are some workarounds, for example this: https://tex.stackexchange.com/a/597913/2891.
@michal-h21 It's possible to maintain math should be all math in verbatim as well as MathML. So, cross references will work. I'm correct or not and it's possible to fix in TeX4HT? Please advise...
Yes, it is possible, see here: https://tex.stackexchange.com/a/637910/2891
I have using another your answer and it's working good. https://tex.stackexchange.com/questions/597159/can-i-make-cross-references-between-multiple-html-pages-using-make4ht-tex4ht/597913#597913
But I'm unable to maintain all the equations are same LaTeX format when using my .cfg file (already attached above). How to get the equations are maintain in same format.
Maybe try to add something like this to your config file:
\renewcommand\eqref[1]{\texttt{\string\eqref\{\detokenize{#1}\}}}
This will keep the \eqref
command in the HTML output even if you use it outside math.
Hi,
I would like to maintain all the display and inline equations are no need to convert mathml/svg or any other format. Need to maintain as per source Input file. Please find attached the Equation.txt file (rename .txt to .tex) and find attached the eq-config.txt file (rename Eq-config.txt to Eq-config.cfg).
Equations are maintaing as per source Input file. But Equation Cross-Links is not correct. How to get expected output?
My Terminal Command is:
make4ht -ux -a debug -c Eq-config.cfg Equation.tex '' '-p'
Eq-config.txt Equation.txt