summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx')
-rw-r--r--Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx58
1 files changed, 29 insertions, 29 deletions
diff --git a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
index a6384c182c9..73b309615c4 100644
--- a/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
+++ b/Master/texmf-dist/source/latex/pdfmanagement-testphase/l3pdfannot.dtx
@@ -48,7 +48,7 @@
% }^^A
% }
%
-% \date{Version 0.96a, released 2023-10-09}
+% \date{Version 0.96b, released 2023-11-05}
%
% \maketitle
% \begin{documentation}
@@ -93,7 +93,7 @@
% \subsection{General annotation commands}
%
% \begin{function}[added = 2019-09-05, updated = 2020-04-14]
-% { \pdfannot_box:nnnn,\pdfannot_box:nnnx }
+% { \pdfannot_box:nnnn,\pdfannot_box:nnne }
% \begin{syntax}
% \cs{pdfannot_box:nnnn} \Arg{width} \Arg{height} \Arg{depth} \Arg{annot spec}
% \end{syntax}
@@ -123,7 +123,7 @@
% \pdfdict_new:n {l_my_annot}
% \pdfdict_put:nnn{l_my_annot}{Subtype}{/Link}
% \pdfdict_put:nnn{l_my_annot}{Border}{[0~0~1]}
-% \pdfannot_box:nnnx{1cm}{1cm}{0cm}{\pdfdict_use:n{l_my_annot}}
+% \pdfannot_box:nnne{1cm}{1cm}{0cm}{\pdfdict_use:n{l_my_annot}}
% \end{verbatim}
%
% The second method is clearly slower and more to type. But it has the advantage
@@ -187,7 +187,7 @@
% by the commands \cs{pdfannot_dict_put:nnn} and friends described below.
% \end{variable}
% \begin{function}[added = 2020-03-12, updated = 2020-12-06]
-% { \pdfannot_link:nnn,\pdfannot_link:nxn }
+% { \pdfannot_link:nnn,\pdfannot_link:nen }
% \begin{syntax}
% \cs{pdfannot_link:nnn} \Arg{type} \Arg{user action spec} \Arg{link text}
% \end{syntax}
@@ -237,7 +237,7 @@
% \pdfannot_dict_put:nnn
% {link/URI} { C } {[1~0~0]} %red border
%
-% \pdfannot_link:nxn { URI }
+% \pdfannot_link:nen { URI }
% {
% /A <<\pdfdict_use:n{l_my_action_dict}>>
% }
@@ -260,7 +260,7 @@
% {link/URI} { C } {[1~0~0]} %red border
%
% \group_begin:
-% \pdfannot_dict_put:nnx {link/GoTo}{A}{<<\pdfdict_use:n{l_my_action_dict}>>}
+% \pdfannot_dict_put:nne {link/GoTo}{A}{<<\pdfdict_use:n{l_my_action_dict}>>}
% \pdfannot_link:nnn { URI }{}{ link text }
% \group_end:
% \end{verbatim}
@@ -381,7 +381,7 @@
% This outputs the property list of the dictionary as a list of
% |/key value| pairs.
% This can be used e.g. when writing a dictionary object with
-% \cs{pdf_object_write:nnx}
+% \cs{pdf_object_write:nne}
% \end{function}
%
% \begin{variable}[added = 2020-12-28]{\l_pdfannot_F_bitset}
@@ -390,7 +390,7 @@
% It can be used for example like this:
% \begin{verbatim}
% \bitset_set_true:Nn \l_pdfannot_F_bitset {Print}
-% \pdfannot_dict_put:nnx {link/URI} {F}
+% \pdfannot_dict_put:nne {link/URI} {F}
% { \bitset_to_arabic:N \l_pdfannot_F_bitset }
% \end{verbatim}
% The known keys for the bitset are |Invisible|, |Hidden|,
@@ -432,7 +432,7 @@
% \begin{macrocode}
%<@@=pdfannot>
%<*header>
-\ProvidesExplPackage{l3pdfannot}{2023-10-09}{0.96a}
+\ProvidesExplPackage{l3pdfannot}{2023-11-05}{0.96b}
{PDF-annotations}
\RequirePackage{l3pdfdict}
%</header>
@@ -481,14 +481,14 @@
% 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{macro}{\pdfannot_box:nnnn,\pdfannot_box:nnne,\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_generate_variant:Nn \pdfannot_box:nnnn {nnne,nnnx}
\cs_new:Npn \pdfannot_box_ref_last:
{
\__pdf_backend_annotation_last:
@@ -520,34 +520,34 @@
{
\pdfdict_if_empty:nF { l_@@/widget/AA }
{
- \pdf_object_unnamed_write:nx {dict}{\pdfdict_use:n{l_@@/widget/AA}}
- \pdfdict_put:nnx { l_@@/widget }
+ \pdf_object_unnamed_write:ne {dict}{\pdfdict_use:n{l_@@/widget/AA}}
+ \pdfdict_put:nne { l_@@/widget }
{AA}
{\pdf_object_ref_last:}
}
}
\pdfdict_if_empty:nF { l_@@/widget/AP }
{
- \pdf_object_unnamed_write:nx {dict}{\pdfdict_use:n{l_@@/widget/AP}}
- \pdfdict_put:nnx { l_@@/widget }
+ \pdf_object_unnamed_write:ne {dict}{\pdfdict_use:n{l_@@/widget/AP}}
+ \pdfdict_put:nne { l_@@/widget }
{AP}
{\pdf_object_ref_last:}
}
\pdfdict_if_empty:nF { l_@@/widget/MK }
{
- \pdf_object_unnamed_write:nx {dict}{\pdfdict_use:n{l_@@/widget/MK}}
- \pdfdict_put:nnx { l_@@/widget }
+ \pdf_object_unnamed_write:ne {dict}{\pdfdict_use:n{l_@@/widget/MK}}
+ \pdfdict_put:nne { l_@@/widget }
{MK}
{\pdf_object_ref_last:}
}
\pdfdict_if_empty:nF { l_@@/widget/BS }
{
- \pdf_object_unnamed_write:nx {dict}{\pdfdict_use:n{l_@@/widget/BS}}
- \pdfdict_put:nnx { l_@@/widget }
+ \pdf_object_unnamed_write:ne {dict}{\pdfdict_use:n{l_@@/widget/BS}}
+ \pdfdict_put:nne { l_@@/widget }
{BS}
{\pdf_object_ref_last:}
}
- \pdfannot_box:nnnx {#1}{#2}{#3}
+ \pdfannot_box:nnne {#1}{#2}{#3}
{
\pdfdict_use:n { l_@@/widget}
}
@@ -618,14 +618,14 @@
%
% \subsubsection{Annotations, subtype Link /management}
%
-% \begin{macro}{\pdfannot_link:nnn,\pdfannot_link:nxn}
+% \begin{macro}{\pdfannot_link:nnn,\pdfannot_link:nen}
% \begin{macrocode}
\cs_new_protected:Nn \pdfannot_link:nnn %#1 type (URI, GoTo etc),
%#2 action spec, #3 link text
{
\hook_use:n { pdfannot/link/#1/before}
\mode_leave_vertical:
- \exp_args:Nxx %xetex needs expansion
+ \exp_args:Nee %xetex needs expansion
\__pdf_backend_link_begin_user:nnw
{
\pdfdict_if_exist:nT { l_@@/link/#1 }
@@ -644,19 +644,19 @@
\bool_gset_true:N \g_@@_use_lastlink_bool
\hook_use:n { pdfannot/link/#1/after}
}
-\cs_generate_variant:Nn \pdfannot_link:nnn {nxn}
+\cs_generate_variant:Nn \pdfannot_link:nnn {nen,nxn}
% \end{macrocode}
% \end{macro}
% \begin{macro}{
% \pdfannot_link_begin:nnw,
-% \pdfannot_link_begin:nxw,
+% \pdfannot_link_begin:new,
% \pdfannot_link_end:n }
% \begin{macrocode}
\cs_new_protected:Npn \pdfannot_link_begin:nnw #1 #2 %#1 type, #2 action spec
{
\hook_use:n { pdfannot/link/#1/before}
\mode_leave_vertical:
- \exp_args:Nxx %xetex needs expansion
+ \exp_args:Nee %xetex needs expansion
\__pdf_backend_link_begin_user:nnw
{
\pdfdict_if_exist:nT { l_@@/link/#1 }
@@ -676,7 +676,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}
+\cs_generate_variant:Nn \pdfannot_link_begin:nnw {new,nxw}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\pdfannot_link_goto_begin:nw, \pdfannot_link_goto_end:}
@@ -686,7 +686,7 @@
\pdfdict_remove:nn { l_@@/link/GoTo} {Subtype}
\hook_use:n { pdfannot/link/GoTo/before} %the backend add it too
\mode_leave_vertical:
- \exp_args:Nxx %xetex needs expansion
+ \exp_args:Nee %xetex needs expansion
\__pdf_backend_link_begin_goto:nnw
{
\pdfdict_use:n { l_@@/link/GoTo}
@@ -734,7 +734,7 @@
% \begin{macro}
% {
% \pdfannot_dict_put:nnn,
-% \pdfannot_dict_put:nnx,
+% \pdfannot_dict_put:nne,
% \pdfannot_dict_remove:nn,
% \pdfannot_dict_show:n
% \pdfannot_dict_use:n
@@ -744,7 +744,7 @@
{
\pdfdict_put:nnn { l_@@/#1 } { #2 }{ #3 }
}
-\cs_generate_variant:Nn \pdfannot_dict_put:nnn {nnx}
+\cs_generate_variant:Nn \pdfannot_dict_put:nnn {nne,nnx}
% \end{macrocode}
% \begin{macrocode}
\cs_new_protected:Npn \pdfannot_dict_remove:nn #1 #2