[latex3-commits] [git/LaTeX3-latex3-latex2e] gh905: enhancement for #905 (WIP) (721887a4)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Aug 7 21:17:27 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh905
Link       : https://github.com/latex3/latex2e/commit/721887a442bd488087af8a1c9f8a2e857f75b077

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

commit 721887a442bd488087af8a1c9f8a2e857f75b077
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Aug 7 21:17:27 2022 +0200

    enhancement for #905  (WIP)


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

721887a442bd488087af8a1c9f8a2e857f75b077
 base/changes.txt    | 10 +++++++---
 base/lttextcomp.dtx | 10 ++++++++--
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 8a650e38..11787edc 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,10 +6,14 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
-2022-07-23
+2022-08-07  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
-	* ltkeys.dtx: <Joseph.Wright at latex-project.org>
-	Output 'friendly' package names in messages
+	* lttextcomp.dtx: Make \DeclareEncodingSubset act globally so that
+	it can be used in fd files (gh/905)
+
+2022-07-23  Joseph Wright  <Joseph.Wright at latex-project.org>
+
+	*  ltkeys.dtx: Output 'friendly' package names in messages
 
 2022-07-10  David Carlisle  <David.Carlisle at latex-project.org>
 
diff --git a/base/lttextcomp.dtx b/base/lttextcomp.dtx
index de6b221b..8f5ec0d2 100644
--- a/base/lttextcomp.dtx
+++ b/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 at info{Setting #2 sub-encoding to #1/#3}}%
      {\@font at 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?





More information about the latex3-commits mailing list.