[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/gh422: Parsing can't add extension to \@currname (daa98b0a)
PhelypeOleinik
phelype.oleinik at latex-project.org
Fri Nov 6 03:25:44 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : hotfix/gh422
Link : https://github.com/latex3/latex2e/commit/daa98b0a2cfc1628548fd4fdc00b918e58e57e12
>---------------------------------------------------------------
commit daa98b0a2cfc1628548fd4fdc00b918e58e57e12
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Thu Nov 5 23:25:44 2020 -0300
Parsing can't add extension to \@currname
>---------------------------------------------------------------
daa98b0a2cfc1628548fd4fdc00b918e58e57e12
base/ltclass.dtx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/base/ltclass.dtx b/base/ltclass.dtx
index 8db9a390..a868028e 100644
--- a/base/ltclass.dtx
+++ b/base/ltclass.dtx
@@ -1750,6 +1750,10 @@
\@expl@@@filehook at set@curr at file@@nNN
{\@expl@@@filehook at resolve@file at subst@@w #1.#4\@nil}%
\reserved at a\reserved at b
+ \edef\reserved at c{\def\noexpand\reserved at c####1%
+ \detokenize\expandafter{\expanded{.#4}}%
+ \noexpand\@nil{\def\noexpand\reserved at a{####1}}}\reserved at c
+ \expandafter\reserved at c\reserved at a\@nil
\@pushfilename
\xdef\@currname{\string at makeletter\reserved at a}%
\xdef\@currpath{\ifx\reserved at b\@empty\else\reserved at b/\fi}%
More information about the latex3-commits
mailing list.