texlive[59860] Master/texmf-dist: mw caption support, tex4ht r968

commits+karl at tug.org commits+karl at tug.org
Tue Jul 6 23:27:35 CEST 2021


Revision: 59860
          http://tug.org/svn/texlive?view=revision&revision=59860
Author:   karl
Date:     2021-07-06 23:27:35 +0200 (Tue, 06 Jul 2021)
Log Message:
-----------
mw caption support, tex4ht r968

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=968

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/mwart.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mwbk.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mwrep.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-07-06 20:32:18 UTC (rev 59859)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2021-07-06 21:27:35 UTC (rev 59860)
@@ -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/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2021-07-06 20:32:18 UTC (rev 59859)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2021-07-06 21:27:35 UTC (rev 59860)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 967 2021-07-05 18:46:07Z michal_h21 $
+% $Id: tex4ht-4ht.tex 968 2021-07-06 19:00:54Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2021 TeX Users Group    
@@ -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{%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mwart.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mwart.4ht	2021-07-06 20:32:18 UTC (rev 59859)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mwart.4ht	2021-07-06 21:27:35 UTC (rev 59860)
@@ -1,4 +1,4 @@
-% mwart.4ht (2021-06-20-09:36), generated from tex4ht-4ht.tex
+% mwart.4ht (2021-07-06-14:22), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-06-20-09:36}
+\immediate\write-1{version 2021-07-06-14:22}
 
   \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
    \c:def\cptC:{#3}\c:def\cptD:{#4}}
@@ -242,6 +242,7 @@
 \Configure{UndefinedSec}{likechapter}
 \Configure{UndefinedSec}{likesection}
 \Configure{UndefinedSec}{likesubsection}
+\let\mw at caption@hyperref\@caption
 
   \def\:tableofcontents{\futurelet\:temp\:TOC}
 \def\Auto:ent#1{%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mwbk.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mwbk.4ht	2021-07-06 20:32:18 UTC (rev 59859)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mwbk.4ht	2021-07-06 21:27:35 UTC (rev 59860)
@@ -1,4 +1,4 @@
-% mwbk.4ht (2021-06-27-08:11), generated from tex4ht-4ht.tex
+% mwbk.4ht (2021-07-06-14:22), generated from tex4ht-4ht.tex
 % Copyright (C) 2003-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-06-27-08:11}
+\immediate\write-1{version 2021-07-06-14:22}
 
   \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
    \c:def\cptC:{#3}\c:def\cptD:{#4}}
@@ -242,6 +242,7 @@
 \Configure{UndefinedSec}{likechapter}
 \Configure{UndefinedSec}{likesection}
 \Configure{UndefinedSec}{likesubsection}
+\let\mw at caption@hyperref\@caption
 
   \let\no:chapter\chapter
 \Def:Section\chapter{\thechapter}{#1}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mwrep.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mwrep.4ht	2021-07-06 20:32:18 UTC (rev 59859)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mwrep.4ht	2021-07-06 21:27:35 UTC (rev 59860)
@@ -1,4 +1,4 @@
-% mwrep.4ht (2021-06-20-09:36), generated from tex4ht-4ht.tex
+% mwrep.4ht (2021-07-06-14:22), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2021 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-06-20-09:36}
+\immediate\write-1{version 2021-07-06-14:22}
 
   \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}%
    \c:def\cptC:{#3}\c:def\cptD:{#4}}
@@ -242,6 +242,7 @@
 \Configure{UndefinedSec}{likechapter}
 \Configure{UndefinedSec}{likesection}
 \Configure{UndefinedSec}{likesubsection}
+\let\mw at caption@hyperref\@caption
 
   \let\no:chapter\chapter
 \Def:Section\chapter{\thechapter}{#1}



More information about the tex-live-commits mailing list.