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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Fri Apr 12 10:52:09 CEST 2019


Author: michal_h21
Date: 2019-04-12 11:52:09 +0300 (Fri, 12 Apr 2019)
New Revision: 554

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fix for amsart and amsproc \part

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-04-10 14:50:17 UTC (rev 553)
+++ trunk/lit/ChangeLog	2019-04-12 08:52:09 UTC (rev 554)
@@ -1,3 +1,7 @@
+2019-04-12  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (nameref.4ht): fix for amsart and amsproc \part.
+
 2019-04-10  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html5.tex (html5.4ht): added support for HTML5 figures for AMS classes.

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-04-10 14:50:17 UTC (rev 553)
+++ trunk/lit/tex4ht-4ht.tex	2019-04-12 08:52:09 UTC (rev 554)
@@ -3155,8 +3155,15 @@
    \gdef\NR:Title{\a:newlabel{#1}}%
    \gdef\NR:Type{part}%
    \o:no at part:[{#1}]{#2}}
+
+% this definition clashes with asmart and amsproc classes, so we
+% need to skip if these are active
+\@ifundefined{opt at amsart.cls}{% 
+\@ifundefined{opt at amsproc.cls}{%
 \HLet\no at part\:tempc
+}{}}{} 
 
+
 \def\:tempc#1{%
    \gdef\NR:Title{\a:newlabel{#1}}%
    \gdef\NR:Type{part}%



More information about the tex4ht-commits mailing list