Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/planix-v0/sys/src/cmd/troff2html/chars.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* sorted by unicode value */
2
Htmlchar htmlchars[] =
3
{
4
	{ "\"",	""" },
5
	{ "&",	"&" },
6
	{ "<",	"&lt;" },
7
	{ ">",	"&gt;" },
8
	{ "¡",	"&iexcl;" },
9
	{ "¢",	"&cent;" },
10
	{ "£",	"&pound;" },
11
	{ "¤",	"&curren;" },
12
	{ "¥",	"&yen;" },
13
	{ "¦",	"&brvbar;" },
14
	{ "§",	"&sect;" },
15
	{ "¨",	"&uml;" },
16
	{ "©",	"&copy;" },
17
	{ "ª",	"&ordf;" },
18
	{ "«",	"&laquo;" },
19
	{ "¬",	"&not;" },
20
	{ "-",	"&ndash;" },
21
	{ "­",	"&ndash;" },
22
	{ "®",	"&reg;" },
23
	{ "¯",	"&macr;" },
24
	{ "°",	"&deg;" },
25
	{ "±",	"&plusmn;" },
26
	{ "²",	"&sup2;" },
27
	{ "³",	"&sup3;" },
28
	{ "´",	"&acute;" },
29
	{ "µ",	"&micro;" },
30
	{ "¶",	"&para;" },
31
	{ "·",	"&middot;" },
32
	{ "¸",	"&cedil;" },
33
	{ "¹",	"&sup1;" },
34
	{ "º",	"&ordm;" },
35
	{ "»",	"&raquo;" },
36
	{ "¼",	"&frac14;" },
37
	{ "½",	"&frac12;" },
38
	{ "¾",	"&frac34;" },
39
	{ "¿",	"&iquest;" },
40
	{ "À",	"&Agrave;" },
41
	{ "Á",	"&Aacute;" },
42
	{ "Â",	"&Acirc;" },
43
	{ "Ã",	"&Atilde;" },
44
	{ "Ä",	"&Auml;" },
45
	{ "Å",	"&Aring;" },
46
	{ "Æ",	"&AElig;" },
47
	{ "Ç",	"&Ccedil;" },
48
	{ "È",	"&Egrave;" },
49
	{ "É",	"&Eacute;" },
50
	{ "Ê",	"&Ecirc;" },
51
	{ "Ë",	"&Euml;" },
52
	{ "Ì",	"&Igrave;" },
53
	{ "Í",	"&Iacute;" },
54
	{ "Î",	"&Icirc;" },
55
	{ "Ï",	"&Iuml;" },
56
	{ "Ð",	"&ETH;" },
57
	{ "Ñ",	"&Ntilde;" },
58
	{ "Ò",	"&Ograve;" },
59
	{ "Ó",	"&Oacute;" },
60
	{ "Ô",	"&Ocirc;" },
61
	{ "Õ",	"&Otilde;" },
62
	{ "Ö",	"&Ouml;" },
63
	{ "×",	"x" },
64
	{ "Ø",	"&Oslash;" },
65
	{ "Ù",	"&Ugrave;" },
66
	{ "Ú",	"&Uacute;" },
67
	{ "Û",	"&Ucirc;" },
68
	{ "Ü",	"&Uuml;" },
69
	{ "Ý",	"&Yacute;" },
70
	{ "Þ",	"&THORN;" },
71
	{ "ß",	"&szlig;" },
72
	{ "à",	"&agrave;" },
73
	{ "á",	"&aacute;" },
74
	{ "â",	"&acirc;" },
75
	{ "ã",	"&atilde;" },
76
	{ "ä",	"&auml;" },
77
	{ "å",	"&aring;" },
78
	{ "æ",	"&aelig;" },
79
	{ "ç",	"&ccedil;" },
80
	{ "è",	"&egrave;" },
81
	{ "é",	"&eacute;" },
82
	{ "ê",	"&ecirc;" },
83
	{ "ë",	"&euml;" },
84
	{ "ì",	"&igrave;" },
85
	{ "í",	"&iacute;" },
86
	{ "î",	"&icirc;" },
87
	{ "ï",	"&iuml;" },
88
	{ "ð",	"&eth;" },
89
	{ "ñ",	"&ntilde;" },
90
	{ "ò",	"&ograve;" },
91
	{ "ó",	"&oacute;" },
92
	{ "ô",	"&ocirc;" },
93
	{ "õ",	"&otilde;" },
94
	{ "ö",	"&ouml;" },
95
	{ "ø",	"&oslash;" },
96
	{ "ù",	"&ugrave;" },
97
	{ "ú",	"&uacute;" },
98
	{ "û",	"&ucirc;" },
99
	{ "ü",	"&uuml;" },
100
	{ "ý",	"&yacute;" },
101
	{ "þ",	"&thorn;" },
102
	{ "ÿ",	"&yuml;" },
103
	{ "•",	"*" },
104
	{ "™",	"(tm)" },
105
	{ "←", 	"&larr;" },
106
	{ "↑", 	"&uarr;" },
107
	{ "→", 	"&rarr;" },
108
	{ "↓", 	"&darr;" },
109
	{ "≠",	"!=" },
110
	{ "≤", 	"&le;" },
111
/*	{ "□",	"&#164;" },
112
	{ "◊",	"&#186;" }, */
113
};
114
 
115
/* unsorted */
116
Troffchar troffchars[] =
117
{
118
	{ "A*", "&Aring;", },
119
	{ "o\"", "&ouml;", },
120
	{ "ff", "ff", },
121
	{ "fi", "fi", },
122
	{ "fl", "fl", },
123
	{ "Fi", "ffi", },
124
	{ "ru", "_", },
125
	{ "em", "--", },
126
	{ "en", "-", },
127
	{ "\\-", "&ndash;", },
128
	{ "14", "&#188;", },
129
	{ "12", "&#189;", },
130
	{ "co", "&#169;", },
131
	{ "de", "&#176;", },
132
	{ "dg", "&#161;", },
133
	{ "fm", "&#180;", },
134
	{ "rg", "&#174;", },
135
	{ "bu", "*", },
136
	{ "sq", "&#164;", },
137
	{ "hy", "&ndash;", },
138
	{ "pl", "+", },
139
	{ "mi", "-", },
140
	{ "mu", "&#215;", },
141
	{ "di", "&#247;", },
142
	{ "eq", "=", },
143
	{ "==", "==", },
144
	{ ">=", ">=", },
145
	{ "<=", "<=", },
146
	{ "!=", "!=", },
147
	{ "+-", "&#177;", },
148
	{ "no", "&#172;", },
149
	{ "sl", "/", },
150
	{ "ap", "&", },
151
	{ "~=", "~=", },
152
	{ "pt", "oc", },
153
	{ "gr", "GRAD", },
154
	{ "->", "->", },
155
	{ "<-", "<-", },
156
	{ "ua", "^", },
157
	{ "da", "v", },
158
	{ "is", "Integral", },
159
	{ "pd", "DIV", },
160
	{ "if", "oo", },
161
	{ "sr", "-/", },
162
	{ "sb", "(~", },
163
	{ "sp", "~)", },
164
	{ "cu", "U", },
165
	{ "ca", "(^)", },
166
	{ "ib", "(=", },
167
	{ "ip", "=)", },
168
	{ "mo", "C", },
169
	{ "es", "&Oslash;", },
170
	{ "aa", "&#180;", },
171
	{ "ga", "`", },
172
	{ "ci", "O", },
173
	{ "L1", "DEATHSTAR", },
174
	{ "sc", "&#167;", },
175
	{ "dd", "++", },
176
	{ "lh", "<=", },
177
	{ "rh", "=>", },
178
	{ "lt", "(", },
179
	{ "rt", ")", },
180
	{ "lc", "|", },
181
	{ "rc", "|", },
182
	{ "lb", "(", },
183
	{ "rb", ")", },
184
	{ "lf", "|", },
185
	{ "rf", "|", },
186
	{ "lk", "|", },
187
	{ "rk", "|", },
188
	{ "bv", "|", },
189
	{ "ts", "s", },
190
	{ "br", "|", },
191
	{ "or", "|", },
192
	{ "ul", "_", },
193
	{ "rn", " ", },
194
	{ "**", "*", },
195
	{ nil, nil, },
196
};