[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: add active test, correct typo (0bf64b9)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jul 23 10:20:00 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/0bf64b9ff5e10dda0808e72d783d78637c8acab0

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

commit 0bf64b9ff5e10dda0808e72d783d78637c8acab0
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jul 23 10:20:00 2021 +0200

    add active test, correct typo


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

0bf64b9ff5e10dda0808e72d783d78637c8acab0
 l3pdfmanagement.dtx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/l3pdfmanagement.dtx b/l3pdfmanagement.dtx
index 19c70a5..97bf515 100644
--- a/l3pdfmanagement.dtx
+++ b/l3pdfmanagement.dtx
@@ -142,9 +142,9 @@
 %   This is a LaTeX2e version of the conditional
 %  \end{function}
 
-% \begin{function}[added = 2020-04-06]
+% \begin{function}[added = 2020-04-06,updated=2021-07-23]
 %   {\pdfmanagement_add:nnn,\pdfmanagement_add:nnx,\pdfmanagement_add:nxx,\pdfmanagement_add:xxx,
-%    \PDFManagmentAdd}
+%    \PDFManagementAdd}
 %   \begin{syntax}
 %     \cs{pdfmanagement_add:nnn} \Arg{resource path} \Arg{name} \Arg{value}
 %   \end{syntax}
@@ -157,7 +157,7 @@
 % 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. |\PDFManagmentAdd| is a copy of |\pdfmanagement_add:xxx|
+% target dictionary. |\PDFManagementAdd| is a copy of |\pdfmanagement_add:xxx|
 % and so expands all its arguments.
 %
 %
@@ -686,6 +686,7 @@
 \prg_set_eq_conditional:NNn
   \pdfmanagement_if_active: \@@_if_active: { p , T , F , TF }
 
+\cs_set_eq:NN \IfPDFManagementActiveTF\pdfmanagement_if_active:TF
 %    \end{macrocode}
 % We use a hook, to collect value added before the backend is ready.
 %    \begin{macrocode}
@@ -714,7 +715,7 @@
   }
 
 \cs_generate_variant:Nn \pdfmanagement_add:nnn {nnx,nxx,xxx}
-\cs_set_eq:NN \PDFManagmentAdd \pdfmanagement_add:xxx
+\cs_set_eq:NN \PDFManagementAdd \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.