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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Aug 1 23:43:55 CEST 2025


Author: michal_h21
Date: 2025-08-01 21:43:55 +0000 (Fri, 01 Aug 2025)
New Revision: 1726

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
fixed support for the current version of the xr package

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2025-07-23 22:17:30 UTC (rev 1725)
+++ trunk/lit/ChangeLog	2025-08-01 21:43:55 UTC (rev 1726)
@@ -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/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2025-07-23 22:17:30 UTC (rev 1725)
+++ trunk/lit/tex4ht-4ht.tex	2025-08-01 21:43:55 UTC (rev 1726)
@@ -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}}{}%
+  }%
 }
 >>>
 



More information about the tex4ht-commits mailing list.