[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: start to add 2e command, not finished (e2bf269)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Jul 23 00:31:24 CEST 2021
Repository : https://github.com/latex3/pdfresources
On branch : develop
Link : https://github.com/latex3/pdfresources/commit/e2bf2698bd11baac2580482a502c71ae0cfe050e
>---------------------------------------------------------------
commit e2bf2698bd11baac2580482a502c71ae0cfe050e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Jul 23 00:31:24 2021 +0200
start to add 2e command,not finished
>---------------------------------------------------------------
e2bf2698bd11baac2580482a502c71ae0cfe050e
l3pdfmanagement.dtx | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/l3pdfmanagement.dtx b/l3pdfmanagement.dtx
index 3b5b7cc..19c70a5 100644
--- a/l3pdfmanagement.dtx
+++ b/l3pdfmanagement.dtx
@@ -137,9 +137,14 @@
% {\pdfmanagement_if_active:}
% This conditional tests if the resource management code is active.
% \end{function}
-%
+% \begin{function}[added=2021-07-23]
+% {\IfPDFManagementActiveTF}
+% This is a LaTeX2e version of the conditional
+% \end{function}
+
% \begin{function}[added = 2020-04-06]
-% {\pdfmanagement_add:nnn,\pdfmanagement_add:nnx,\pdfmanagement_add:nxx}
+% {\pdfmanagement_add:nnn,\pdfmanagement_add:nnx,\pdfmanagement_add:nxx,\pdfmanagement_add:xxx,
+% \PDFManagmentAdd}
% \begin{syntax}
% \cs{pdfmanagement_add:nnn} \Arg{resource path} \Arg{name} \Arg{value}
% \end{syntax}
@@ -152,7 +157,8 @@
% keys used in PDF dictionaries (see the l3pdfdict module) the name is escaped
% with \cs{str_convert_pdfname:n} when stored.
% \Arg{value} should be a valid PDF value for this Name in the
-% target dictionary.
+% target dictionary. |\PDFManagmentAdd| is a copy of |\pdfmanagement_add:xxx|
+% and so expands all its arguments.
%
%
% The code works with all major engines but not necessarily
@@ -707,7 +713,8 @@
}
}
-\cs_generate_variant:Nn \pdfmanagement_add:nnn {nnx,nxx}
+\cs_generate_variant:Nn \pdfmanagement_add:nnn {nnx,nxx,xxx}
+\cs_set_eq:NN \PDFManagmentAdd \pdfmanagement_add:xxx
% \end{macrocode}
% \subsection{Hooks -- shipout and end of run code}
% Code is executed in three places: At shipout of every page,
More information about the latex3-commits
mailing list.