texlive[63971] Master/texmf-dist: do not refine \ref in babel, tex4ht

commits+karl at tug.org commits+karl at tug.org
Sun Jul 24 22:54:23 CEST 2022


Revision: 63971
          http://tug.org/svn/texlive?view=revision&revision=63971
Author:   karl
Date:     2022-07-24 22:54:23 +0200 (Sun, 24 Jul 2022)
Log Message:
-----------
do not refine \ref in babel, tex4ht r1178

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

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-07-24 20:11:17 UTC (rev 63970)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-07-24 20:54:23 UTC (rev 63971)
@@ -1,3 +1,8 @@
+2022-07-24  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (babel.4ht): don't redefine \ref in Babel.
+	https://tex.stackexchange.com/a/651875/2891
+
 2022-07-16  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (latex.4ht): make \ref and \Ref commands robust.

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-07-24 20:11:17 UTC (rev 63970)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-07-24 20:54:23 UTC (rev 63971)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1177 2022-07-16 09:21:43Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1178 2022-07-24 17:04:30Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -23654,7 +23654,11 @@
   \edef\:temp{\noexpand\@b:bitem{#1}}\@safe at activesfalse\:temp}
 >>>
 
-\<bbl at redefinerobust\><<<
+
+I don't know what this code was meant to do in the past, but it fails 
+with the current LaTeX. It is better to not use it.
+See \Link[https://tex.stackexchange.com/q/651631/2891]{}{} this issue\EndLink.
+\<not use bbl at redefinerobust\><<<
 \def\:tempc#1{%
   \edef\bbl at tempa{\expandafter\@gobble\string#1}%
   \expandafter\ifx\csname \bbl at tempa\space\endcsname\relax

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-07-24 20:11:17 UTC (rev 63970)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-07-24 20:54:23 UTC (rev 63971)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1168 2022-07-04 14:00:59Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1175 2022-07-10 14:22:09Z karl $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -526,7 +526,7 @@
 
 \<html-mml\><<<
 % html-mml.4ht (|version), generated from |jobname.tex
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
 % Copyright |CopyYear.1999. Eitan M. Gurari
 |<TeX4ht copywrite|>
 >>>

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht	2022-07-24 20:11:17 UTC (rev 63970)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/babel.4ht	2022-07-24 20:54:23 UTC (rev 63971)
@@ -1,6 +1,6 @@
-% babel.4ht (2021-05-16-09:21), generated from tex4ht-4ht.tex
+% babel.4ht (2022-07-24-13:45), generated from tex4ht-4ht.tex
 % Copyright 1999-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2021-05-16-09:21}
+\immediate\write-1{version 2022-07-24-13:45}
 
 
 \def\:tempc#1{%
@@ -29,19 +29,6 @@
   \@safe at activestrue\org@@c:tex[#1]{#2}\@safe at activesfalse}
 \let\@citex\@c:tex
 
-\def\:tempc#1{%
-  \edef\bbl at tempa{\expandafter\@gobble\string#1}%
-  \expandafter\ifx\csname \bbl at tempa\space\endcsname\relax
-    \expandafter\let\csname org@\bbl at tempa\endcsname#1
-    \expandafter\edef\csname\bbl at tempa\endcsname{\noexpand\protect
-      \expandafter\noexpand\csname\bbl at tempa\space\endcsname}%
-  \else
-    \expandafter\let\csname org@\bbl at tempa\expandafter\endcsname
-                    \csname\bbl at tempa\space\endcsname
-  \fi
-  \expandafter\def\csname\bbl at tempa\space\endcsname}
-\:tempc\:ref#1{\@safe at activestrue\org@:ref{#1}\@safe at activesfalse}
-\let\ref\:ref
 
 \def\@newl at bel#1#2{{\:SUBOff\:SUPOff \@safe at activestrue
    \xdef\:temp{\noexpand\n:wlbl{#1}{#2}}}\:temp }

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht	2022-07-24 20:11:17 UTC (rev 63970)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht	2022-07-24 20:54:23 UTC (rev 63971)
@@ -1,5 +1,5 @@
-% html-mml.4ht (2022-07-05-14:37), generated from tex4ht-mathml.tex
-% Copyright 2009-2021 TeX Users Group
+% html-mml.4ht (2022-07-16-13:23), generated from tex4ht-mathml.tex
+% Copyright 2009-2022 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 %
 % This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-07-05-14:37}
+\immediate\write-1{version 2022-07-16-13:23}
 
 \exit:ifnot{amsmath,% 
 array,% 



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