Debian Codegraph @

simpletal/sgmlentitynames.py

raw symbols SCIP
1 """ simpleTAL Implementation
2
3 Copyright (c) 2009 Colin Stewart (http://www.owlfish.com/)
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions
8 are met:
9 1. Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
11 2. Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
13 documentation and/or other materials provided with the distribution.
14 3. The name of the author may not be used to endorse or promote products
15 derived from this software without specific prior written permission.
16
17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
28 If you make any bug fixes or feature enhancements please let me know!
29
30 A dictionary of HTML entity names to their decimal value.
31 """
32
33 htmlNameToUnicodeNumber = {"nbsp": 160
34 ,"iexcl": 161
35 ,"cent": 162
36 ,"pound": 163
37 ,"curren": 164
38 ,"yen": 165
39 ,"brvbar": 166
40 ,"sect": 167
41 ,"uml": 168
42 ,"copy": 169
43 ,"ordf": 170
44 ,"laquo": 171
45 ,"not": 172
46 ,"shy": 173
47 ,"reg": 174
48 ,"macr": 175
49 ,"deg": 176
50 ,"plusmn": 177
51 ,"sup2": 178
52 ,"sup3": 179
53 ,"acute": 180
54 ,"micro": 181
55 ,"para": 182
56 ,"middot": 183
57 ,"cedil": 184
58 ,"sup1": 185
59 ,"ordm": 186
60 ,"raquo": 187
61 ,"frac14": 188
62 ,"frac12": 189
63 ,"frac34": 190
64 ,"iquest": 191
65 ,"Agrave": 192
66 ,"Aacute": 193
67 ,"Acirc": 194
68 ,"Atilde": 195
69 ,"Auml": 196
70 ,"Aring": 197
71 ,"AElig": 198
72 ,"Ccedil": 199
73 ,"Egrave": 200
74 ,"Eacute": 201
75 ,"Ecirc": 202
76 ,"Euml": 203
77 ,"Igrave": 204
78 ,"Iacute": 205
79 ,"Icirc": 206
80 ,"Iuml": 207
81 ,"ETH": 208
82 ,"Ntilde": 209
83 ,"Ograve": 210
84 ,"Oacute": 211
85 ,"Ocirc": 212
86 ,"Otilde": 213
87 ,"Ouml": 214
88 ,"times": 215
89 ,"Oslash": 216
90 ,"Ugrave": 217
91 ,"Uacute": 218
92 ,"Ucirc": 219
93 ,"Uuml": 220
94 ,"Yacute": 221
95 ,"THORN": 222
96 ,"szlig": 223
97 ,"agrave": 224
98 ,"aacute": 225
99 ,"acirc": 226
100 ,"atilde": 227
101 ,"auml": 228
102 ,"aring": 229
103 ,"aelig": 230
104 ,"ccedil": 231
105 ,"egrave": 232
106 ,"eacute": 233
107 ,"ecirc": 234
108 ,"euml": 235
109 ,"igrave": 236
110 ,"iacute": 237
111 ,"icirc": 238
112 ,"iuml": 239
113 ,"eth": 240
114 ,"ntilde": 241
115 ,"ograve": 242
116 ,"oacute": 243
117 ,"ocirc": 244
118 ,"otilde": 245
119 ,"ouml": 246
120 ,"divide": 247
121 ,"oslash": 248
122 ,"ugrave": 249
123 ,"uacute": 250
124 ,"ucirc": 251
125 ,"uuml": 252
126 ,"yacute": 253
127 ,"thorn": 254
128 ,"yuml": 255
129 ,"fnof": 402
130 ,"Alpha": 913
131 ,"Beta": 914
132 ,"Gamma": 915
133 ,"Delta": 916
134 ,"Epsilon": 917
135 ,"Zeta": 918
136 ,"Eta": 919
137 ,"Theta": 920
138 ,"Iota": 921
139 ,"Kappa": 922
140 ,"Lambda": 923
141 ,"Mu": 924
142 ,"Nu": 925
143 ,"Xi": 926
144 ,"Omicron": 927
145 ,"Pi": 928
146 ,"Rho": 929
147 ,"Sigma": 931
148 ,"Tau": 932
149 ,"Upsilon": 933
150 ,"Phi": 934
151 ,"Chi": 935
152 ,"Psi": 936
153 ,"Omega": 937
154 ,"alpha": 945
155 ,"beta": 946
156 ,"gamma": 947
157 ,"delta": 948
158 ,"epsilon": 949
159 ,"zeta": 950
160 ,"eta": 951
161 ,"theta": 952
162 ,"iota": 953
163 ,"kappa": 954
164 ,"lambda": 955
165 ,"mu": 956
166 ,"nu": 957
167 ,"xi": 958
168 ,"omicron": 959
169 ,"pi": 960
170 ,"rho": 961
171 ,"sigmaf": 962
172 ,"sigma": 963
173 ,"tau": 964
174 ,"upsilon": 965
175 ,"phi": 966
176 ,"chi": 967
177 ,"psi": 968
178 ,"omega": 969
179 ,"thetasym": 977
180 ,"upsih": 978
181 ,"piv": 982
182 ,"bull": 8226
183 ,"hellip": 8230
184 ,"prime": 8242
185 ,"Prime": 8243
186 ,"oline": 8254
187 ,"frasl": 8260
188 ,"weierp": 8472
189 ,"image": 8465
190 ,"real": 8476
191 ,"trade": 8482
192 ,"alefsym": 8501
193 ,"larr": 8592
194 ,"uarr": 8593
195 ,"rarr": 8594
196 ,"darr": 8595
197 ,"harr": 8596
198 ,"crarr": 8629
199 ,"lArr": 8656
200 ,"uArr": 8657
201 ,"rArr": 8658
202 ,"dArr": 8659
203 ,"hArr": 8660
204 ,"forall": 8704
205 ,"part": 8706
206 ,"exist": 8707
207 ,"empty": 8709
208 ,"nabla": 8711
209 ,"isin": 8712
210 ,"notin": 8713
211 ,"ni": 8715
212 ,"prod": 8719
213 ,"sum": 8721
214 ,"minus": 8722
215 ,"lowast": 8727
216 ,"radic": 8730
217 ,"prop": 8733
218 ,"infin": 8734
219 ,"ang": 8736
220 ,"and": 8743
221 ,"or": 8744
222 ,"cap": 8745
223 ,"cup": 8746
224 ,"int": 8747
225 ,"there4": 8756
226 ,"sim": 8764
227 ,"cong": 8773
228 ,"asymp": 8776
229 ,"ne": 8800
230 ,"equiv": 8801
231 ,"le": 8804
232 ,"ge": 8805
233 ,"sub": 8834
234 ,"sup": 8835
235 ,"nsub": 8836
236 ,"sube": 8838
237 ,"supe": 8839
238 ,"oplus": 8853
239 ,"otimes": 8855
240 ,"perp": 8869
241 ,"sdot": 8901
242 ,"lceil": 8968
243 ,"rceil": 8969
244 ,"lfloor": 8970
245 ,"rfloor": 8971
246 ,"lang": 9001
247 ,"rang": 9002
248 ,"loz": 9674
249 ,"spades": 9824
250 ,"clubs": 9827
251 ,"hearts": 9829
252 ,"diams": 9830
253 ,"quot": 34
254 ,"amp": 38
255 ,"lt": 60
256 ,"gt": 62
257 ,"OElig": 338
258 ,"oelig": 339
259 ,"Scaron": 352
260 ,"scaron": 353
261 ,"Yuml": 376
262 ,"circ": 710
263 ,"tilde": 732
264 ,"ensp": 8194
265 ,"emsp": 8195
266 ,"thinsp": 8201
267 ,"zwnj": 8204
268 ,"zwj": 8205
269 ,"lrm": 8206
270 ,"rlm": 8207
271 ,"ndash": 8211
272 ,"mdash": 8212
273 ,"lsquo": 8216
274 ,"rsquo": 8217
275 ,"sbquo": 8218
276 ,"ldquo": 8220
277 ,"rdquo": 8221
278 ,"bdquo": 8222
279 ,"dagger": 8224
280 ,"Dagger": 8225
281 ,"permil": 8240
282 ,"lsaquo": 8249
283 ,"rsaquo": 8250
284 ,"euro": 8364}