[latex3-commits] [git/LaTeX3-latex3-latex2e] gh253: change log and some rewording (c96328fc)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Dec 12 22:48:24 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh253
Link       : https://github.com/latex3/latex2e/commit/c96328fcd7dd0f6eb3e1b8bd5d9d12e3b6901dc6

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

commit c96328fcd7dd0f6eb3e1b8bd5d9d12e3b6901dc6
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Dec 12 22:48:24 2021 +0100

    change log and some rewording


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

c96328fcd7dd0f6eb3e1b8bd5d9d12e3b6901dc6
 base/changes.txt      |  6 ++++++
 base/doc/ltnews35.tex | 19 ++++++++++---------
 base/ltoutenc.dtx     |  4 +++-
 3 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 668f1a80..b42a93df 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2021-12-12  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltoutenc.dtx (subsection{Definitions for the TU encoding}):
+	\DeclareUnicodeAccent now makes the encoding argument implicit
+	as it is already done for other Unicode encoding commands (gh/253)
+
 2021-12-11  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* ltdirchk.dtx (section{Initialization}):
diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index 1a22ac17..8a7ac943 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -267,15 +267,16 @@ in the range U+01C4 to U+01CC.
 \subsection{Cleanup of the Unicode declaration interface}
 
 When declaring encoding specific commands for the Unicode (TU)
-encoding some declarations, such as \cs{DeclareUnicodeComposite} do
-not have the encoding name as an explicit argument but use
-\cs{UnicodeEncodingName} implicitly. Others, such as
-\cs{DeclareUnicodeAccent} require it as an explicit argument.  This
-inconsistency has now been removed and the encoding name is always
-implicit. To avoid a breaking change for a few packages on CTAN
-\cs{DeclareUnicodeAccent} still accepts three arguments if the second
-argument is \texttt{TU} or \cs{UnicodeEncodingName}. Once all packages
-have been updated this code branch will get removed.
+encoding most declarations (e.g., \cs{DeclareUnicodeSymbol}) do not
+have an explicit argument for the the encoding name, but instead use
+the command \cs{UnicodeEncodingName} internally. There was one
+exception though: \cs{DeclareUnicodeAccent} required an explicit
+encoding argument.  This inconsistency has now been removed and the
+encoding name is always implicit. To avoid a breaking change for a few
+packages on CTAN \cs{DeclareUnicodeAccent} still accepts three
+arguments if the second argument is \texttt{TU} or
+\cs{UnicodeEncodingName}. Once all packages have been updated this
+code branch will get removed.
 %
 \githubissue{253}
 
diff --git a/base/ltoutenc.dtx b/base/ltoutenc.dtx
index 5c3ea3be..be946181 100644
--- a/base/ltoutenc.dtx
+++ b/base/ltoutenc.dtx
@@ -44,7 +44,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltoutenc.dtx}
-             [2021/10/16 v2.0x LaTeX Kernel (font encodings)]
+             [2021/12/12 v2.0y LaTeX Kernel (font encodings)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltoutenc.dtx}
@@ -3030,6 +3030,8 @@
 %    but that fortunately hasn't happened. With the implicit argument
 %    you would need to change \cs{UnicodeEncodingName} instead, as you
 %    have to do anyway for the other interface commands.
+% \changes{v2.0y}{2021/12/12}{\cs{DeclareUnicodeAccent} now makes the
+%                             encoding argument implicit (gh/253)}
 %    \begin{macrocode}
 \def\DeclareUnicodeAccent#1#2{%
   \edef\reserved at a{#2}%





More information about the latex3-commits mailing list.