diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/latexrelease.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/base/latexrelease.sty | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/base/latexrelease.sty b/Master/texmf-dist/tex/latex/base/latexrelease.sty index 0dcc571680a..b3a0a49af61 100644 --- a/Master/texmf-dist/tex/latex/base/latexrelease.sty +++ b/Master/texmf-dist/tex/latex/base/latexrelease.sty @@ -1229,8 +1229,10 @@ of this package available from CTAN} \begingroup \escapechar\m@ne \xdef\@curr@file{% + \expandafter\expandafter\expandafter\unquote@name + \expandafter\expandafter\expandafter{% \expandafter\string - \csname\expandafter\unquote@name\expandafter{\@firstofone#1\@empty}\endcsname}% + \csname\@firstofone#1\@empty\endcsname}}% \endgroup } \def\quote@name#1{"\quote@@name#1\@gobble""} @@ -4237,14 +4239,14 @@ of this package available from CTAN} \catcode`\^^A=9 \long\gdef\add@percent@to@temptokena #1\protected@file@percent#2\add@percent@to@temptokena - {\ifx!#2!\expandafter\dont@add@percent@to@temptokena\else + {\expandafter\ifx\expandafter X\detokenize{#2}X\expandafter\dont@add@percent@to@temptokena\else \expandafter\do@add@percent@to@temptokena\fi{#1}} \long\def\dont@add@percent@to@temptokena#1{% \@temptokena\expandafter{#1}} \begingroup \catcode`\%=12 -\long\gdef\do@add@percent@to@temptokena#1{% - \@temptokena\expandafter{#1%^^A +\catcode`\^^A=14 +\long\gdef\do@add@percent@to@temptokena#1{\@temptokena\expandafter{#1%^^A }} \endgroup \long\def\@writefile#1#2{% |