Skip to content

Commit a2c3900

Browse files
eggrobinmarkusicu
andcommitted
Create two informative properties, ID_Compat_Math_Start and ID_Compat_Math_Continue, as documented in section 7.1, Mathematical Compatibility Notation Profile, of the proposed update of UAX 31 (revision 38, draft 6), for Unicode Version 15.1. Update PropertyAliases.txt and PropList.txt as appropriate. See L2/23-008 item 6.1.
Co-authored-by: Robin Leroy <[email protected]> Co-authored-by: Markus Scherer <[email protected]>
1 parent dffc5ca commit a2c3900

File tree

8 files changed

+118
-9
lines changed

8 files changed

+118
-9
lines changed

unicodetools/data/ucd/dev/PropList.txt

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PropList-15.1.0.txt
2-
# Date: 2023-01-31, 21:26:44 GMT
2+
# Date: 2023-01-31, 22:27:04 GMT
33
# © 2023 Unicode®, Inc.
44
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
55
# For terms of use, see https://www.unicode.org/terms_of_use.html
@@ -1389,6 +1389,53 @@ AABB..AABC ; Logical_Order_Exception # Lo [2] TAI VIET VOWEL AUE..TAI VIET
13891389

13901390
# ================================================
13911391

1392+
00B2..00B3 ; ID_Compat_Math_Continue # No [2] SUPERSCRIPT TWO..SUPERSCRIPT THREE
1393+
00B9 ; ID_Compat_Math_Continue # No SUPERSCRIPT ONE
1394+
2070 ; ID_Compat_Math_Continue # No SUPERSCRIPT ZERO
1395+
2074..2079 ; ID_Compat_Math_Continue # No [6] SUPERSCRIPT FOUR..SUPERSCRIPT NINE
1396+
207A..207C ; ID_Compat_Math_Continue # Sm [3] SUPERSCRIPT PLUS SIGN..SUPERSCRIPT EQUALS SIGN
1397+
207D ; ID_Compat_Math_Continue # Ps SUPERSCRIPT LEFT PARENTHESIS
1398+
207E ; ID_Compat_Math_Continue # Pe SUPERSCRIPT RIGHT PARENTHESIS
1399+
2080..2089 ; ID_Compat_Math_Continue # No [10] SUBSCRIPT ZERO..SUBSCRIPT NINE
1400+
208A..208C ; ID_Compat_Math_Continue # Sm [3] SUBSCRIPT PLUS SIGN..SUBSCRIPT EQUALS SIGN
1401+
208D ; ID_Compat_Math_Continue # Ps SUBSCRIPT LEFT PARENTHESIS
1402+
208E ; ID_Compat_Math_Continue # Pe SUBSCRIPT RIGHT PARENTHESIS
1403+
2202 ; ID_Compat_Math_Continue # Sm PARTIAL DIFFERENTIAL
1404+
2207 ; ID_Compat_Math_Continue # Sm NABLA
1405+
221E ; ID_Compat_Math_Continue # Sm INFINITY
1406+
1D6C1 ; ID_Compat_Math_Continue # Sm MATHEMATICAL BOLD NABLA
1407+
1D6DB ; ID_Compat_Math_Continue # Sm MATHEMATICAL BOLD PARTIAL DIFFERENTIAL
1408+
1D6FB ; ID_Compat_Math_Continue # Sm MATHEMATICAL ITALIC NABLA
1409+
1D715 ; ID_Compat_Math_Continue # Sm MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL
1410+
1D735 ; ID_Compat_Math_Continue # Sm MATHEMATICAL BOLD ITALIC NABLA
1411+
1D74F ; ID_Compat_Math_Continue # Sm MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL
1412+
1D76F ; ID_Compat_Math_Continue # Sm MATHEMATICAL SANS-SERIF BOLD NABLA
1413+
1D789 ; ID_Compat_Math_Continue # Sm MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL
1414+
1D7A9 ; ID_Compat_Math_Continue # Sm MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA
1415+
1D7C3 ; ID_Compat_Math_Continue # Sm MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL
1416+
1417+
# Total code points: 43
1418+
1419+
# ================================================
1420+
1421+
2202 ; ID_Compat_Math_Start # Sm PARTIAL DIFFERENTIAL
1422+
2207 ; ID_Compat_Math_Start # Sm NABLA
1423+
221E ; ID_Compat_Math_Start # Sm INFINITY
1424+
1D6C1 ; ID_Compat_Math_Start # Sm MATHEMATICAL BOLD NABLA
1425+
1D6DB ; ID_Compat_Math_Start # Sm MATHEMATICAL BOLD PARTIAL DIFFERENTIAL
1426+
1D6FB ; ID_Compat_Math_Start # Sm MATHEMATICAL ITALIC NABLA
1427+
1D715 ; ID_Compat_Math_Start # Sm MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL
1428+
1D735 ; ID_Compat_Math_Start # Sm MATHEMATICAL BOLD ITALIC NABLA
1429+
1D74F ; ID_Compat_Math_Start # Sm MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL
1430+
1D76F ; ID_Compat_Math_Start # Sm MATHEMATICAL SANS-SERIF BOLD NABLA
1431+
1D789 ; ID_Compat_Math_Start # Sm MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL
1432+
1D7A9 ; ID_Compat_Math_Start # Sm MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA
1433+
1D7C3 ; ID_Compat_Math_Start # Sm MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL
1434+
1435+
# Total code points: 13
1436+
1437+
# ================================================
1438+
13921439
0021 ; Sentence_Terminal # Po EXCLAMATION MARK
13931440
002E ; Sentence_Terminal # Po FULL STOP
13941441
003F ; Sentence_Terminal # Po QUESTION MARK

unicodetools/data/ucd/dev/PropertyAliases.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PropertyAliases-15.1.0.txt
2-
# Date: 2023-01-05, 20:34:48 GMT
2+
# Date: 2023-01-31, 22:27:07 GMT
33
# © 2023 Unicode®, Inc.
44
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
55
# For terms of use, see https://www.unicode.org/terms_of_use.html
@@ -168,6 +168,8 @@ Gr_Ext ; Grapheme_Extend
168168
Gr_Link ; Grapheme_Link
169169
Hex ; Hex_Digit
170170
Hyphen ; Hyphen
171+
ID_Compat_Math_Continue ; ID_Compat_Math_Continue
172+
ID_Compat_Math_Start ; ID_Compat_Math_Start
171173
IDC ; ID_Continue
172174
Ideo ; Ideographic
173175
IDS ; ID_Start
@@ -208,6 +210,6 @@ XO_NFKC ; Expands_On_NFKC
208210
XO_NFKD ; Expands_On_NFKD
209211

210212
# ================================================
211-
# Total: 130
213+
# Total: 132
212214

213215
# EOF

unicodetools/data/ucd/dev/PropertyValueAliases.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PropertyValueAliases-15.1.0.txt
2-
# Date: 2023-01-05, 20:34:48 GMT
2+
# Date: 2023-01-31, 22:27:07 GMT
33
# © 2023 Unicode®, Inc.
44
# Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries.
55
# For terms of use, see https://www.unicode.org/terms_of_use.html
@@ -823,6 +823,16 @@ IDST; Y ; Yes ; T
823823
IDSU; N ; No ; F ; False
824824
IDSU; Y ; Yes ; T ; True
825825

826+
# ID_Compat_Math_Continue (ID_Compat_Math_Continue)
827+
828+
ID_Compat_Math_Continue; N ; No ; F ; False
829+
ID_Compat_Math_Continue; Y ; Yes ; T ; True
830+
831+
# ID_Compat_Math_Start (ID_Compat_Math_Start)
832+
833+
ID_Compat_Math_Start; N ; No ; F ; False
834+
ID_Compat_Math_Start; Y ; Yes ; T ; True
835+
826836
# ID_Continue (IDC)
827837

828838
IDC; N ; No ; F ; False

unicodetools/src/main/java/org/unicode/props/UcdProperty.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ public enum UcdProperty {
281281
IDS_Binary_Operator(PropertyType.Binary, Binary.class, null, "IDSB"),
282282
IDS_Trinary_Operator(PropertyType.Binary, Binary.class, null, "IDST"),
283283
IDS_Unary_Operator(PropertyType.Binary, Binary.class, null, "IDSU"),
284+
ID_Compat_Math_Continue(PropertyType.Binary, Binary.class, null, "ID_Compat_Math_Continue"),
285+
ID_Compat_Math_Start(PropertyType.Binary, Binary.class, null, "ID_Compat_Math_Start"),
284286
ID_Continue(PropertyType.Binary, Binary.class, null, "IDC"),
285287
ID_Start(PropertyType.Binary, Binary.class, null, "IDS"),
286288
Ideographic(PropertyType.Binary, Binary.class, null, "Ideo"),

unicodetools/src/main/java/org/unicode/text/UCD/UCD_Names.java

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,53 @@ public final class UCD_Names implements UCD_Types {
104104
"Prepended_Concatenation_Mark",
105105
"Regional_Indicator",
106106
"IDS_Unary_Operator",
107+
"ID_Compat_Math_Start",
108+
"ID_Compat_Math_Continue",
107109
};
108110

109111
static final String[] SHORT_BP = {
110-
"Bidi_M", "CE", "WSpace", "NBrk", "Bidi_C", "JoinC", "Dash", "Hyphen", "QMark", "Term",
111-
"OMath", "Hex", "AHex", "OAlpha", "Ideo", "Dia", "Ext", "OLower", "OUpper", "NChar",
112-
"TurkI", "OGrExt", "Gr_Link", "IDSB", "IDST", "Radical", "UIdeo", "ODI", "Dep", "SD", "LOE",
113-
"OIDS", "STerm", "VS", "OIDC", "PatWS", "PatSyn", "PCM", "RI", "IDSU",
112+
"Bidi_M",
113+
"CE",
114+
"WSpace",
115+
"NBrk",
116+
"Bidi_C",
117+
"JoinC",
118+
"Dash",
119+
"Hyphen",
120+
"QMark",
121+
"Term",
122+
"OMath",
123+
"Hex",
124+
"AHex",
125+
"OAlpha",
126+
"Ideo",
127+
"Dia",
128+
"Ext",
129+
"OLower",
130+
"OUpper",
131+
"NChar",
132+
"TurkI",
133+
"OGrExt",
134+
"Gr_Link",
135+
"IDSB",
136+
"IDST",
137+
"Radical",
138+
"UIdeo",
139+
"ODI",
140+
"Dep",
141+
"SD",
142+
"LOE",
143+
"OIDS",
144+
"STerm",
145+
"VS",
146+
"OIDC",
147+
"PatWS",
148+
"PatSyn",
149+
"PCM",
150+
"RI",
151+
"IDSU",
152+
"ID_Compat_Math_Start",
153+
"ID_Compat_Math_Continue",
114154
};
115155

116156
public static final int BINARY_UNIFIED_IDEOGRAPH =

unicodetools/src/main/java/org/unicode/text/UCD/UCD_Types.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,9 @@ public interface UCD_Types {
260260
Prepended_Concatenation_Mark = 37,
261261
Regional_Indicator = 38,
262262
IDS_UnaryOperator = 39,
263-
LIMIT_BINARY_PROPERTIES = 40;
263+
ID_Compat_Math_Start = 40,
264+
ID_Compat_Math_Continue = 41,
265+
LIMIT_BINARY_PROPERTIES = 42;
264266

265267
/*
266268
static final int

unicodetools/src/main/resources/org/unicode/props/IndexUnicodeProperties.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ PropList ; Extender
161161
PropList ; Hex_Digit
162162
PropList ; Hyphen
163163
PropList ; Ideographic
164+
PropList ; ID_Compat_Math_Continue
165+
PropList ; ID_Compat_Math_Start
164166
PropList ; IDS_Binary_Operator
165167
PropList ; IDS_Trinary_Operator
166168
PropList ; IDS_Unary_Operator

unicodetools/src/main/resources/org/unicode/text/UCD/MakeUnicodeFiles.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,10 @@ Property: Other_ID_Start
692692

693693
Property: Other_ID_Continue
694694

695+
Property: ID_Compat_Math_Continue
696+
697+
Property: ID_Compat_Math_Start
698+
695699
Property: STerm
696700

697701
Property: Variation_Selector

0 commit comments

Comments
 (0)