Closed yalguzaq closed 12 months ago
You need to declare the command for MathJax, for example using this config file:
\Preamble{xhtml}
\Configure{@BODY}{\HCode{\detokenize{$$\DeclarePairedDelimiter{\paren}{(}{)}$$}}}
\begin{document}
\EndPreamble
LaTeX
See for instance https://thecodergeek.com/post/420
make4ht
Desired output
Erroneous output
Comment
If this is unsolvable, then the text file can be alternatively modified to replace
\delimiter
or\delimiter*
with the opening parenthesis and the closing bracket with the closing parenthesis.