[latex3-commits] [git/LaTeX3-latex3-pdfresources] correctannot: add x-variant for generic annot box (2c1b864)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Mar 3 15:20:08 CET 2021


Repository : https://github.com/latex3/pdfresources
On branch  : correctannot
Link       : https://github.com/latex3/pdfresources/commit/2c1b86475e19bfee58b149e7b3b634d628bec9b1

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

commit 2c1b86475e19bfee58b149e7b3b634d628bec9b1
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Mar 3 15:20:08 2021 +0100

    add x-variant for generic annot box


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

2c1b86475e19bfee58b149e7b3b634d628bec9b1
 l3pdfannot.dtx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/l3pdfannot.dtx b/l3pdfannot.dtx
index 770e02f..f9b1ee7 100644
--- a/l3pdfannot.dtx
+++ b/l3pdfannot.dtx
@@ -70,7 +70,7 @@
 % \subsection{General annotation commands}
 %
 % \begin{function}[added = 2019-09-05, updated = 2020-04-14]
-%   { \pdfannot_box:nnnn }
+%   { \pdfannot_box:nnnn,\pdfannot_box:nnnx }
 %   \begin{syntax}
 %     \cs{pdfannot_box:nnnn} \Arg{width} \Arg{height} \Arg{depth} \Arg{annot spec}
 %   \end{syntax}
@@ -348,20 +348,21 @@
 %  type or not type? Syntax for type?
 %  should there be a version without type?
 % \end{NOTE}
-
+% \begin{macro}{\pdfannot_box:nnnn,\pdfannot_box:nnnx,\pdfannot_box_ref_last:}
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdfannot_box:nnnn #1 #2 #3 #4
   {
     \__pdf_backend_annotation:nnnn {#1}{#2}{#3}{#4}
     \bool_gset_false:N\g_@@_use_lastlink_bool
   }
-
+\cs_generate_variant:Nn \pdfannot_box:nnnn {nnnx}
 \cs_new:Npn \pdfannot_box_ref_last:
   {
     \__pdf_backend_annotation_last:
   }
 
 %    \end{macrocode}
+% \end{macro}
 % \subsection{Annotations, subtype Widget}\label{pdf:annot:widget}
 % Currently no code is provided here.
 % The local dictionary \texttt{l_@@/Widget} is a skeleton





More information about the latex3-commits mailing list.