[latex3-commits] [git/LaTeX3-latex3-hyperref] cleanup-patches: clarify manual target is seen by label (016f576)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon May 2 19:49:33 CEST 2022


Repository : https://github.com/latex3/hyperref
On branch  : cleanup-patches
Link       : https://github.com/latex3/hyperref/commit/016f576afaa297d1b2c86a79fd0ae48a9fb0b2db

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

commit 016f576afaa297d1b2c86a79fd0ae48a9fb0b2db
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon May 2 19:49:33 2022 +0200

    clarify manual target is seen by label


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

016f576afaa297d1b2c86a79fd0ae48a9fb0b2db
 hyperref-linktarget.dtx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/hyperref-linktarget.dtx b/hyperref-linktarget.dtx
index 4d2a322..1a59d8c 100644
--- a/hyperref-linktarget.dtx
+++ b/hyperref-linktarget.dtx
@@ -215,8 +215,10 @@
 % If the starred variant is used a manual target name is created.
 %
 % \texttt{\cs{MakeLinkTarget}*\{destname\}} is roughly equivalent to
-% \texttt{\cs{hypertarget}\{destname\}\{\}} (unlike the
-% latter it also raises the destination in a PDF, and there is no text argument).
+% \texttt{\cs{hypertarget}\{destname\}\{\}} but unlike the
+% latter it also raises the destination in a PDF, there is no text argument,
+% and---most importantly--it updates \cs{@currentHref}, that means the target
+% name is stored by the next \cs{label}, something that \cs{hypertarget} doesn't do).
 % The target name is expanded, see the remarks about prefixes above regarding
 % the allowed chars.
 %





More information about the latex3-commits mailing list.