[latex3-commits] [git/LaTeX3-latex3-pdfresources] testlinkstuff: viewerpreferences, errors (a58eea3)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu May 23 18:20:54 CEST 2019


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

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

commit a58eea3cf03bd46c4a1ca75fe214e24be36f8fda
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu May 23 18:20:54 2019 +0200

    viewerpreferences, errors


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

a58eea3cf03bd46c4a1ca75fe214e24be36f8fda
 hluatex-experimental.def |    4 ++--
 pdfresources.dtx         |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index 7f290c9..63cc976 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -464,7 +464,7 @@
 }
 
 \ExplSyntaxOff
-
+\newcommand\Hy at pstringDest{}
 \Hy at WrapperDef\new at pdflink#1{%
   \ifhmode
     \@savsf\spacefactor
@@ -703,10 +703,10 @@
   {
    \pdf_pagesattr_gput:nn { CropBox } { [\@pdfpagescrop] }
   }
-  \Hy at pstringdef\Hy at pstringB{\@baseurl}%
   \pdf_catalog_gput:nn { PageMode }{ /\@pdfpagemode }
   \tl_if_empty:NF \@baseurl
    {
+    \Hy at pstringdef\Hy at pstringB{\@baseurl}%
     \pdf_catalog_gput:nn { URI }{ <</Base(\Hy at pstringB)>> }
    }
   \tl_if_empty:oF { \@pdfpagelayout }
diff --git a/pdfresources.dtx b/pdfresources.dtx
index 56016eb..8ed45b6 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -1033,7 +1033,7 @@
 %<*package>
 \cs_new_protected:Npn \pdf_pageresources_gput:nnn #1 #2 #3
  {
-   \tl_if_empty:nTF { #3 }
+  \tl_if_empty:nTF { #3 }
   {
    \msg_none:nnn { pdf }{ empty-value }{ Resources/#2 }
   }
@@ -1049,7 +1049,7 @@
    \msg_none:nnn { pdf }{ empty-value }{ Resources/#3 }
   }
   {
-    \driver_pdf_pageresources_gput:nnn { #1 } { #2 } { #3 } { #4}
+    \driver_pdf_pageresources_gput:nnnn { #1 } { #2 } { #3 } { #4}
   }
  }
 





More information about the latex3-commits mailing list