summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ucs/config/tags.ucf
blob: f1770ed689d4bff06fe770cc3261c463c7fc36dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# -*-coding: mule-utf-8;-*-

# Tags (U+E0001..U+E007F)

PROVIDE MULTILINE
\global\let\uc@combining@prechar\@ne
\ifx\uc@tagtoks\undefined\newtoks\uc@tagtoks\fi
\gdef\uc@langtag{%
  \expandafter\uppercase\expandafter{\expandafter\uc@tagtoks\expandafter{\the\uc@tagtoks}}%
  \expandafter\ifx\expandafter\@nil\the\uc@tagtoks\@nil\uc@tagtoks{@empty}\fi
  \expandafter\ifx\csname language\the\uc@tagtoks\endcsname\relax
    \PackageError{ucs}{Unknown language tag '\the\uc@tagtoks' (\@backslashchar language\the\uc@tagtoks)}{%
      Define it via \@backslashchar newcommand\@backslashchar language\the\uc@tagtoks{...}.}%
  \else
    \csname language\the\uc@tagtoks\endcsname
  \fi}%
\gdef\uc@endtag{%
  \uc@tagtype%
  \uc@tagtoks{}\let\uc@tagtype\undefined%
  \let\uc@prechar\undefined}%
\gdef\uc@tag#1{%
  \uc@tagtoks\expandafter{\the\uc@tagtoks#1}}%
\gdef\uc@starttag#1{%
  \ifx\uc@prechar\undefined
    \def\uc@prechar##1{\ifnum##1<"E0020 \uc@endtag\fi\ifnum##1>"E007E \uc@endtag\fi}%
    \let\uc@tagtype#1%
  \else
    \PackageError{ucs}{\protect\uc@prechar\space already
      defined.}{Something is already using the \protect\uc@prechar
      mechanism. Tags can't be collected properly.}%
  \fi}%
{\lccode`\A`\{\relax\lccode`\B`\}\relax\lccode`\C`\~\lowercase{%
  \gdef\@leftbracechar{A}%
  \gdef\@rightbracechar{B}%
  \gdef\@tildechar{C}}}%
END

CTRLGLYPH

U+E0001 \uc@starttag\uc@langtag	# [Á³À À€Â]	# [󠀁]

# If other possible tag types occur, 
# add them after \undefined in the next command.
U+E007F \uc@tagtoks{CANCEL}\ifx\uc@tagtype\undefined\uc@langtag\else\uc@tagtype\fi\uc@tagtoks{}\let\uc@tagtype\undefined\let\uc@prechar\undefined	# [󠁿]

ENVELOPE \uc@tag @@@

U+E0020 { }		# [󠀠]
U+E0021 !		# [󠀡]
U+E0022 "		# [󠀢]
U+E0023 {##}		# [󠀣]
U+E0024 $		# [󠀤]
U+E0025 \@percentchar	# [󠀥]
U+E0026 &		# [󠀦]
U+E0027 '		# [󠀧]
U+E0028 (		# [󠀨]
U+E0029 )		# [󠀩]
U+E002A *		# [󠀪]
U+E002B +		# [󠀫]
U+E002C ,		# [󠀬]
U+E002D -		# [󠀭]
U+E002E .		# [󠀮]
U+E002F /		# [󠀯]
U+E0030 0		# [󠀰]
U+E0031 1		# [󠀱]
U+E0032 2		# [󠀲]
U+E0033 3		# [󠀳]
U+E0034 4		# [󠀴]
U+E0035 5		# [󠀵]
U+E0036 6		# [󠀶]
U+E0037 7		# [󠀷]
U+E0038 8		# [󠀸]
U+E0039 9		# [󠀹]
U+E003A :		# [󠀺]
U+E003B ;		# [󠀻]
U+E003C <		# [󠀼]
U+E003D =		# [󠀽]
U+E003E >		# [󠀾]
U+E003F ?		# [󠀿]
U+E0040 @		# [󠁀]
U+E0041 A		# [󠁁]
U+E0042 B		# [󠁂]
U+E0043 C		# [󠁃]
U+E0044 D		# [󠁄]
U+E0045 E		# [󠁅]
U+E0046 F		# [󠁆]
U+E0047 G		# [󠁇]
U+E0048 H		# [󠁈]
U+E0049 I		# [󠁉]
U+E004A J		# [󠁊]
U+E004B K		# [󠁋]
U+E004C L		# [󠁌]
U+E004D M		# [󠁍]
U+E004E N		# [󠁎]
U+E004F O		# [󠁏]
U+E0050 P		# [󠁐]
U+E0051 Q		# [󠁑]
U+E0052 R		# [󠁒]
U+E0053 S		# [󠁓]
U+E0054 T		# [󠁔]
U+E0055 U		# [󠁕]
U+E0056 V		# [󠁖]
U+E0057 W		# [󠁗]
U+E0058 X		# [󠁘]
U+E0059 Y		# [󠁙]
U+E005A Z		# [󠁚]
U+E005B [		# [󠁛]
U+E005C \@backslashchar	# [󠁜]
U+E005D ]		# [󠁝]
U+E005E ^		# [󠁞]
U+E005F _		# [󠁟]
U+E0060 `		# [󠁠]
U+E0061 a		# [󠁡]
U+E0062 b		# [󠁢]
U+E0063 c		# [󠁣]
U+E0064 d		# [󠁤]
U+E0065 e		# [󠁥]
U+E0066 f		# [󠁦]
U+E0067 g		# [󠁧]
U+E0068 h		# [󠁨]
U+E0069 i		# [󠁩]
U+E006A j		# [󠁪]
U+E006B k		# [󠁫]
U+E006C l		# [󠁬]
U+E006D m		# [󠁭]
U+E006E n		# [󠁮]
U+E006F o		# [󠁯]
U+E0070 p		# [󠁰]
U+E0071 q		# [󠁱]
U+E0072 r		# [󠁲]
U+E0073 s		# [󠁳]
U+E0074 t		# [󠁴]
U+E0075 u		# [󠁵]
U+E0076 v		# [󠁶]
U+E0077 w		# [󠁷]
U+E0078 x		# [󠁸]
U+E0079 y		# [󠁹]
U+E007A z		# [󠁺]
U+E007B \@leftbracechar	# [󠁻]
U+E007C |		# [󠁼]
U+E007D \@rightbracechar # [󠁽]
U+E007E \@tildechar	# [󠁾]