[latex3-commits] [git/LaTeX3-latex3-graphics-def] develop: additional unquoting of filename (f27ee8a)

David Carlisle d.p.carlisle at gmail.com
Sat Jul 13 20:49:15 CEST 2019


Repository : https://github.com/latex3/graphics-def
On branch  : develop
Link       : https://github.com/latex3/graphics-def/commit/f27ee8a988d35b987c5806f2c3c4d393e2b29bad

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

commit f27ee8a988d35b987c5806f2c3c4d393e2b29bad
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Jul 13 19:49:15 2019 +0100

    additional unquoting of filename


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

f27ee8a988d35b987c5806f2c3c4d393e2b29bad
 luatex.def | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/luatex.def b/luatex.def
index b3c6354..16e552d 100644
--- a/luatex.def
+++ b/luatex.def
@@ -269,20 +269,21 @@
   \fi
 }
 \def\Ginclude at pdftex#1{%
+  \edef\Gin at unquoted{\expandafter\unquote at name\expandafter{\expanded{#1}}}%
   \GPT at setup@scale
   \Gin at log{%
-    <use #1%
+    <use \Gin at unquoted%
     \ifx\Gin at page\@empty\else, page \Gin at page\fi
     >%
   }%
   \PackageInfo{luatex.def}{%
-    #1 \ifx\Gin at page\@empty\else, page\Gin at page\fi
+    \Gin at unquoted \ifx\Gin at page\@empty\else, page\Gin at page\fi
     \GPT at space used\on at line.\MessageBreak
     Requested size: %
     \the\Gin at req@width\GPT at space x \the\Gin at req@height
     \ifx\documentclass\@undefined\else\expandafter\@gobble\fi
   }%
-  \Ginclude@@pdftex{\@nameuse{#1 image\Gin at attr@hash}}%
+  \Ginclude@@pdftex{\@nameuse{\Gin at unquoted image\Gin at attr@hash}}%
 }
 \def\Ginclude at mps#1{%
   \GPT at setup@scale





More information about the latex3-commits mailing list