[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: corrections (9d5392c)

Ulrike Fischer fischer at troubleshooting-tex.de
Sat Jun 27 22:15:56 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/9d5392cd55ad96792243cdf88246105cc718d3f8

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

commit 9d5392cd55ad96792243cdf88246105cc718d3f8
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sat Jun 27 22:15:56 2020 +0200

    corrections


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

9d5392cd55ad96792243cdf88246105cc718d3f8
 l3pdfcoredict.dtx |  1 +
 l3pdfdict.dtx     | 12 ++++++------
 pdfresources.dtx  | 14 +++-----------
 3 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/l3pdfcoredict.dtx b/l3pdfcoredict.dtx
index f358f94..2e24af9 100644
--- a/l3pdfcoredict.dtx
+++ b/l3pdfcoredict.dtx
@@ -25,6 +25,7 @@
 %<*driver>
 \RequirePackage{expl3}
 \documentclass[full]{l3doc}
+\usepackage{tabularx}
 \providecommand\potentialclash{\noindent\llap{\dbend\ }}
 \begin{document}
   \DocInput{\jobname.dtx}
diff --git a/l3pdfdict.dtx b/l3pdfdict.dtx
index b1a70ec..bb4f457 100644
--- a/l3pdfdict.dtx
+++ b/l3pdfdict.dtx
@@ -76,7 +76,7 @@
 % recommended to use lowercase for global and uppercase for global dictionaries.
 % \end{function}
 % \begin{function}[added = 2020-06-16]
-%   {\pdfdict_set_eq:nm,\pdfdict_gset_eq:nn}
+%   {\pdfdict_set_eq:nn,\pdfdict_gset_eq:nn}
 %   \begin{syntax}
 %     \cs{pdfdict_set_eq:nn}  \Arg{local dictionary name_1} \Arg{local dictionary name_2}\\
 %     \cs{pdfdict_gset_eq:nn} \Arg{global dictionary name_1}\Arg{global dictionary name_2}
@@ -204,7 +204,7 @@
 % The module predeclares a number of local dictionaries and fills them with
 % some standard values. Some are not more than templates. But others are used
 % in core commands and can be used to change their settings.
-% For example an link created with \cs{\pdfannot_link:nnn}
+% For example an link created with \cs{pdfannot_link:nnn}
 % will use the \texttt{annot/Link/URI} dictionary. By adding or changing entries
 % in this dictionary user or packages can for example adapt the border color or
 % add keys needed for ocg layers.
@@ -347,8 +347,8 @@
 % \end{macro}
 % \begin{macro}
 %   {
-%     \@@_set_eq:nm,\pdfdict_set_eq:nn,
-%     \@@_gset_eq:nm,\pdfdict_gset_eq:nn
+%     \@@_set_eq:nn,\pdfdict_set_eq:nn,
+%     \@@_gset_eq:nn,\pdfdict_gset_eq:nn
 %   }
 %    \begin{macrocode}
 %<*package>
@@ -584,8 +584,8 @@
 %
 % \begin{macro}
 %   {
-%     \@@_remove:nnN, \pdfdict_remove:nnN,
-%     \@@_gremove:nnN,\pdfdict_gremove:nnN
+%     \@@_remove:nn, \pdfdict_remove:nn,
+%     \@@_gremove:nn,\pdfdict_gremove:nn
 %   }
 % This removes a name/value pair from a dictionary.
 % The name has to be passed through the escaping.
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 449c93a..6057484 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -37,7 +37,7 @@
 %<@@=pdf>
 %<*package>
 \RequirePackage{xparse,l3pdf}
-\RequirePackage{lthooks,zref-lastpage,bitset}
+\RequirePackage{lthooks,zref-base,bitset}
 \ProvidesExplPackage {pdfresources} {2020-06-15} {0.6}
   {experimental pdf-resource management}
 \DeclareOption { debug }
@@ -704,7 +704,7 @@
 %    These command give back the sizes of the XObject. The values are stored in
 %    tl-variables with the unit pt and not in dimensions!
 %   \end{function}
-%   \begin{function}[EXP,pTF,added = 220-04-29]
+%   \begin{function}[EXP,pTF,added = 2020-04-29]
 %     {
 %       \pdf_xform_if_exist:n
 %     }
@@ -1130,7 +1130,7 @@
 %    \end{macrocode}
 % \subsection{Annotations, Flags}
 % Every flag should have an associated property that allows to set/clear flag positions by
-% name. The name is \c_pdfannot_flag_#1_prop
+% name. The name is \cs{_pdfannot_flag_\#1_prop}
 % \begin{NOTE}{UF}
 % not sure about this yes, reconsider (naming, implementation ...)
 % \end{NOTE}
@@ -1698,14 +1698,6 @@
 \tl_new:N \l_@@_name_tmp_tl
 \tl_new:N \l_@@_value_tmp_tl
 
-%\cs_generate_variant:Nn \pdf_pageresources_gput:nnn {noo}
-%
-%\cs_new_protected:Npn \pdf_pageresources_split_gput:nn  #1 #2  %#1  resources
-%  {
-%    \@@_split_dict_entry_aux:NNw \l_@@_name_tmp_tl \l_@@_value_tmp_tl #2 \q_stop
-%    \pdf_pageresources_gput:noo {#1}{\l_@@_name_tmp_tl}{\l_@@_value_tmp_tl}
-%  }
-
 \cs_new:Npn \@@_patch_pgfextgs:w  #1/#2<<#3>>#4\q_stop
   {
     \exp_args:Nne \@@_backend_PageResources_gput:nnn {ExtGState}{\tl_trim_spaces:n{#2}}{<<#3>>}





More information about the latex3-commits mailing list.