[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: fix argument order in hrefrun (bae4e7e)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Jul 7 22:52:56 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/bae4e7e90f55a48d3ac7f666d290dada21313c3b

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

commit bae4e7e90f55a48d3ac7f666d290dada21313c3b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Jul 7 22:52:56 2021 +0200

    fix argument order in hrefrun


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

bae4e7e90f55a48d3ac7f666d290dada21313c3b
 CHANGELOG.md         | 4 ++++
 hyperref-generic.dtx | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 40fcc01..8546251 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@ first release 0.95a, 2021-02-23 will be documented in this file.
 
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 this project uses date-based 'snapshot' version identifiers.
+## [Unreleased]
+### Fixed
+ - argument order in \hrefrun was wrong. filename should be the first argument.
+
 ## [2021-06-29]
 
 ### Fixed
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index 906dd58..d9ad5fb 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -1319,7 +1319,7 @@
 
 \cs_new_protected:Npn \@@_href_run_aux:nn #1 #2
   {
-    \exp_args:Nnno\hyper at linklaunch{#2}{#1}{\l_@@_href_run_parameter_tl}
+    \exp_args:Nnno\hyper at linklaunch{#1}{#2}{\l_@@_href_run_parameter_tl}
     \group_end:
     \hook_use:n{cmd/hrefrun/after}
   }





More information about the latex3-commits mailing list.