[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: adapted ocglinks to new bdc-code (8e49f3d)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed Jul 3 00:24:59 CEST 2019
Repository : https://github.com/latex3/pdfresources
On branch : backendtest
Link : https://github.com/latex3/pdfresources/commit/8e49f3d3bb4931d83b80344f263b7d2c7975bffd
>---------------------------------------------------------------
commit 8e49f3d3bb4931d83b80344f263b7d2c7975bffd
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Jul 3 00:24:59 2019 +0200
adapted ocglinks to new bdc-code
>---------------------------------------------------------------
8e49f3d3bb4931d83b80344f263b7d2c7975bffd
hluatex-experimental.def | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index c349d43..0a2c17f 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -339,14 +339,14 @@
\pdf_object_ref:n { l__hyp_ocg_config_dict_obj }
}
- \pdf_pageresources_gput:nnn{Properties}{OCView}
- {
- \pdf_object_ref:n { l__hyp_ocg_view_dict_obj}
- }
- \pdf_pageresources_gput:nnn{Properties}{OCPrint}
- {
- \pdf_object_ref:n { l__hyp_ocg_print_dict_obj}
- }
+ % \pdf_pageresources_gput:nnn{Properties}{OCView}
+% {
+% \pdf_object_ref:n { l__hyp_ocg_view_dict_obj}
+% }
+% \pdf_pageresources_gput:nnn{Properties}{OCPrint}
+% {
+% \pdf_object_ref:n { l__hyp_ocg_print_dict_obj}
+% }
}
\Hy at AtBeginDocument{
\def\Hy at colorlink#1{
@@ -363,12 +363,12 @@
\color at endgroup\egroup
\mbox{
%this uses a named object, we really need to sort this ...
- \pdf_bdc:nn {OC}{/OCPrint}
+ \pdf_bdc:nn {OC}{l__hyp_ocg_print_dict_obj}
%\pdfliteral~page{/OC/OCPrint~BDC}
\rlap{\copy0}
\pdf_emc:
%\pdfliteral~page{/OC/OCView~BDC}
- \pdf_bdc:nn {OC}{/OCView}
+ \pdf_bdc:nn {OC}{l__hyp_ocg_view_dict_obj}
\group_begin:
\expandafter\HyColor at UseColor\Hy at ocgcolor
\box0~
More information about the latex3-commits
mailing list