[latex3-commits] [git/LaTeX3-latex3-latex2e] uniangle: Declare normalized forms for angleleft/angleright Unicode codepoints (759951fd)

Marcel Fabian Krüger tex at 2krueger.de
Sun May 8 11:56:05 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : uniangle
Link       : https://github.com/latex3/latex2e/commit/759951fdb5e79e4bc3d68795766fa64103cbcc58

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

commit 759951fdb5e79e4bc3d68795766fa64103cbcc58
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Wed Mar 2 14:53:12 2022 +0100

    Declare normalized forms for angleleft/angleright Unicode codepoints


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

759951fdb5e79e4bc3d68795766fa64103cbcc58
 base/changes.txt      |  7 +++++++
 base/doc/ltnews35.tex | 11 +++++++++++
 base/utf8ienc.dtx     |  8 +++++++-
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/base/changes.txt b/base/changes.txt
index fb7226cf..f1ad2672 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -5,6 +5,13 @@ It is provided for convenience only.  It therefore makes no claims to
 completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
+2022-05-08  Marcel Krüger  <Marcel.Krueger at latex-project.org>
+
+  * utf8ienc.dtx:
+	Declare Unicode codepoints U+3008 and U+3009 to be equivalent
+	to their canonical equivalent codepoints 2329/232A (corresponding
+	to \textlangle/\textrangle)
+
 2022-05-08  Marcel Krüger  <Marcel.Krueger at latex-project.org>
 
 	* ltmath.dtx: Use more consistent default math styles on LuaLaTeX
diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index ca171469..aa508ea7 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -656,6 +656,17 @@ i.e., after \LaTeX{} has updated its counters to pretend that the file
 was seen.
 
 
+\subsection{Input support for normalized angle brackets}
+
+Source files containing \textlangle\ or \textrangle\ directly written as Unicode
+codepoints U+2329 and U+232A no longer break when the source file gets normalized under Unicode normalization rules.
+%
+\githubissue{gh/714}
+
+
+\subsection{???}
+%
+\githubissue{???}
 
 
 \section{Bug fixes}
diff --git a/base/utf8ienc.dtx b/base/utf8ienc.dtx
index 8789dd35..c6ec8987 100644
--- a/base/utf8ienc.dtx
+++ b/base/utf8ienc.dtx
@@ -216,7 +216,7 @@
 %<+ts1> \ProvidesFile{ts1enc.dfu}
 %<+x2>  \ProvidesFile{x2enc.dfu}
 %<+all> \ProvidesFile{utf8enc.dfu}
-%<-utf8-2018>   [2022/02/13 v1.3a UTF-8 support]
+%<-utf8-2018>   [2022/05/08 v1.3b UTF-8 support]
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -1820,8 +1820,14 @@
 %<all,ts1>\DeclareUnicodeCharacter{2191}{\textuparrow}
 %<all,ts1>\DeclareUnicodeCharacter{2192}{\textrightarrow}
 %<all,ts1>\DeclareUnicodeCharacter{2193}{\textdownarrow}
+%    \end{macrocode}
+% \changes{v1.3b}{2022/05/08}{Declare Unicode codepoints U+3008/U+3009 to
+%     better support normalized documents}
+%    \begin{macrocode}
 %<all,x2,ts1,t2c,t2b,t2a>\DeclareUnicodeCharacter{2329}{\textlangle}
+%<all,x2,ts1,t2c,t2b,t2a>\DeclareUnicodeCharacter{3008}{\textlangle}
 %<all,x2,ts1,t2c,t2b,t2a>\DeclareUnicodeCharacter{232A}{\textrangle}
+%<all,x2,ts1,t2c,t2b,t2a>\DeclareUnicodeCharacter{3009}{\textrangle}
 %<all,ts1>\DeclareUnicodeCharacter{2422}{\textblank}
 %<all,x2,t2c,t2b,t2a,t1,utf8>\DeclareUnicodeCharacter{2423}{\textvisiblespace}
 %<all,ts1>\DeclareUnicodeCharacter{25E6}{\textopenbullet}





More information about the latex3-commits mailing list.