[latex3-commits] [git/LaTeX3-latex3-pdfresources] reworking-annot: some variants (49d401f)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jan 26 23:46:25 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : reworking-annot
Link       : https://github.com/latex3/pdfresources/commit/49d401f0c3dc43952ed6cf239d094cf3ca858d5b

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

commit 49d401f0c3dc43952ed6cf239d094cf3ca858d5b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jan 26 23:46:25 2021 +0100

    some variants


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

49d401f0c3dc43952ed6cf239d094cf3ca858d5b
 l3pdfannot.dtx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/l3pdfannot.dtx b/l3pdfannot.dtx
index b4edfea..49658c7 100644
--- a/l3pdfannot.dtx
+++ b/l3pdfannot.dtx
@@ -426,7 +426,7 @@
 % \end{variable}
 % \subsubsection{Annotations, subtype Link /management}
 %
-% \begin{macro}{\pdfannot_link:nnn}
+% \begin{macro}{\pdfannot_link:nnn,\pdfannot_link:nxn}
 %    \begin{macrocode}
 \cs_new_protected:Nn \pdfannot_link:nnn %#1 type (URI, GoTo etc),
                                         %#2 action spec, #3 link text
@@ -453,9 +453,13 @@
     \bool_gset_true:N \g_@@_use_lastlink_bool
     \hook_use:n { pdfannot/link/#1/after}
   }
+\cs_generate_variant:Nn \pdfannot_link:nnn {nxn}
 %    \end{macrocode}
 % \end{macro}
-% \begin{macro}{\pdfannot_link_begin:nnw, \pdfannot_link_end:n }
+% \begin{macro}{
+%   \pdfannot_link_begin:nnw,
+%   \pdfannot_link_begin:nxw,
+%   \pdfannot_link_end:n }
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdfannot_link_begin:nnw #1 #2 %#1 type, #2 action spec
   {
@@ -481,6 +485,7 @@
     \bool_gset_true:N \g_@@_use_lastlink_bool
     \hook_use:n { pdfannot/link/#1/after}
   }
+\cs_generate_variant:Nn \pdfannot_link_begin:nnw {nxw}
 %    \end{macrocode}
 % \end{macro}
 % \begin{macro}{\pdfannot_link_goto_begin:nw, \pdfannot_link_goto_end:}





More information about the latex3-commits mailing list.