texlive[75947] Master/texmf-dist: current xr support, tex4ht r1726

commits+karl at tug.org commits+karl at tug.org
Fri Aug 1 23:52:14 CEST 2025


Revision: 75947
          https://tug.org/svn/texlive?view=revision&revision=75947
Author:   karl
Date:     2025-08-01 23:52:14 +0200 (Fri, 01 Aug 2025)
Log Message:
-----------
current xr support, tex4ht r1726

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1726

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/xr-hooks.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-08-01 21:22:22 UTC (rev 75946)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2025-08-01 21:52:14 UTC (rev 75947)
@@ -1,3 +1,9 @@
+2025-08-01  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (xr-hooks.4ht): fixed support for the current
+	version of the Xr package.
+	https://tex.stackexchange.com/a/749092/2891
+
 2025-07-24  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-html4.tex (html4.4ht): fixed support for the asterism

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-08-01 21:22:22 UTC (rev 75946)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2025-08-01 21:52:14 UTC (rev 75947)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1724 2025-07-23 21:23:33Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1726 2025-08-01 21:43:55Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2025 TeX Users Group    
@@ -4015,13 +4015,14 @@
 
 \<wait with xr\><<<
 \:AtEndOfPackage{\let\XR:\XR@ 
-   \def\XR@[#1]#2{%
+  \def\XR@[#1][#2]#3{%
     % save directory for the linked file
-    \filename at parse{#2}%
+    \filename at parse{#3}%
     % \filename at base is filename, \filename at area directory
     \expandafter\xdef\csname xr:dir:\filename at base\endcsname{\filename at area}%
 		\:declare:xref:files{\filename at area\filename at base}{\filename at area}% declare directory for cut files
-    \Configure{AtBeginDocument}{\XR:[#1]{#2}}{}}%
+    \Configure{AtBeginDocument}{\XR:[#1][#2]{#3}}{}%
+  }%
 }
 >>>
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht	2025-08-01 21:22:22 UTC (rev 75946)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/xr-hooks.4ht	2025-08-01 21:52:14 UTC (rev 75947)
@@ -1,4 +1,4 @@
-% xr-hooks.4ht (2025-06-05-13:26), generated from tex4ht-4ht.tex
+% xr-hooks.4ht (2025-08-01-14:51), generated from tex4ht-4ht.tex
 % Copyright 2020-2025 TeX Users Group
 % Copyright 2009-2025 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2025-06-05-13:26}
+\immediate\write-1{version 2025-08-01-14:51}
 
 \ExplSyntaxOn
 % detect )F[number]F- using l3regex
@@ -44,13 +44,14 @@
 \ExplSyntaxOff
 
 \:AtEndOfPackage{\let\XR:\XR@
-   \def\XR@[#1]#2{%
+  \def\XR@[#1][#2]#3{%
     % save directory for the linked file
-    \filename at parse{#2}%
+    \filename at parse{#3}%
     % \filename at base is filename, \filename at area directory
     \expandafter\xdef\csname xr:dir:\filename at base\endcsname{\filename at area}%
     \:declare:xref:files{\filename at area\filename at base}{\filename at area}% declare directory for cut files
-    \Configure{AtBeginDocument}{\XR:[#1]{#2}}{}}%
+    \Configure{AtBeginDocument}{\XR:[#1][#2]{#3}}{}%
+  }%
 }
 
 



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