[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: correct expansion of bdc operator (80722eb)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jun 26 19:22:23 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/80722eb94c774792dce9ee1e4e08edb6caf076c7

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

commit 80722eb94c774792dce9ee1e4e08edb6caf076c7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jun 26 19:22:23 2020 +0200

    correct expansion of bdc operator


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

80722eb94c774792dce9ee1e4e08edb6caf076c7
 experiments/bdc-properties.tex | 3 +++
 pdfresources.dtx               | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/experiments/bdc-properties.tex b/experiments/bdc-properties.tex
index 3e57d52..e9917a0 100644
--- a/experiments/bdc-properties.tex
+++ b/experiments/bdc-properties.tex
@@ -30,5 +30,8 @@
 \pdf_bdc:n {Span}xx3
 \pdf_emc:
 
+\pdf_object_now:nn {dict}{/ActualText~(abc)}
+\pdf_bdc:n {Span}xx3
+\pdf_emc:
 \ExplSyntaxOff
 \end{document} 
\ No newline at end of file
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 1a24db6..449c93a 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -526,7 +526,7 @@
         \int_gincr:N\g_@@_backend_resourceid_int
         \bool_if:NTF \l_@@_backend_xform_bool
           {
-            \exp_args:Nnx\pdfdict_gput:nnn %no handler needed
+            \exp_args:Nnxx\pdfdict_gput:nnn %no handler needed
               { Core/Xform/Resources/Properties }
               { l3pdf\int_use:N\g_@@_backend_resourceid_int }
               { \@@_backend_object_ref:n { #2 } }
@@ -546,7 +546,7 @@
               {
                 \pdfdict_gnew:n  { Core/backend_Page\l_@@_tmpa_tl/Resources/Properties }
               }
-            \exp_args:Nnx\pdfdict_gput:nnn
+            \exp_args:Nnxx\pdfdict_gput:nnn
               { Core/backend_Page\l_@@_tmpa_tl/Resources/Properties }
               { l3pdf\int_use:N\g_@@_backend_resourceid_int }
               { \@@_backend_object_ref:n{#2} }
@@ -561,7 +561,7 @@
         \int_gincr:N\g_@@_backend_resourceid_int
         \bool_if:NTF \l_@@_backend_xform_bool
           {
-            \exp_args:Nnx\pdfdict_gput:nnn
+            \exp_args:Nnxx\pdfdict_gput:nnn
               { Core/Xform/Resources/Properties }
               { l3pdf\int_use:N\g_@@_backend_resourceid_int }
               { \@@_backend_object_last: }
@@ -581,7 +581,7 @@
               {
                 \pdfdict_gnew:n { Core/backend_Page\l_@@_tmpa_tl/Resources/Properties }
               }
-            \exp_args:Nnx\pdfdict_gput:nnn
+            \exp_args:Nnxx\pdfdict_gput:nnn
               { Core/backend_Page\l_@@_tmpa_tl/Resources/Properties }
               { l3pdf\int_use:N\g_@@_backend_resourceid_int }
               { \@@_backend_object_last: }





More information about the latex3-commits mailing list.