[latex3-commits] [latex3/hyperref] develop: add unexpanded, issue #327 (a34464b)

github at latex-project.org github at latex-project.org
Fri Jan 19 18:52:54 CET 2024


Repository : https://github.com/latex3/hyperref
On branch  : develop
Link       : https://github.com/latex3/hyperref/commit/a34464b8d1cf73abc5afc7614c8023fe4b4b528a

>---------------------------------------------------------------

commit a34464b8d1cf73abc5afc7614c8023fe4b4b528a
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jan 19 18:52:54 2024 +0100

    add unexpanded, issue #327


>---------------------------------------------------------------

a34464b8d1cf73abc5afc7614c8023fe4b4b528a
 ChangeLog.txt | 3 +++
 xr-hyper.sty  | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.txt b/ChangeLog.txt
index 34cefc7..7ef847b 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,6 @@
+2024-01-19 Ulrike Fischer
+	* xr-hyper: add unexpanded to \XR@@dURL, issue #327
+
 2023-12-19 Ulrike Fischer
 	* hyperref.dtx: remove letltxmacro package. Is unused.
 
diff --git a/xr-hyper.sty b/xr-hyper.sty
index d1f931a..7938f3b 100644
--- a/xr-hyper.sty
+++ b/xr-hyper.sty
@@ -94,7 +94,7 @@
 % XR at addURL:
 \def\XR at addURL#1{\XR@@dURL#1{}{}{}{}\\}
 \def\XR@@dURL#1#2#3#4#5\\{%
-     {#1}{#2}{#3}{#4}{\XR at URL}% 
+     \unexpanded{{#1}{#2}{#3}{#4}}{\XR at URL}% 
   }%
 
 \def\XR at explist{\expandafter\XR at next\XR at list\\}





More information about the latex3-commits mailing list.