[latex3-commits] [git/LaTeX3-latex3-latex3] master: \driver_pdf_object_write:nx (36db017)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed May 29 21:52:53 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/36db017209e7ea5f36dc6b3badee0d77fa08b3fd

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

commit 36db017209e7ea5f36dc6b3badee0d77fa08b3fd
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed May 29 20:52:53 2019 +0100

    \driver_pdf_object_write:nx


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

36db017209e7ea5f36dc6b3badee0d77fa08b3fd
 l3kernel/l3drivers-pdf.dtx              |   12 ++++++++----
 l3kernel/l3drivers.dtx                  |    2 +-
 l3kernel/testfiles/m3expl001.luatex.tlg |    1 +
 l3kernel/testfiles/m3expl001.ptex.tlg   |    1 +
 l3kernel/testfiles/m3expl001.tlg        |    1 +
 l3kernel/testfiles/m3expl001.uptex.tlg  |    1 +
 l3kernel/testfiles/m3expl001.xetex.tlg  |    1 +
 l3kernel/testfiles/m3expl003.luatex.tlg |    1 +
 l3kernel/testfiles/m3expl003.ptex.tlg   |    1 +
 l3kernel/testfiles/m3expl003.tlg        |    1 +
 l3kernel/testfiles/m3expl003.uptex.tlg  |    1 +
 l3kernel/testfiles/m3expl003.xetex.tlg  |    1 +
 12 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3drivers-pdf.dtx b/l3kernel/l3drivers-pdf.dtx
index 62a3bea..5fb296f 100644
--- a/l3kernel/l3drivers-pdf.dtx
+++ b/l3kernel/l3drivers-pdf.dtx
@@ -125,7 +125,7 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}{\driver_pdf_object_write:nn}
+% \begin{macro}{\driver_pdf_object_write:nn, \driver_pdf_object_write:nx}
 % \begin{macro}
 %   {
 %     \@@_pdf_object_write_array:nn ,
@@ -156,6 +156,7 @@
       { @@_pdf_object_write_ \prop_item:Nn \g_@@_pdf_object_prop {#1} :nn }
       {#1} {#2}
   }
+\cs_generate_variant:Nn \driver_pdf_object_write:nn { nx }
 \cs_new_protected:Npn \@@_pdf_object_write_array:nn #1#2
   {
     \@@_pdfmark:x
@@ -1399,7 +1400,7 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}{\driver_pdf_object_write:nn}
+% \begin{macro}{\driver_pdf_object_write:nn,\driver_pdf_object_write:nx}
 % \begin{macro}[EXP]{\@@_exp_not_i:nn, \@@_exp_not_ii:nn}
 %   Writing the data needs a little information about the structure of the
 %   object.
@@ -1434,6 +1435,7 @@
     { \@@_tmp:w { \tex_pdfextension:D obj ~ } }
     { \@@_tmp:w { \tex_pdfobj:D } }
 \group_end:
+\cs_generate_variant:Nn \driver_pdf_object_write:nn { nx }
 \cs_new:Npn \@@_exp_not_i:nn #1#2 { \exp_not:n {#1} }
 \cs_new:Npn \@@_exp_not_ii:nn #1#2 { \exp_not:n {#2} }
 %    \end{macrocode}
@@ -1594,7 +1596,7 @@
 % \end{macro}
 % \end{macro}
 %
-% \begin{macro}{\driver_pdf_object_write:nn}
+% \begin{macro}{\driver_pdf_object_write:nn, \driver_pdf_object_write:nx}
 % \begin{macro}{\@@_pdf_object_write:nnn}
 % \begin{macro}
 %   {
@@ -1611,6 +1613,7 @@
     \exp_args:Nx \@@_pdf_object_write:nnn
       { \prop_item:Nn \g_@@_pdf_object_prop {#1} } {#1} {#2}
   }
+\cs_generate_variant:Nn \driver_pdf_object_write:nn { nx }
 \cs_new_protected:Npn \@@_pdf_object_write:nnn #1#2#3
   { \use:c { @@_pdf_object_write_ #1 :nn } {#2} {#3} }
 \cs_new_protected:Npn \@@_pdf_object_write_array:nn #1#2
@@ -1881,12 +1884,13 @@
 %
 % \begin{macro}{\driver_pdf_object_new:nn}
 % \begin{macro}[EXP]{\driver_pdf_object_ref:n}
-% \begin{macro}{\driver_pdf_object_write:nn}
+% \begin{macro}{\driver_pdf_object_write:nn, , \driver_pdf_object_write:nx}
 %   All no-ops here.
 %    \begin{macrocode}
 \cs_new_protected:Npn \driver_pdf_object_new:nn #1#2 { }
 \cs_new:Npn \driver_pdf_object_ref:n #1 { }
 \cs_new_protected:Npn \driver_pdf_object_write:nn #1#2 { }
+\cs_new_protected:Npn \driver_pdf_object_write:nx #1#2 { }
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 9408afa..09c3254 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -667,7 +667,7 @@
 %   in for example page resource allocation.
 % \end{function}
 %
-% \begin{function}{\driver_pdf_object_write:nn}
+% \begin{function}{\driver_pdf_object_write:nn, \driver_pdf_object_write:nx}
 %   \begin{syntax}
 %     \cs{driver_pdf_object_write:nn} \Arg{name} \Arg{data}
 %   \end{syntax}
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 18760f8..d151f3c 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -6521,6 +6521,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_exp_not_i:nn on line ...
 Defining \__driver_exp_not_ii:nn on line ...
 Defining \driver_pdf_compresslevel:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 2745bc1..63751de 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -6506,6 +6506,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_pdf_object_write:nnn on line ...
 Defining \__driver_pdf_object_write_array:nn on line ...
 Defining \__driver_pdf_object_write_dict:nn on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 3c51f7a..dfe632b 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -6818,6 +6818,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_exp_not_i:nn on line ...
 Defining \__driver_exp_not_ii:nn on line ...
 Defining \driver_pdf_compresslevel:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 9c6cacd..db6fe2c 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -6803,6 +6803,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_pdf_object_write:nnn on line ...
 Defining \__driver_pdf_object_write_array:nn on line ...
 Defining \__driver_pdf_object_write_dict:nn on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index eca036e..7630e74 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -6517,6 +6517,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_pdf_object_write:nnn on line ...
 Defining \__driver_pdf_object_write_array:nn on line ...
 Defining \__driver_pdf_object_write_dict:nn on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 18760f8..d151f3c 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -6521,6 +6521,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_exp_not_i:nn on line ...
 Defining \__driver_exp_not_ii:nn on line ...
 Defining \driver_pdf_compresslevel:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 2745bc1..63751de 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -6506,6 +6506,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_pdf_object_write:nnn on line ...
 Defining \__driver_pdf_object_write_array:nn on line ...
 Defining \__driver_pdf_object_write_dict:nn on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 3c51f7a..dfe632b 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -6818,6 +6818,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_exp_not_i:nn on line ...
 Defining \__driver_exp_not_ii:nn on line ...
 Defining \driver_pdf_compresslevel:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 9c6cacd..db6fe2c 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -6803,6 +6803,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_pdf_object_write:nnn on line ...
 Defining \__driver_pdf_object_write_array:nn on line ...
 Defining \__driver_pdf_object_write_dict:nn on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index eca036e..7630e74 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -6517,6 +6517,7 @@ Defining \g__driver_pdf_object_prop on line ...
 Defining \driver_pdf_object_new:nn on line ...
 Defining \driver_pdf_object_ref:n on line ...
 Defining \driver_pdf_object_write:nn on line ...
+Defining \driver_pdf_object_write:nx on line ...
 Defining \__driver_pdf_object_write:nnn on line ...
 Defining \__driver_pdf_object_write_array:nn on line ...
 Defining \__driver_pdf_object_write_dict:nn on line ...





More information about the latex3-commits mailing list