[latex3-commits] [git/LaTeX3-latex3-pdfresources] renamedict77: revert changes for page resources, xetex doesn't like it (5a3be0f)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Apr 10 20:26:32 CEST 2020
Repository : https://github.com/latex3/pdfresources
On branch : renamedict77
Link : https://github.com/latex3/pdfresources/commit/5a3be0f87961f11ec74fb0ef7cfdd8cc4e4334a7
>---------------------------------------------------------------
commit 5a3be0f87961f11ec74fb0ef7cfdd8cc4e4334a7
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Apr 10 20:26:32 2020 +0200
revert changes for page resources, xetex doesn't like it
>---------------------------------------------------------------
5a3be0f87961f11ec74fb0ef7cfdd8cc4e4334a7
pdfresources.dtx | 11 ++++++-----
testfiles/pageattr.pvt | 2 +-
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 653c937..a317662 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -2066,8 +2066,8 @@
% and to push the values.
% xelatex doesn't need the dict, but it can be used to show the content
\clist_map_inline:Nn \c_@@_backend_PageNResources_clist
- {
- \@@_dict_gnew:n {PageN/Resources/#1}
+ { %xetex doesn't like it if the prop exist. Check!!!!
+ %\@@_dict_gnew:n {PageN/Resources/#1}
}
% pdftex and luatex
\bool_if:nT
@@ -2079,6 +2079,7 @@
{ %create the props and backend objects:
\clist_map_inline:Nn \c_@@_backend_PageNResources_clist
{
+ \@@_dict_gnew:n {PageN/Resources/#1}
\@@_backend_object_new:nn {PageN/Resources/#1} {dict}
\cs_if_exist:NT \tex_directlua:D
{
@@ -2149,7 +2150,7 @@
\cs_new_protected:Npn \@@_backend_PageNResources_gput:nnn #1 #2 #3
{
% this is unused but can be used by the show command
- \@@_dict_put:nnn {PageN/Resources/#1} { #2 }{ #3 }
+ %\prop_gput:cnn { \@@_dict_Xname:n {PageN/Resources/#1} } { #2 }{ #3 }
%objects are not filled with \pdf_object_write as this is not additive!
\@@_backend:x
{
@@ -2165,8 +2166,8 @@
{
\cs_new_protected:Npn \@@_backend_PageNResources:n #1 {}
\cs_new_protected:Npn \@@_backend_PageNResources_gput:nnn #1 #2 #3
- { %only for the show command
- \@@_dict_put:nnn {PageN/Resources/#1} { #2 }{ #3 }
+ { %only for the show command TEST!!
+ %\@@_dict_put:nnn {PageN/Resources/#1} { #2 }{ #3 }
}
\cs_new_protected:Npn \@@_PageNResources_gpush: {}
}
diff --git a/testfiles/pageattr.pvt b/testfiles/pageattr.pvt
index 31c0353..16592bb 100644
--- a/testfiles/pageattr.pvt
+++ b/testfiles/pageattr.pvt
@@ -15,7 +15,7 @@ some text
%test command:
\newcommand\attributecontent{(somesetting)}
-\exp_args:Nno\pdfdict_put:nnn {Page} {SSS}{\attributecontent}
+\pdfdict_put:nnx {Page} {SSS}{\attributecontent}
\newpage
\pdf_pageattr_gremove:n {Rotate}
More information about the latex3-commits
mailing list.