[latex3-commits] [git/LaTeX3-latex3-latex2e] unquote: quote \@filef at und as it ends with a space so hard to quote later (bb2213b1)

David Carlisle d.p.carlisle at gmail.com
Sat Nov 2 00:23:45 CET 2019


Repository : https://github.com/latex3/latex2e
On branch  : unquote
Link       : https://github.com/latex3/latex2e/commit/bb2213b1daddcadd725002db79eabb3af92046a3

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

commit bb2213b1daddcadd725002db79eabb3af92046a3
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Nov 1 23:23:45 2019 +0000

    quote \@filef at und as it ends with a space so hard to quote later


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

bb2213b1daddcadd725002db79eabb3af92046a3
 base/ltfiles.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index 5359aeb8..f412f897 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -782,7 +782,7 @@
     \fi
   \else
     \closein\@inputcheck
-    \edef\@filef at und{#1 }%
+    \edef\@filef at und{\quote at name{#1} }%
     \def\reserved at a{#2}%
   \fi
   \reserved at a}
@@ -842,7 +842,7 @@
              :\expandafter=\input at path\do{%
     \openin\@inputcheck\expandafter\quote at name\expandafter{\reserved at b#1} %
     \ifeof\@inputcheck\else
-      \edef\@filef at und{\reserved at b#1 }%
+      \edef\@filef at und{"\reserved at b#1" }%
       \let\reserved at a\@firstoftwo%
       \closein\@inputcheck
       \@break at tfor





More information about the latex3-commits mailing list