On Mon, Mar 18, 2013 at 9:28 PM, Matteo Gamboz <span dir="ltr"><<a href="mailto:gamboz@medialab.sissa.it" target="_blank">gamboz@medialab.sissa.it</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I'd like to report a possible bug in tex4ht.<br>
<br>
If I compile the file<br>
<br>
\documentclass{article}<br>
\usepackage{amsmath}<br>
\begin{document}<br>
\begin{equation*}<br>
x=1<br>
\end{equation*}<br>
\end{document}<br>
<br>
with<br>
htlatex a.tex "xhtml,docbook-mml" " -cunihtf" "-cdocbk"<br>
<br>
I obtain the following error message:<br>
...<br>
! Extra }, or forgotten \endgroup.<br>
\endequation* ...me b:equation*\endcsname \egroup<br>
<br>
l.6 \end{equation*}<br></blockquote><div><br>Kindly add the following either in your custom *.cfg or just after \begin{document} of your document:<br><br>\Configure{equation*}<br> {\ifvmode \IgnorePar\fi \EndP<br> \HCode{<blockquote role="equation">}%<br>
\Configure{gather}<br> {\HCode{<mtable\Hnewline<br> class="equation"><mtr><mtd>}\IgnorePar }<br> {\HCode{</mtd></mtr></mtable>}}<br> {}<br> {}<br> {}<br>
{}<br> }<br> {\ifvmode \IgnorePar\fi\EndP \HCode{</blockquote>}\par<br> \ShowPar}<br><br></div></div>If this works fine for you, I shall update the docbook-mml.4ht which unfortunately does not have the configuration for starred equation environment.<br clear="all">
<br>Best regards<br>-- <br>Radhakrishnan<br><a href="https://maps.google.com/maps?q=River%20Valley,%20Thiruvananthapuram%20Neyyardam%20Road,%20Kerala,%20India&vector=1" target="_blank">River Valley</a><br><br>