diff options
Diffstat (limited to 'macros/latex-dev/base/lttextcomp.dtx')
-rw-r--r-- | macros/latex-dev/base/lttextcomp.dtx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/macros/latex-dev/base/lttextcomp.dtx b/macros/latex-dev/base/lttextcomp.dtx index de6b221b6c..8f5ec0d200 100644 --- a/macros/latex-dev/base/lttextcomp.dtx +++ b/macros/latex-dev/base/lttextcomp.dtx @@ -37,7 +37,7 @@ % % \ProvidesFile{lttextcomp.dtx} - [2021/12/09 v1.0f LaTeX Kernel (text companion symbols)] + [2022/08/07 v1.0g LaTeX Kernel (text companion symbols)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -226,7 +226,13 @@ \@ifundefined{#1:#2}% {\@font@info{Setting #2 sub-encoding to #1/#3}}% {\@font@info{Changing #2 sub-encoding to #1/#3}}% - \@namedef{#1:#2}{#3}} +% \end{macrocode} +% This declaration should be usable in \texttt{.fd} files and +% therefore has to make its definition globally, because such files +% can get loaded in random places. +% \changes{v1.0g}{2022/08/07}{Make global declaration (gh/905)} +% \begin{macrocode} + \global\@namedef{#1:#2}{#3}} % \end{macrocode} % % Any reason to allow those in the middle of documents? |