[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: something is wrong .. storing anyway (9b3c22d)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed May 22 13:10:20 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : testlinkstuff
Link       : https://github.com/latex3/pdfresources/commit/9b3c22d3e8f8596cc46e8175466e555da28fa1c2

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

commit 9b3c22d3e8f8596cc46e8175466e555da28fa1c2
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed May 22 13:10:20 2019 +0200

    something is wrong .. storing anyway


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

9b3c22d3e8f8596cc46e8175466e555da28fa1c2
 hluatex-experimental.def |   32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index ec3a052..1159b50 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -13,6 +13,7 @@
 %%\Hy at VersionCheck{hluatex.def}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \ExplSyntaxOn
+\cs_generate_variant:Nn \driver_pdf_object_write:nn {nx}
 %% messages, should later (with more drivers) go somewhere more generic ...
 \prop_gput:Nnn \g_msg_module_name_prop { hyp }{ hyperref }
 \msg_new:nnn
@@ -360,18 +361,21 @@
           /View  <</ViewState/OFF>>~
          >>
      }
-    \driver_pdf_object_write:nx { l__hyp_ocg_ref_array_obj }
-    {
-        \driver_pdf_object_ref:n { l__hyp_ocg_view_dict_obj }
-        \c_space_tl
-        \driver_pdf_object_ref:n { l__hyp_ocg_print_dict_obj }
-    }
-    \pdf_catalog_gput:nn
-     {OCProperties}
-     {<<
-        /OCGs~\driver_pdf_object_ref:n { l__hyp_ocg_ref_array_obj }
-        ~
-        /D<<
+    \exp_args:Nx\pdf_catalog_OCProperties_OCGs_gput:n { \driver_pdf_object_ref:n { l__hyp_ocg_view_dict_obj }}
+    \exp_args:Nx\pdf_catalog_OCProperties_OCGs_gput:n { \driver_pdf_object_ref:n { l__hyp_ocg_view_print_obj }}
+%    \driver_pdf_object_write:nx { l__hyp_ocg_ref_array_obj }
+%    {
+%        \driver_pdf_object_ref:n { l__hyp_ocg_view_dict_obj }
+%        \c_space_tl
+%        \driver_pdf_object_ref:n { l__hyp_ocg_print_dict_obj }
+%    }
+    \exp_args:Nx \pdf_catalog_OCProperties_Configs_gput:n
+    %\pdf_catalog_gput:nn
+    % {OCProperties}
+     {%<<
+      %  /OCGs~\driver_pdf_object_ref:n { l__hyp_ocg_ref_array_obj }
+      %  ~
+      %  /D<<
           /OFF[\driver_pdf_object_ref:n { l__hyp_ocg_print_dict_obj }]
           /AS[
             <<
@@ -390,8 +394,8 @@
               /Category[/Print]
             >>
           ]
-        >>
-      >>
+      %  >>
+     % >>
      }
      \driver_pdf_pageresources_gput:nnn{Properties}{OCView}
      {





More information about the latex3-commits mailing list