[tex4ht-commits] [SCM] tex4ht updated: r104 - trunk/lit

cvr at gnu.org.ua cvr at gnu.org.ua
Thu Mar 21 13:55:07 CET 2013


Author: cvr
Date: 2013-03-21 14:55:07 +0200 (Thu, 21 Mar 2013)
New Revision: 104

Modified:
   trunk/lit/tex4ht-docbook.tex
Log:
Mar 18, 2013 at 9:28 PM, Matteo Gamboz <gamboz at medialab.sissa.it>
wrote that starred equation caused an forgotten endgroup error, 
hence configuration for {equation*} added which was missing.



Modified: trunk/lit/tex4ht-docbook.tex
===================================================================
--- trunk/lit/tex4ht-docbook.tex	2013-03-03 15:18:37 UTC (rev 103)
+++ trunk/lit/tex4ht-docbook.tex	2013-03-21 12:55:07 UTC (rev 104)
@@ -2,7 +2,7 @@
 % compile 3 times:     latex tex4ht-docbook   
 %                or  xhlatex tex4ht-docbook "html,3,sections+"
 %
-% Copyright (C) 2009-2010 TeX Users Group
+% Copyright (C) 2009-2013 TeX Users Group
 % Copyright (C) 2000-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -3008,12 +3008,28 @@
   {\ifvmode \IgnorePar\fi\EndP \HCode{<note role="equation"><para>}}
   {\ifvmode \IgnorePar\fi\EndP \HCode{</para></note></blockquote>}\par
    \ShowPar}
->>>
 
+% Mar 18, 2013 at 9:28 PM, Matteo Gamboz <gamboz at medialab.sissa.it>
+% wrote that starred equation caused an forgotten endgroup error, hence
+% the following fix. CVR Mar 22, 2013.
 
+\Configure{equation*}
+  {\ifvmode \IgnorePar\fi   \EndP
+   \HCode{<blockquote role="equation">}%
+   \Configure{gather}
+     {\HCode{<mtable\Hnewline
+         class="equation"><mtr><mtd>}\IgnorePar }
+     {\HCode{</mtd></mtr></mtable>}}
+     {}
+     {}
+     {}
+     {}
+  }
+  {\ifvmode \IgnorePar\fi\EndP \HCode{</blockquote>}\par
+   \ShowPar}
+>>>
 
 
-
 \<configure docbook-mml amsmath\><<<
 \ConfigureEnv{align*} 
    {\ifmmode\else \ifvmode\else \IgnorePar\fi \EndP\fi}



More information about the tex4ht-commits mailing list