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

Marcel Fabian Krüger tex at 2krueger.de
Wed Mar 2 15:38:39 CET 2022


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

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

commit bb7fc9a4ed6ab6ac58fbce85182b48149c4dcdca
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


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

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

diff --git a/base/changes.txt b/base/changes.txt
index 927da9cb..c0525581 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -7,6 +7,13 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 ================================================================================
 
+2022-03-02  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-02-21  Joseph Wright  <Joseph.Wright at latex-project.org>
 
         * ltkeys.dtx:
diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index f87d5c55..7260639a 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -507,6 +507,14 @@ argument as their general purpose counterparts do.
 \githubissue{253}
 
 
+\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{???}
 %
diff --git a/base/utf8ienc.dtx b/base/utf8ienc.dtx
index a0c96357..7acc3726 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>   [2021/12/13 v1.2o UTF-8 support]
+%<-utf8-2018>   [2022/03/02 v1.2p UTF-8 support]
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -1808,8 +1808,14 @@
 %<all,ts1>\DeclareUnicodeCharacter{2191}{\textuparrow}
 %<all,ts1>\DeclareUnicodeCharacter{2192}{\textrightarrow}
 %<all,ts1>\DeclareUnicodeCharacter{2193}{\textdownarrow}
+%    \end{macrocode}
+% \changes{v1.2p}{2022/03/02}{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.