summaryrefslogtreecommitdiff
path: root/macros/xetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-22 03:01:21 +0000
committerNorbert Preining <norbert@preining.info>2022-10-22 03:01:21 +0000
commit3183c46c6fe93c96cf342a65ba2ac2b74a14dcbd (patch)
tree256d81eebebf8e4aee8d2885c462164404e854ff /macros/xetex
parentb3bdf86b91849c38a256c86082770bf854db7610 (diff)
CTAN sync 202210220301
Diffstat (limited to 'macros/xetex')
-rw-r--r--macros/xetex/latex/ucharclasses/README8
-rw-r--r--macros/xetex/latex/ucharclasses/ucharclasses.pdfbin136780 -> 136908 bytes
-rw-r--r--macros/xetex/latex/ucharclasses/ucharclasses.sty67
-rw-r--r--macros/xetex/latex/ucharclasses/ucharclasses.tex27
4 files changed, 73 insertions, 29 deletions
diff --git a/macros/xetex/latex/ucharclasses/README b/macros/xetex/latex/ucharclasses/README
index e29112c489..d90e8f7d05 100644
--- a/macros/xetex/latex/ucharclasses/README
+++ b/macros/xetex/latex/ucharclasses/README
@@ -8,7 +8,7 @@
ucharclasses package for XeLaTex
--------------------------------------
- Michiel Kamermans, v2.5, March 2022
+ Michiel Kamermans, v2.6, October 2022
The brief
---------
@@ -58,11 +58,12 @@ So what is it?
Unicode Compatibility
---------------------
- Current compatibility is Unicode 14.0
+ Current compatibility is Unicode 15.0
Changelog
---------
+ v2.6: Unicode 15 support
v2.5: Unicode 14 support
v2.4: Unicode 11, 12, and 13 support
v2.3: Unicode 10 support
@@ -74,7 +75,8 @@ Changelog
Contributors
------------
- v2.4-2.5: Werner Lemberg
+ v2.5-2.6: Werner Lemberg
+ v2.4: Werner Lemberg, Shreeshrii
v2.1-2.3: Qing Lee, Werner Lemberg
v2.0: Enrico Gregorio
v1.0: Mike "Pomax" Kamermans
diff --git a/macros/xetex/latex/ucharclasses/ucharclasses.pdf b/macros/xetex/latex/ucharclasses/ucharclasses.pdf
index 76518d2702..1d5066207f 100644
--- a/macros/xetex/latex/ucharclasses/ucharclasses.pdf
+++ b/macros/xetex/latex/ucharclasses/ucharclasses.pdf
Binary files differ
diff --git a/macros/xetex/latex/ucharclasses/ucharclasses.sty b/macros/xetex/latex/ucharclasses/ucharclasses.sty
index 59a2daf356..c25515f6f8 100644
--- a/macros/xetex/latex/ucharclasses/ucharclasses.sty
+++ b/macros/xetex/latex/ucharclasses/ucharclasses.sty
@@ -5,15 +5,17 @@
% automatically when a transition from a character from one unicode block to a
% character from another unicode block is encountered by XeTeX
%
-% Current compatibility should be Unicode 13.0
+% Current compatibility should be Unicode 15.0
%
% Credits:
-% v2.4-2.5: Werner Lemberg
+% v2.5-2.6: Werner Lemberg
+% v2.4: Werner Lemberg, Shreeshrii
% v2.1-2.3: Qing Lee, Werner Lemberg
% v2.0: Enrico Gregorio
% v1.0: Mike "Pomax" Kamermans
%
% Significant updates:
+% v2.6: Unicode 15 support
% v2.5: Unicode 14 support
% v2.4: Unicode 13 support
% v2.3: Unicode 10 support
@@ -26,7 +28,7 @@
%
% ----------------------------------------------------------------------------
-\ProvidesPackage{ucharclasses}[2022/03/01 v2.5.0 Unicode block character classes for XeLaTeX]
+\ProvidesPackage{ucharclasses}[2022/10/20 v2.6.0 Unicode block character classes for XeLaTeX]
\newif\if@ucharclassverbose
\DeclareOption{verbose}{\@ucharclassverbosetrue}
@@ -41,9 +43,9 @@
% Starting with XeTeX version 3.14159265-2.6-0.99994, the number of
% \XeTeXcharclass registers was extended from 256 to 4096 entries; some not
% so important blocks are thus provided only for this and newer versions.
-% The boundary of character class was changed from 255 to 4095 correspondingly.
-% The primitive \XeTeXinterwordspaceshaping was introduced by XeTeX 0.99994;
-% we use it as a flag to identify this version.
+% The boundary of character classes was changed from 255 to 4095
+% correspondingly. The primitive \XeTeXinterwordspaceshaping was introduced
+% by XeTeX 0.99994; we use it as a flag to identify this version.
%
% However, earlier version of LaTeX2e (before 2016/04/22 v2.0q) didn't provide
% support for 4096 entries; we thus have to override the hard-coded limit.
@@ -130,7 +132,7 @@
\do{Georgian}{"010A0}{"010FF}
\do{GeorgianSupplement}{"02D00}{"02D2F}
\do{Glagolitic}{"02C00}{"02C5F}
- \do{Gothic}{"010330}{"01034F}
+% Gothic (see below)
\do{GreekAndCoptic}{"0370}{"03FF}
\do{GreekExtended}{"01F00}{"01FFF}
\do{Gujarati}{"0A80}{"0AFF}
@@ -150,7 +152,7 @@
\do{Katakana}{"030A0}{"030FF}
\do{KatakanaPhoneticExtensions}{"031F0}{"031FF}
\do{KayahLi}{"0A900}{"0A92F}
- \do{Kharoshthi}{"010A00}{"010A5F}
+% Kharoshthi (see below)
\do{Khmer}{"01780}{"017FF}
\do{KhmerSymbols}{"019E0}{"019FF}
\do{Lao}{"0E80}{"0EFF}
@@ -165,8 +167,8 @@
\do{Limbu}{"01900}{"0194F}
\do{LinearBIdeograms}{"010080}{"0100FF}
\do{LinearBSyllabary}{"010000}{"01007F}
- \do{Lycian}{"010280}{"01029F}
- \do{Lydian}{"010920}{"01093F}
+% Lycian (see below)
+% Lydian (see below)
\do{MahjongTiles}{"01F000}{"01F02F}
\do{Malayalam}{"0D00}{"0D7F}
\do{MathematicalAlphanumericSymbols}{"01D400}{"01D7FF}
@@ -343,10 +345,19 @@
\do{LatinExtendedF}{"010780}{"0107BF}
\do{LatinExtendedG}{"01DF00}{"01DFFF}
\do{UnifiedCanadianAboriginalSyllabicsExtendedA}{"011AB0}{"011ABF}
+% Unicode 15.0 additions needed for classes
+ \do{ArabicExtendedC}{"010EC0}{"010EFF}
+ \do{CJKUnifiedIdeographsExtensionH}{"031350}{"0323AF}
+ \do{CyrillicExtendedD}{"01E030}{"01E08F}
+ \do{DevanagariExtendedA}{"011B00}{"011B5F}
%
\ifdefined\XeTeXinterwordspaceshaping
% Unicode 5.1 block definitions
\do{Carian}{"0102A0}{"0102DF}
+ \do{Gothic}{"010330}{"01034F}
+ \do{Kharoshthi}{"010A00}{"010A5F}
+ \do{Lycian}{"010280}{"01029F}
+ \do{Lydian}{"010920}{"01093F}
\do{OldItalic}{"010300}{"01032F}
\do{PhaistosDisc}{"0101D0}{"0101FF}
\do{SupplementaryPrivateUseAreaA}{"0F0000}{"0FFFFF}
@@ -396,7 +407,8 @@
\do{OldSogdian}{"010F00}{"010F2F}
\do{Sogdian}{"010F30}{"010F6F}
% Unicode 12.0 additions
- \do{EgyptianHieroglyphFormatControls}{"013430}{"01343F}
+ % The range was extended in Unicode 15.0
+ \do{EgyptianHieroglyphFormatControls}{"013430}{"01345F}
\do{Elymaic}{"010FE0}{"010FFF}
\do{Nandinagari}{"0119A0}{"0119FF}
\do{NyiakengPuachueHmong}{"01E100}{"01E14F}
@@ -418,12 +430,16 @@
\do{Toto}{"01E290}{"01E2BF}
\do{Vithkuqi}{"010570}{"0105BF}
\do{ZnamennyMusicalNotation}{"01CF00}{"01CFCF}
+% Unicode 15.0 additions
+ \do{KaktovikNumerals}{"01D2C0}{"01D2DF}
+ \do{Kawi}{"011F00}{"011F5F}
+ \do{NagMundari}{"01E4D0}{"01E4FF}
\fi
}
% ----------------------------------------------------------------------------
-% Option handling lets the user turn off "load all" and selectively enable only those blocks
-% they are interested in
+% Option handling lets the user turn off "load all" and selectively enable
+% only those blocks they are interested in
% ----------------------------------------------------------------------------
% Each option starts with \overrideClassLoading; so any specified
@@ -476,6 +492,7 @@
\do{Arabic}
\do{ArabicExtendedA}
\do{ArabicExtendedB}
+ \do{ArabicExtendedC}
\do{ArabicPresentationFormsA}
\do{ArabicPresentationFormsB}
\do{ArabicSupplement}
@@ -510,6 +527,7 @@
\do{CJKUnifiedIdeographsExtensionE}
\do{CJKUnifiedIdeographsExtensionF}
\do{CJKUnifiedIdeographsExtensionG}
+ \do{CJKUnifiedIdeographsExtensionH}
\do{EnclosedCJKLettersAndMonths}
\do{EnclosedIdeographicSupplement}
\do{IdeographicDescriptionCharacters}
@@ -561,6 +579,7 @@
\do{CyrillicExtendedA}
\do{CyrillicExtendedB}
\do{CyrillicExtendedC}
+ \do{CyrillicExtendedD}
\do{CyrillicSupplement}
\do{GlagoliticSupplement}
\do{Glagolitic}
@@ -571,6 +590,7 @@
\do{DevanagariPostDanDa}
\do{DevanagariPostMarks}
\do{DevanagariPreMarks}
+ \do{DevanagariExtendedA}
}
\def\DiacriticsClasses{
@@ -716,6 +736,9 @@
\do{YiSyllables}
}
+% While adding scripts defined in more recent Unicode versions it was
+% necessary to move some scripts into the block for XeTeX 0.99994 and newer;
+% those are tagged with a 'see below' comment.
\def\OtherClasses{
\do{AegeanNumbers}
% Ahom (see below)
@@ -754,7 +777,7 @@
\do{Elbasan}
\do{EnclosedAlphanumerics}
\do{EnclosedAlphanumericSupplement}
- \do{Gothic}
+% Gothic (see below)
\do{Grantha}
\do{Gujarati}
\do{Gurmukhi}
@@ -768,7 +791,7 @@
\do{Kaithi}
\do{Kannada}
\do{KayahLi}
- \do{Kharoshthi}
+% Kharoshthi (see below)
\do{Khmer}
\do{KhmerSymbols}
\do{Khojki}
@@ -780,8 +803,8 @@
\do{LinearBIdeograms}
\do{LinearBSyllabary}
\do{Lisu}
- \do{Lycian}
- \do{Lydian}
+% Lycian (see below)
+% Lydian (see below)
\do{Mahajani}
\do{MahjongTiles}
\do{Malayalam}
@@ -874,11 +897,17 @@
\do{EgyptianHieroglyphFormatControls}
\do{Elymaic}
\do{GeorgianExtended}
+ \do{Gothic}
\do{GunjalaGondi}
\do{HanifiRohingya}
\do{IndicSiyaqNumbers}
+ \do{KaktovikNumerals}
+ \do{Kawi}
\do{LisuSupplement}
+ \do{Kharoshthi}
\do{KhitanSmallScript}
+ \do{Lycian}
+ \do{Lydian}
\do{Makasar}
\do{Manichaean}
\do{Marchen}
@@ -887,6 +916,7 @@
\do{Medefaidrin}
\do{Multani}
\do{Nabataean}
+ \do{NagMundari}
\do{Nandinagari}
\do{Newa}
\do{Nushu}
@@ -1147,7 +1177,8 @@
% ----------------------------------------------------------------------------
%
-% based on the previous informal groups, we can define a catch-all transition command
+% based on the previous informal groups, we can define a catch-all transition
+% command
%
% ----------------------------------------------------------------------------
diff --git a/macros/xetex/latex/ucharclasses/ucharclasses.tex b/macros/xetex/latex/ucharclasses/ucharclasses.tex
index aaa7bc912b..7ba55df970 100644
--- a/macros/xetex/latex/ucharclasses/ucharclasses.tex
+++ b/macros/xetex/latex/ucharclasses/ucharclasses.tex
@@ -63,7 +63,7 @@
\begin{document}
- \title{ucharclasses v2.4}
+ \title{ucharclasses v2.6}
\author{Mike “Pomax” Kamermans}
\date{\today}
\maketitle
@@ -211,12 +211,13 @@
\item Chinese
\item CJK
\item Cyrillics
+ \item Devanagari
\item Diacritics
\item EthiopicFull
\item GeorgianFull
\item Greek
- \item Korean
\item Japanese
+ \item Korean
\item Latin
\item Mathematics
\item MongolianFull
@@ -226,6 +227,7 @@
\item SundaneseFull
\item Symbols
\item SyriacFull
+ \item VedicMarks
\item Yi
\end{itemlist}
@@ -381,7 +383,7 @@
\section{Package options and Unicode blocks}
- The following Unicode blocks are available for use in transition rules (corresponding to Unicode version 14.0), as well as for use as package options when you want ucharclasses to only load those classes that you know are used in your document.
+ The following Unicode blocks are available for use in transition rules (corresponding to Unicode version 15.0), as well as for use as package options when you want ucharclasses to only load those classes that you know are used in your document.
Starting with XeTeX version 0.99994 (available in TeXLive 2016), the number of \textbackslash XeTeXcharclass registers was extended from 256 to 4096; some not so important blocks are thus provided only for this and newer versions; in the list below, those blocks are put into parentheses.
@@ -399,6 +401,7 @@
\item Arabic
\item ArabicExtendedA
\item ArabicExtendedB
+ \item ArabicExtendedC
\item ArabicMathematicalAlphabeticSymbols
\item ArabicPresentationFormsA
\item ArabicPresentationFormsB
@@ -446,6 +449,7 @@
\item CJKUnifiedIdeographsExtensionE
\item CJKUnifiedIdeographsExtensionF
\item CJKUnifiedIdeographsExtensionG
+ \item CJKUnifiedIdeographsExtensionH
\item CombiningDiacriticalMarks
\item CombiningDiacriticalMarksExtended
\item CombiningDiacriticalMarksForSymbols
@@ -465,10 +469,12 @@
\item CyrillicExtendedA
\item CyrillicExtendedB
\item CyrillicExtendedC
+ \item CyrillicExtendedD
\item CyrillicSupplement
\item Deseret
\item Devanagari
\item DevanagariExtended
+ \item DevanagariExtendedA
\item Dingbats
\item (DivesAkuru)
\item (Dogra)
@@ -497,7 +503,7 @@
\item GeorgianSupplement
\item Glagolitic
\item GlagoliticSupplement
- \item Gothic
+ \item (Gothic)
\item Grantha
\item GreekAndCoptic
\item GreekExtended
@@ -524,6 +530,7 @@
\item IPAExtensions
\item Javanese
\item Kaithi
+ \item (KaktovikNumerals)
\item KanaExtendedA
\item KanaExtendedB
\item KanaSupplement
@@ -532,8 +539,9 @@
\item Kannada
\item Katakana
\item KatakanaPhoneticExtensions
+ \item (Kawi)
\item KayahLi
- \item Kharoshthi
+ \item (Kharoshthi)
\item (KhitanSmallScript)
\item Khmer
\item KhmerSymbols
@@ -557,8 +565,8 @@
\item LinearBSyllabary
\item Lisu
\item (LisuSupplement)
- \item Lycian
- \item Lydian
+ \item (Lycian)
+ \item (Lydian)
\item Mahajani
\item MahjongTiles
\item (Makasar)
@@ -594,6 +602,7 @@
\item MyanmarExtendedA
\item MyanmarExtendedB
\item (Nabataean)
+ \item (NagMundari)
\item (Nandinagari)
\item (Newa)
\item NewTaiLue
@@ -714,12 +723,13 @@
\item Chinese
\item CJK
\item Cyrillics
+ \item Devanagari
\item Diacritics
\item EthiopicFull
\item GeorgianFull
\item Greek
- \item Korean
\item Japanese
+ \item Korean
\item Latin
\item Mathematics
\item MongolianFull
@@ -729,6 +739,7 @@
\item SundaneseFull
\item Symbols
\item SyriacFull
+ \item VedicMarks
\item Yi
\end{itemlist}
\end{multicols*}