[latex3-commits] [latex3/latex2e] gh1148: fix for cyrillic font encodings (527e463f)

github at latex-project.org github at latex-project.org
Tue Nov 7 19:38:07 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : gh1148
Link       : https://github.com/latex3/latex2e/commit/527e463f45ea46aea9617754de00961927050e91

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

commit 527e463f45ea46aea9617754de00961927050e91
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Nov 7 19:38:07 2023 +0100

    fix for cyrillic font encodings


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

527e463f45ea46aea9617754de00961927050e91
 required/cyrillic/README.md    |  4 +---
 required/cyrillic/changes.txt  |  5 +++++
 required/cyrillic/cyoutenc.dtx | 11 ++++++++---
 3 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/required/cyrillic/README.md b/required/cyrillic/README.md
index edb52a9b..75093344 100644
--- a/required/cyrillic/README.md
+++ b/required/cyrillic/README.md
@@ -1,8 +1,6 @@
 The LaTeX `cyrillic` bundle
 ===========================
 
-Release 2022-06-01 patch level 1
-
 Overview
 --------
 
@@ -51,4 +49,4 @@ of the package.
 
 -----
 
-<p>Copyright (C) 2005-2019 The LaTeX Project <br />
+<p>Copyright (C) 2005-2023 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.