[latex3-commits] [latex3/latex2e] develop: fix for cyrillic font encodings (#1166) (55273a5a)

github at latex-project.org github at latex-project.org
Wed Nov 8 22:27:31 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/55273a5a6f6f36603408eaa06ee0dcc85796486f

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

commit 55273a5a6f6f36603408eaa06ee0dcc85796486f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Nov 8 22:27:31 2023 +0100

    fix for cyrillic font encodings (#1166)
    
    * fix for cyrillic font encodings
    
    * news entry
    
    * minor adjustments
    
    * grammar


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

55273a5a6f6f36603408eaa06ee0dcc85796486f
 base/doc/ltnews39.tex          | 13 +++++++++++++
 required/cyrillic/README.md    |  4 ++--
 required/cyrillic/changes.txt  |  5 +++++
 required/cyrillic/cyoutenc.dtx | 11 ++++++++---
 4 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/base/doc/ltnews39.tex b/base/doc/ltnews39.tex
index 2e037c6f..13fb0a82 100644
--- a/base/doc/ltnews39.tex
+++ b/base/doc/ltnews39.tex
@@ -200,6 +200,19 @@ in a hotfix for release 2023-11.
 \githubissue{1160}
 
 
+\section{Changes to files in the \pkg{cyrillic} category}
+
+\subsection{Correct definition of \cs{k}}
+
+Ages ago, the encoding specific definitions for various accent
+commands were altered to guard altering some parameter values
+non-locally by mistake. For some reason the definition for \cs{k} in
+the Cyrillic encodings \texttt{T2A}, \texttt{T2B}, and \texttt{T2C}
+didn't get this treatment. This oversight has now been corrected.
+%
+\githubissue{1148}
+
+
 
 \begin{thebibliography}{9}
 
diff --git a/required/cyrillic/README.md b/required/cyrillic/README.md
index edb52a9b..c27a7b92 100644
--- a/required/cyrillic/README.md
+++ b/required/cyrillic/README.md
@@ -1,7 +1,7 @@
 The LaTeX `cyrillic` bundle
 ===========================
 
-Release 2022-06-01 patch level 1
+Release 2024-06-01
 
 Overview
 --------
@@ -51,4 +51,4 @@ of the package.
 
 -----
 
-<p>Copyright (C) 2005-2019 The LaTeX Project <br />
+<p>Copyright (C) 2005-2024 The LaTeX Project <br />
diff --git a/required/cyrillic/changes.txt b/required/cyrillic/changes.txt
index ab1a4188..3d0d2be3 100644
--- a/required/cyrillic/changes.txt
+++ b/required/cyrillic/changes.txt
@@ -4,6 +4,11 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 =======================================================================
 
+2023-11-07  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* cyoutenc.dtx (section{The Cyrillic font encodings: T2A, T2B, T2C, and X2}):
+	Add \hmode at bgroup to \k to match other encoding definitions (gh/1148)
+
 2022-06-11  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* cyinpenc.dtx cyoutenc.dtx lyc.dtx ot2.dtx:
diff --git a/required/cyrillic/cyoutenc.dtx b/required/cyrillic/cyoutenc.dtx
index 89304a75..7bd6b945 100644
--- a/required/cyrillic/cyoutenc.dtx
+++ b/required/cyrillic/cyoutenc.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright 1993-2022
+% Copyright 1993-2023
 % The LaTeX3 Project and any individual authors listed elsewhere
 % in this file.
 %
@@ -65,7 +65,7 @@
 %<T2A>\ProvidesFile{t2aenc.def}
 %<T2B>\ProvidesFile{t2benc.def}
 %<T2C>\ProvidesFile{t2cenc.def}
-  [2022/06/11 v1.0j Cyrillic encoding definition file]
+  [2023/11/07 v1.0k Cyrillic encoding definition file]
 %    \end{macrocode}
 %
 % To assure that |\MakeUppercase| and |\MakeLowercase| will work
@@ -118,8 +118,13 @@
 \DeclareTextCommand{\d}{\LastDeclaredEncoding}[1]
    {\hmode at bgroup
     \o at lign{\relax#1\crcr\hidewidth\ltx at sh@ft{-1ex}.\hidewidth}\egroup}
+%    \end{macrocode}
+%    
+% \changes{v1.0k}{2023/11/07}{Add \cs{hmode at bgroup} to \cs{k} to match
+%            other encoding definitions (gh/1148)}
+%    \begin{macrocode}
 \DeclareTextCommand{\k}{\LastDeclaredEncoding}[1]
-   {\oalign{\null#1\crcr\hidewidth\char12}}
+   {\hmode at bgroup\oalign{\null#1\crcr\hidewidth\char12}\egroup}
 \DeclareTextCommand{\textperthousand}{\LastDeclaredEncoding}
    {\%\char 24 }
 \DeclareTextCommand{\textpertenthousand}{\LastDeclaredEncoding}





More information about the latex3-commits mailing list.