summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-03-01 23:01:38 +0000
committerKarl Berry <karl@freefriends.org>2021-03-01 23:01:38 +0000
commit0b3bc5a90b69641708f11b19aec9408bb13459b3 (patch)
treea0200e36d30817f3fd9e74c71536c48e79781ac8 /Master/texmf-dist/tex/xelatex
parent7c669bad72badd54ea156d8d3000b5b75a811087 (diff)
ucharclasses (1mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58046 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/ucharclasses/ucharclasses.sty132
1 files changed, 113 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/xelatex/ucharclasses/ucharclasses.sty b/Master/texmf-dist/tex/xelatex/ucharclasses/ucharclasses.sty
index afa8aa2bf65..11da6a9ed22 100644
--- a/Master/texmf-dist/tex/xelatex/ucharclasses/ucharclasses.sty
+++ b/Master/texmf-dist/tex/xelatex/ucharclasses/ucharclasses.sty
@@ -5,14 +5,16 @@
% 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 10.0.
+% Current compatibility should be Unicode 13.0
%
% Credits:
+% v2.4: Werner Lemberg
% v2.1-2.3: Qing Lee, Werner Lemberg
% v2.0: Enrico Gregorio
% v1.0: Mike "Pomax" Kamermans
%
% Significant updates:
+% v2.4: Unicode 13 support
% v2.3: Unicode 10 support
% v2.2: Unicode 8.0 and LaTeX2e support
% v2.1: Uplift for the intercharclass updates introduced in XeTeX 0.99994
@@ -23,7 +25,7 @@
%
% ----------------------------------------------------------------------------
-\ProvidesPackage{ucharclasses}[2017/08/10 v2.3.0 Unicode block character classes for XeLaTeX]
+\ProvidesPackage{ucharclasses}[2021/02/16 v2.4.0 Unicode block character classes for XeLaTeX]
\newif\if@ucharclassverbose
\DeclareOption{verbose}{\@ucharclassverbosetrue}
@@ -110,7 +112,11 @@
\do{CyrillicExtendedB}{"0A640}{"0A69F}
\do{CyrillicSupplement}{"0500}{"052F}
\do{Deseret}{"010400}{"01044F}
- \do{Devanagari}{"0900}{"097F}
+ \do{DevanagariDanDa}{"0964}{"0965}
+ \do{DevanagariMarks}{"0951}{"0954}
+ \do{DevanagariPostDanDa}{"0966}{"097F}
+ \do{DevanagariPostMarks}{"0955}{"0963}
+ \do{DevanagariPreMarks}{"0900}{"0950}
\do{Dingbats}{"02700}{"027BF}
\do{DominoTiles}{"01F030}{"01F09F}
\do{EnclosedAlphanumerics}{"02460}{"024FF}
@@ -310,13 +316,13 @@
\do{Tirhuta}{"011480}{"0114DF}
\do{WarangCiti}{"0118A0}{"0118FF}
% Unicode 8.0 additions
- \do{Ahom}{"011700}{"01173F}
+% Ahom (see below)
% AnatolianHieroglyphs (see below)
\do{CherokeeSupplement}{"0AB70}{"0ABBF}
\do{CJKUnifiedIdeographsExtensionE}{"02B820}{"02CEAF}
- \do{EarlyDynasticCuneiform}{"012480}{"01254F}
- \do{Hatran}{"0108E0}{"0108FF}
- \do{Multani}{"011280}{"0112AF}
+% EarlyDynasticCuneiform (see below)
+% Hatran (see below)
+% Multani (see below)
\do{OldHungarian}{"010C80}{"010CFF}
\do{SupplementalSymbolsAndPictographs}{"01F900}{"01F9FF}
% SuttonSignWriting (see below)
@@ -329,19 +335,34 @@
\do{CJKUnifiedIdeographsExtensionF}{"02CEB0}{"02EBEF}
\do{KanaExtendedA}{"01B100}{"01B12F}
\do{SyriacSupplement}{"0860}{"086F}
+% Unicode 11.0 additions needed for classes
+ \do{GeorgianExtended}{"01C90}{"01CBF}
+% Unicode 12.0 additions needed for classes
+ \do{SmallKanaExtension}{"01B130}{"01B16F}
+ \do{SymbolsAndPictographsExtendedA}{"01FA70}{"01FAFF}
+% Unicode 13.0 additions needed for classes
+ \do{CJKUnifiedIdeographsExtensionG}{"030000}{"03134F}
%
\ifdefined\XeTeXinterwordspaceshaping
- \do{AnatolianHieroglyphs}{"014400}{"01467F}
+% Unicode 5.1 block definitions
\do{Carian}{"0102A0}{"0102DF}
- \do{Duployan}{"01BC00}{"01BC9F}
\do{OldItalic}{"010300}{"01032F}
- \do{OldNorthArabian}{"010A80}{"010A9F}
- \do{OldSouthArabian}{"010A60}{"010A7F}
- \do{OldTurkic}{"010C00}{"010C4F}
\do{PhaistosDisc}{"0101D0}{"0101FF}
- \do{ShorthandFormatControls}{"01BCA0}{"01BCAF}
\do{SupplementaryPrivateUseAreaA}{"0F0000}{"0FFFFF}
\do{SupplementaryPrivateUseAreaB}{"0100000}{"010FFFF}
+% Unicode 5.2 additions
+ \do{OldSouthArabian}{"010A60}{"010A7F}
+ \do{OldTurkic}{"010C00}{"010C4F}
+% Unicode 7.0 additions
+ \do{Duployan}{"01BC00}{"01BC9F}
+ \do{OldNorthArabian}{"010A80}{"010A9F}
+ \do{ShorthandFormatControls}{"01BCA0}{"01BCAF}
+% Unicode 8.0 additions
+ \do{Ahom}{"011700}{"01173F}
+ \do{AnatolianHieroglyphs}{"014400}{"01467F}
+ \do{EarlyDynasticCuneiform}{"012480}{"01254F}
+ \do{Hatran}{"0108E0}{"0108FF}
+ \do{Multani}{"011280}{"0112AF}
\do{SuttonSignWriting}{"01D800}{"01DAAF}
% Unicode 9.0 additions
\do{Adlam}{"01E900}{"01E95F}
@@ -356,6 +377,33 @@
\do{Nushu}{"01B170}{"01B2FF}
\do{Soyombo}{"011A50}{"011AAF}
\do{ZanabazarSquare}{"011A00}{"011A4F}
+% Unicode 11.0 additions
+ \do{ChessSymbols}{"01FA00}{"01FA6F}
+ \do{Dogra}{"011800}{"01184F}
+ \do{GunjalaGondi}{"011D60}{"011DAF}
+ \do{HanifiRohingya}{"010D00}{"010D3F}
+ \do{IndicSiyaqNumbers}{"01EC70}{"01ECBF}
+ \do{Makasar}{"011EE0}{"011EFF}
+ \do{MayanNumerals}{"01D2E0}{"01D2FF}
+ \do{Medefaidrin}{"016E40}{"016E9F}
+ \do{OldSogdian}{"010F00}{"010F2F}
+ \do{Sogdian}{"010F30}{"010F6F}
+% Unicode 12.0 additions
+ \do{EgyptianHieroglyphFormatControls}{"013430}{"01343F}
+ \do{Elymaic}{"010FE0}{"010FFF}
+ \do{Nandinagari}{"0119A0}{"0119FF}
+ \do{NyiakengPuachueHmong}{"01E100}{"01E14F}
+ \do{OttomanSiyaqNumbers}{"01ED00}{"01ED4F}
+ \do{TamilSupplement}{"011FC0}{"011FFF}
+ \do{Wancho}{"01E2C0}{"01E2FF}
+% Unicode 13.0 additions
+ \do{Chorasmian}{"010FB0}{"010FDF}
+ \do{DivesAkuru}{"011900}{"01195F}
+ \do{KhitanSmallScript}{"018B00}{"018CFF}
+ \do{LisuSupplement}{"011FB0}{"011FBF}
+ \do{SymbolsForLegacyComputing}{"01FB00}{"01FBFF}
+ \do{TangutSupplement}{"018D00}{"018D8F}
+ \do{Yezidi}{"010E80}{"010EBF}
\fi
}
@@ -389,12 +437,13 @@
\doclass{Chinese}
\doclass{CJK}
\doclass{Cyrillics}
+ \doclass{Devanagari}
\doclass{Diacritics}
\doclass{EthiopicFull}
\doclass{GeorgianFull}
\doclass{Greek}
- \doclass{Korean}
\doclass{Japanese}
+ \doclass{Korean}
\doclass{Latin}
\doclass{Mathematics}
\doclass{MongolianFull}
@@ -404,6 +453,7 @@
\doclass{SundaneseFull}
\doclass{Symbols}
\doclass{SyriacFull}
+ \doclass{VedicMarks}
\doclass{Yi}
\doclass{Other}
}
@@ -443,6 +493,7 @@
\do{CJKUnifiedIdeographsExtensionD}
\do{CJKUnifiedIdeographsExtensionE}
\do{CJKUnifiedIdeographsExtensionF}
+ \do{CJKUnifiedIdeographsExtensionG}
\do{EnclosedCJKLettersAndMonths}
\do{EnclosedIdeographicSupplement}
\do{IdeographicDescriptionCharacters}
@@ -467,6 +518,7 @@
\do{CJKUnifiedIdeographsExtensionD}
\do{CJKUnifiedIdeographsExtensionE}
\do{CJKUnifiedIdeographsExtensionF}
+ \do{CJKUnifiedIdeographsExtensionG}
\do{EnclosedCJKLettersAndMonths}
\do{EnclosedIdeographicSupplement}
\do{HalfwidthAndFullwidthForms}
@@ -484,6 +536,7 @@
\do{KangxiRadicals}
\do{Katakana}
\do{KatakanaPhoneticExtensions}
+ \do{SmallKanaExtension}
}
\def\CyrillicsClasses{
@@ -496,6 +549,13 @@
\do{Glagolitic}
}
+\def\DevanagariClasses{
+ \do{DevanagariDanDa}
+ \do{DevanagariPostDanDa}
+ \do{DevanagariPostMarks}
+ \do{DevanagariPreMarks}
+}
+
\def\DiacriticsClasses{
\do{CombiningDiacriticalMarks}
\do{CombiningDiacriticalMarksExtended}
@@ -515,6 +575,7 @@
\def\GeorgianFullClasses{
\do{Georgian}
+ \do{GeorgianExtended}
\do{GeorgianSupplement}
}
@@ -568,7 +629,7 @@
\def\MongolianFullClasses{
\do{Mongolian}
- \do{MongolianSupplement}
+ \do{MongolianSupplement}
}
\def\MyanmarFullClasses{
@@ -615,6 +676,7 @@
\do{SupplementalArrowsB}
\do{SupplementalArrowsC}
\do{SupplementalSymbolsAndPictographs}
+ \do{SymbolsAndPictographsExtendedA}
\do{TransportAndMapSymbols}
}
@@ -623,6 +685,12 @@
\do{SyriacSupplement}
}
+\def\VedicMarksClasses{
+ \do{DevanagariExtended}
+ \do{DevanagariMarks}
+ \do{VedicExtensions}
+}
+
\def\YiClasses{
\do{YiRadicals}
\do{YiSyllables}
@@ -630,7 +698,7 @@
\def\OtherClasses{
\do{AegeanNumbers}
- \do{Ahom}
+% Ahom (see below)
% AnatolianHieroglyphs (see below)
\do{AncientGreekMusicalNotation}
\do{AncientGreekNumbers}
@@ -659,7 +727,6 @@
\do{CuneiformNumbersAndPunctuation}
\do{CypriotSyllabary}
\do{Deseret}
- \do{Devanagari}
\do{DominoTiles}
% Duployan (see below)
\do{EarlyDynasticCuneiform}
@@ -708,7 +775,6 @@
\do{Miao}
\do{Modi}
\do{Mro}
- \do{Multani}
\do{MusicalSymbols}
\do{Nabataean}
\do{NewTaiLue}
@@ -769,34 +835,60 @@
\do{Tirhuta}
\do{Ugaritic}
\do{Vai}
- \do{VedicExtensions}
\do{VerticalForms}
\do{WarangCiti}
\do{YijingHexagramSymbols}
%
\ifdefined\XeTeXinterwordspaceshaping
\do{Adlam}
+ \do{Ahom}
\do{AnatolianHieroglyphs}
\do{Bhaiksuki}
\do{Carian}
+ \do{ChessSymbols}
+ \do{Chorasmian}
+ \do{DivesAkuru}
+ \do{Dogra}
\do{Duployan}
+ \do{EgyptianHieroglyphFormatControls}
+ \do{Elymaic}
+ \do{GeorgianExtended}
+ \do{GunjalaGondi}
+ \do{HanifiRohingya}
+ \do{IndicSiyaqNumbers}
+ \do{LisuSupplement}
+ \do{KhitanSmallScript}
+ \do{Makasar}
\do{Marchen}
\do{MasaramGondi}
+ \do{MayanNumerals}
+ \do{Medefaidrin}
+ \do{Multani}
+ \do{Nandinagari}
\do{Newa}
\do{Nushu}
+ \do{NyiakengPuachueHmong}
\do{OldItalic}
\do{OldNorthArabian}
+ \do{OldSogdian}
\do{OldSouthArabian}
\do{OldTurkic}
\do{Osage}
+ \do{OttomanSiyaqNumbers}
\do{PhaistosDisc}
\do{ShorthandFormatControls}
+ \do{Sogdian}
\do{Soyombo}
\do{SupplementaryPrivateUseAreaA}
\do{SupplementaryPrivateUseAreaB}
\do{SuttonSignWriting}
+ \do{SymbolsForLegacyComputing}
+ \do{TamilSupplement}
\do{Tangut}
\do{TangutComponents}
+ \do{TangutSupplement}
+ \do{Wancho}
+ \do{Yezidi}
\do{ZanabazarSquare}
\fi
}
@@ -981,6 +1073,7 @@
% - Chinese (including bopomofo)
% - CJK (Chinese/Japanese/Korean)
% - Cyrillics
+% - Devanagari
% - Diacritics
% - EthiopicFull
% - GeorgianFull
@@ -997,6 +1090,7 @@
% - SundaneseFull
% - Symbols
% - SyriacFull
+% - VedicMarks
% - Yi
% - Other (I am not a fan of lump groups. I hope to un-lump most of it)
%