[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: replaced pdfresource stuff (8958dd5)
Ulrike Fischer
fischer at troubleshooting-tex.de
Sun May 12 00:18:53 CEST 2019
Repository : https://github.com/latex3/pdfresources
On branch : testlinkstuff
Link : https://github.com/latex3/pdfresources/commit/8958dd59358b8a969f08de5ad81e977592ba11e6
>---------------------------------------------------------------
commit 8958dd59358b8a969f08de5ad81e977592ba11e6
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sun May 12 00:18:53 2019 +0200
replaced pdfresource stuff
>---------------------------------------------------------------
8958dd59358b8a969f08de5ad81e977592ba11e6
hluatex-experimental.def | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index 3b9aca4..276c70e 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -171,7 +171,7 @@
%\protected\edef\pdfpageattr {\pdfvariable pageattr}
-\protected\edef\pdfpageresources {\pdfvariable pageresources}
+%\protected\edef\pdfpageresources {\pdfvariable pageresources}
%\protected\edef\pdfpagesattr {\pdfvariable pagesattr}
@@ -380,17 +380,14 @@
>>
>>
}
- \begingroup
- \edef\x{\endgroup
- \pdfpageresources{
- \the\pdfpageresources
- /Properties<<
- /OCView ~ \driver_pdf_object_ref:n { l__hyp_ocg_view_dict_obj}
- /OCPrint~ \driver_pdf_object_ref:n { l__hyp_ocg_print_dict_obj}
- >>
- }
- }
- \x
+ \driver_pdf_pageresources_gput:nnn{Properties}{OCView}
+ {
+ \driver_pdf_object_ref:n { l__hyp_ocg_view_dict_obj}
+ }
+ \driver_pdf_pageresources_gput:nnn{Properties}{OCPrint}
+ {
+ \driver_pdf_object_ref:n { l__hyp_ocg_print_dict_obj}
+ }
}
\Hy at AtBeginDocument{
\def\Hy at colorlink#1{
More information about the latex3-commits
mailing list