[tex4ht] [bug #259] mathtools and starred version of a DeclarePaireDelimiter macro

Michal Hoftich michal.h21 at gmail.com
Mon Aug 3 15:15:38 CEST 2015

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

I dno't really know what is the issue, but it seems that this code is the

\mathopen{}\mathclose\bgroup ##1 ##2 \aftergroup\egroup ##3
and the parameters are {left(}{expression}{\right)}

The problem is that it is declared as macro at the time of calling
\DeclarePairedDelimiter, which is in the preamble in your case. As
configurations from .4ht files are included after the preamble, we probably
can't configure that. One solution which is possible is to use alternative4ht
package from helpers4ht bundle[1], for which I provided some

Modified file which works for me:


eq1: $c^{2} \paren{a^{2}+b}$ !

eq2: $c^{2} \paren*{a^{2}+b}$ !

I am curious that there aren't any way to provide configurations for commands
in the preamble, at least I don't know about any :(

[1] https://github.com/michal-h21/helpers4ht


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list