[tex4ht] [bug #604] tex4ht in TL 2023 broke something in handling breqn compared to TL 2022
Nasser M. Abbasi
puszcza-hackers at gnu.org.ua
Sat Jul 22 15:41:11 CEST 2023
URL:
<http://puszcza.gnu.org.ua/bugs/?604>
Summary: tex4ht in TL 2023 broke something in handling breqn
compared to TL 2022
Project: tex4ht
Submitted by: nma123
Submitted on: Sat Jul 22 13:41:10 2023
Category: None
Priority: 5 - Normal
Severity: 7 - Important
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Reference and screen shots at
https://tex.stackexchange.com/questions/691737/tex4ht-in-tl-2023-broke-something-in-handling-breqn-compared-to-tl-2022
This MWE compiled under TL 2022 gives correct output, while using same command
and same configuration file, under TL 2023 gives wrong output.
Here is MWE
--------------------------
\documentclass[12pt]{book}
\usepackage{amsmath}
\usepackage{breqn}
\begin{document}
\begin{dgroup*}
\begin{dmath}[number=1]
\sin x = 1
\end{dmath}
\begin{dmath}[number=2]
\sin x = 1
\end{dmath}
\end{dgroup*}
\begin{dgroup*}
\begin{dmath*}
A = B
\end{dmath*}
\begin{dmath*}
C = D
\end{dmath*}
\end{dgroup*}
\end{document}
------------------------
Compiled using
>which make4ht
/usr/local/texlive/2022/bin/x86_64-linux/make4ht
and
make4ht -ulm default -a warning -c nma_mathjax.cfg main.tex 'mathjax,htm'
This is the output under TL 2022 on Linux
enter image description here
This is the output under TL 2023 on Linux
>which make4ht
/usr/local/texlive/2023/bin/x86_64-linux/make4ht
and
>make4ht -ulm default -a warning -c nma_mathjax.cfg main.tex 'mathjax,htm'
enter image description here
Btw, this is old problem which was fixed in TL 2022. Here is the link to
original question about it
https://tex.stackexchange.com/questions/620104/error-using-ifdefined-hcode-with-tex4ht-but-it-works-in-luatex
Here is my .cfg file used in the above command
--------------------
\Preamble{xhtml,p-width}
\Configure{MathjaxSource}{}
\Configure{MathjaxSource}{https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js}
%V3.0
\Configure{MathJaxConfig}{{
tex: {
tags: "ams",
maxBuffer: 40*1024,
packages: {'[+]': ['textmacros']},
\detokenize{%
environments: {
"dgroup*": ["", ""],
"dmath*": ["", ""],
"dgroup": ["", ""],
"dmath": ["", ""]
}},
\unexpanded{%
macros: {
sp: "^",
sb: "_",
noalign: ["\#1", 1],
}},
autoload: {
color: [],
colorV2: ['color']
},
packages: {'[+]': ['noerrors','textmacros']}
},
options: {
ignoreHtmlClass: 'tex2jax_ignore',
processHtmlClass: 'tex2jax_process'
},
loader: {
load: ['[tex]/noerrors','[tex]/textmacros']
}
};
}
%see
https://tex.stackexchange.com/questions/620104/error-using-ifdefined-hcode-with-tex4ht-but-it-works-in-luatex/620138?noredirect=1#comment1548405_620138
%IMPORTANT. Need also .config folder in my HOME folder for this to work.
\VerbMath{dgroup*}
\VerbMath{dmath*}
\VerbMath{dgroup}
\VerbMath{dmath}
%see
https://tex.stackexchange.com/questions/669770/problem-2-after-updating-to-latest-tl-2022-all-math-in-chapter-or-section-titl
\fixmathjaxtoc\left
\fixmathjaxtoc\right
\begin{document}
\EndPreamble
---------------------
What do I need to change to make it work again in TL 2023 same as under TL
2022?
Thanks
--Nasser
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?604>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list.