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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Jul 6 21:00:55 CEST 2021


Author: michal_h21
Date: 2021-07-06 19:00:54 +0000 (Tue, 06 Jul 2021)
New Revision: 968

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed mw classes support for caption

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2021-07-05 18:46:07 UTC (rev 967)
+++ trunk/lit/ChangeLog	2021-07-06 19:00:54 UTC (rev 968)
@@ -1,3 +1,9 @@
+2021-07-06  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (mwart.4ht, mwbk.4ht, mwrep.4ht): fixed caption support for
+	MW classes.
+	https://github.com/jsbien/repertuarXVI/issues/1
+
 2021-07-05  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (biblatex.4ht): updated redefinitions of \MakeUppercase and

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2021-07-05 18:46:07 UTC (rev 967)
+++ trunk/lit/tex4ht-4ht.tex	2021-07-06 19:00:54 UTC (rev 968)
@@ -16042,6 +16042,14 @@
 \Configure{UndefinedSec}{likesubsection}
 >>>
 
+
+MW classes redefine caption when hyperref is active. This doesn't really provide 
+useful value for the HTML export, it even provides unfortunate side effect that
+it introduces an error in the .xref file for each caption used in the document.
+\<mwcls divs\><<<
+\let\mw at caption@hyperref\@caption
+>>>
+
 \<mwart tocs\><<<
 \let\mw at markandtoc=\empty
 \def\tableofcontents{%



More information about the tex4ht-commits mailing list.