[latex3-commits] [git/LaTeX3-latex3-pdfresources] backendtest: small corrections (expansion behaviour for xetex and dvips) (2cb96fc)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Aug 30 17:05:17 CEST 2019


Repository : https://github.com/latex3/pdfresources
On branch  : backendtest
Link       : https://github.com/latex3/pdfresources/commit/2cb96fcd2377b7d73b9b6e33de65665bf0a36b66

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

commit 2cb96fcd2377b7d73b9b6e33de65665bf0a36b66
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Aug 30 17:05:17 2019 +0200

    small corrections (expansion behaviour for xetex and dvips)


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

2cb96fcd2377b7d73b9b6e33de65665bf0a36b66
 hluatex-experimental.def | 1 +
 pdfresources.dtx         | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/hluatex-experimental.def b/hluatex-experimental.def
index a76e75f..a85cf9b 100644
--- a/hluatex-experimental.def
+++ b/hluatex-experimental.def
@@ -656,6 +656,7 @@
     \tl_if_empty_p:N \@pdfstartview
    }
    {
+     \exp_args:Noo
      \pdf_docview:nn {\@pdfstartpage} {\@pdfstartview}
    }
     \ifHy at pdftoolbar\else
diff --git a/pdfresources.dtx b/pdfresources.dtx
index da8f6e3..136c8bc 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -2356,6 +2356,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \pdf_docview:nn #1 #2
   {
+    \exp_args:Nnx
     \pdf_catalog_gput:nn { OpenAction }{[\pdf_pageobject_ref:n {#1}~/#2]}
   }
 %    \end{macrocode}
@@ -2397,6 +2398,7 @@
    }
    \mode_leave_vertical:
    %\driver_pdf_link_user:nnn
+   \exp_args:Nxx %xetex needs expansion
    \@@_backend_link_begin_user:nnw
     {
      \prop_if_exist:cT { l_@@_hook_link_begin_#1_attr_prop }
@@ -2424,6 +2426,7 @@
    {
     \seq_use:cn { l_@@_hook_link_begin_#1_seq }{}
    }
+ \exp_args:Nxx %xetex needs expansion
  \@@_backend_link_begin_user:nnw
   {
    \prop_if_exist:cT { l_@@_hook_link_begin_#1_attr_prop }
@@ -2443,6 +2446,7 @@
    {
     \seq_use:cn { l_@@_hook_link_begin_#1_seq }{}
    }
+ \exp_args:Nxx %xetex needs expansion
  \@@_backend_link_begin_goto:nnw
   {
    \prop_if_exist:cT { l_@@_hook_link_begin_#1_attr_prop }
@@ -2521,6 +2525,7 @@
  {
   \prop_if_in:NnTF \l_@@_views_map_prop { #2 }
    {
+    \exp_args:No %xetex?
     \@@_backend_destination:nn { #1 } {  #2  }
    }
    {





More information about the latex3-commits mailing list