diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-13 21:45:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-13 21:45:09 +0000 |
commit | 1828cfdc0e3f0b73f56269b2a136f1a06af68c86 (patch) | |
tree | 1bd8fa097c0773952aacc64f44a1aa92f646344a /Master/texmf-dist/source/latex/base/ltfiles.dtx | |
parent | 59e719d7e1969d25917e37c43d81239fa593396a (diff) |
latex2e (13oct19)
git-svn-id: svn://tug.org/texlive/trunk@52372 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/base/ltfiles.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/base/ltfiles.dtx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/base/ltfiles.dtx b/Master/texmf-dist/source/latex/base/ltfiles.dtx index afb085a4174..a2037e221f1 100644 --- a/Master/texmf-dist/source/latex/base/ltfiles.dtx +++ b/Master/texmf-dist/source/latex/base/ltfiles.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltfiles.dtx} - [2019/08/27 v1.2b LaTeX Kernel (File Handling)] + [2019/10/11 v1.2c LaTeX Kernel (File Handling)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltfiles.dtx} @@ -706,7 +706,14 @@ % A side effect of the new code is that we will see quotes around % file name displays where there haven't been any before. % +% For compatibilty with existing code using |{abc}.tex| or |{one.two}.png| +% an initial brace group is discarded before expansion and |\string| is applied +% The content of the brace group is discarded. This means that a leading space +% will be lost unless protected (by |{ }| or |" "| or |\space|) but filenames +% with a space are hopefully rare. +% % \changes{v1.2a}{2019/07/01}{Support UTF-8} +% \changes{v1.2c}{2019/10/11}{Remove one brace group} % \begin{macrocode} %</2ekernel> %<*2ekernel|latexrelease> @@ -715,7 +722,7 @@ \def\set@curr@file#1{% \begingroup \escapechar\m@ne - \xdef\@curr@file{\expandafter\string\csname #1\endcsname}% + \xdef\@curr@file{\expandafter\string\csname\@firstofone#1\@empty\endcsname}% \endgroup } % \end{macrocode} |