org-ruby 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,346 +1,365 @@
1
- # encoding: utf-8
1
+ # -*- coding: utf-8 -*-
2
2
  # Autogenerated by util/gen-special-replace.el
3
3
 
4
4
  module Orgmode
5
- def Orgmode.special_symbols_to_textile(str)
6
- str.gsub!(/\\Agrave((\{\})|(\s|$))/, "À\\3")
7
- str.gsub!(/\\agrave((\{\})|(\s|$))/, "à\\3")
8
- str.gsub!(/\\Aacute((\{\})|(\s|$))/, "Á\\3")
9
- str.gsub!(/\\aacute((\{\})|(\s|$))/, "á\\3")
10
- str.gsub!(/\\Acirc((\{\})|(\s|$))/, "Â\\3")
11
- str.gsub!(/\\acirc((\{\})|(\s|$))/, "â\\3")
12
- str.gsub!(/\\Atilde((\{\})|(\s|$))/, "Ã\\3")
13
- str.gsub!(/\\atilde((\{\})|(\s|$))/, "ã\\3")
14
- str.gsub!(/\\Auml((\{\})|(\s|$))/, "Ä\\3")
15
- str.gsub!(/\\auml((\{\})|(\s|$))/, "ä\\3")
16
- str.gsub!(/\\Aring((\{\})|(\s|$))/, "Å\\3")
17
- str.gsub!(/\\AA((\{\})|(\s|$))/, "Å\\3")
18
- str.gsub!(/\\aring((\{\})|(\s|$))/, "å\\3")
19
- str.gsub!(/\\AElig((\{\})|(\s|$))/, "Æ\\3")
20
- str.gsub!(/\\aelig((\{\})|(\s|$))/, "æ\\3")
21
- str.gsub!(/\\Ccedil((\{\})|(\s|$))/, "Ç\\3")
22
- str.gsub!(/\\ccedil((\{\})|(\s|$))/, "ç\\3")
23
- str.gsub!(/\\Egrave((\{\})|(\s|$))/, "È\\3")
24
- str.gsub!(/\\egrave((\{\})|(\s|$))/, "è\\3")
25
- str.gsub!(/\\Eacute((\{\})|(\s|$))/, "É\\3")
26
- str.gsub!(/\\eacute((\{\})|(\s|$))/, "é\\3")
27
- str.gsub!(/\\Ecirc((\{\})|(\s|$))/, "Ê\\3")
28
- str.gsub!(/\\ecirc((\{\})|(\s|$))/, "ê\\3")
29
- str.gsub!(/\\Euml((\{\})|(\s|$))/, "Ë\\3")
30
- str.gsub!(/\\euml((\{\})|(\s|$))/, "ë\\3")
31
- str.gsub!(/\\Igrave((\{\})|(\s|$))/, "Ì\\3")
32
- str.gsub!(/\\igrave((\{\})|(\s|$))/, "ì\\3")
33
- str.gsub!(/\\Iacute((\{\})|(\s|$))/, "Í\\3")
34
- str.gsub!(/\\iacute((\{\})|(\s|$))/, "í\\3")
35
- str.gsub!(/\\Icirc((\{\})|(\s|$))/, "Î\\3")
36
- str.gsub!(/\\icirc((\{\})|(\s|$))/, "î\\3")
37
- str.gsub!(/\\Iuml((\{\})|(\s|$))/, "Ï\\3")
38
- str.gsub!(/\\iuml((\{\})|(\s|$))/, "ï\\3")
39
- str.gsub!(/\\Ntilde((\{\})|(\s|$))/, "Ñ\\3")
40
- str.gsub!(/\\ntilde((\{\})|(\s|$))/, "ñ\\3")
41
- str.gsub!(/\\Ograve((\{\})|(\s|$))/, "Ò\\3")
42
- str.gsub!(/\\ograve((\{\})|(\s|$))/, "ò\\3")
43
- str.gsub!(/\\Oacute((\{\})|(\s|$))/, "Ó\\3")
44
- str.gsub!(/\\oacute((\{\})|(\s|$))/, "ó\\3")
45
- str.gsub!(/\\Ocirc((\{\})|(\s|$))/, "Ô\\3")
46
- str.gsub!(/\\ocirc((\{\})|(\s|$))/, "ô\\3")
47
- str.gsub!(/\\Otilde((\{\})|(\s|$))/, "Õ\\3")
48
- str.gsub!(/\\otilde((\{\})|(\s|$))/, "õ\\3")
49
- str.gsub!(/\\Ouml((\{\})|(\s|$))/, "Ö\\3")
50
- str.gsub!(/\\ouml((\{\})|(\s|$))/, "ö\\3")
51
- str.gsub!(/\\Oslash((\{\})|(\s|$))/, "Ø\\3")
52
- str.gsub!(/\\oslash((\{\})|(\s|$))/, "ø\\3")
53
- str.gsub!(/\\OElig((\{\})|(\s|$))/, "Œ\\3")
54
- str.gsub!(/\\oelig((\{\})|(\s|$))/, "œ\\3")
55
- str.gsub!(/\\Scaron((\{\})|(\s|$))/, "Š\\3")
56
- str.gsub!(/\\scaron((\{\})|(\s|$))/, "š\\3")
57
- str.gsub!(/\\szlig((\{\})|(\s|$))/, "ß\\3")
58
- str.gsub!(/\\Ugrave((\{\})|(\s|$))/, "Ù\\3")
59
- str.gsub!(/\\ugrave((\{\})|(\s|$))/, "ù\\3")
60
- str.gsub!(/\\Uacute((\{\})|(\s|$))/, "Ú\\3")
61
- str.gsub!(/\\uacute((\{\})|(\s|$))/, "ú\\3")
62
- str.gsub!(/\\Ucirc((\{\})|(\s|$))/, "Û\\3")
63
- str.gsub!(/\\ucirc((\{\})|(\s|$))/, "û\\3")
64
- str.gsub!(/\\Uuml((\{\})|(\s|$))/, "Ü\\3")
65
- str.gsub!(/\\uuml((\{\})|(\s|$))/, "ü\\3")
66
- str.gsub!(/\\Yacute((\{\})|(\s|$))/, "Ý\\3")
67
- str.gsub!(/\\yacute((\{\})|(\s|$))/, "ý\\3")
68
- str.gsub!(/\\Yuml((\{\})|(\s|$))/, "Ÿ\\3")
69
- str.gsub!(/\\yuml((\{\})|(\s|$))/, "ÿ\\3")
70
- str.gsub!(/\\fnof((\{\})|(\s|$))/, "ƒ\\3")
71
- str.gsub!(/\\real((\{\})|(\s|$))/, "ℜ\\3")
72
- str.gsub!(/\\image((\{\})|(\s|$))/, "ℑ\\3")
73
- str.gsub!(/\\weierp((\{\})|(\s|$))/, "℘\\3")
74
- str.gsub!(/\\Alpha((\{\})|(\s|$))/, "Α\\3")
75
- str.gsub!(/\\alpha((\{\})|(\s|$))/, "α\\3")
76
- str.gsub!(/\\Beta((\{\})|(\s|$))/, "Β\\3")
77
- str.gsub!(/\\beta((\{\})|(\s|$))/, "β\\3")
78
- str.gsub!(/\\Gamma((\{\})|(\s|$))/, "Γ\\3")
79
- str.gsub!(/\\gamma((\{\})|(\s|$))/, "γ\\3")
80
- str.gsub!(/\\Delta((\{\})|(\s|$))/, "Δ\\3")
81
- str.gsub!(/\\delta((\{\})|(\s|$))/, "δ\\3")
82
- str.gsub!(/\\Epsilon((\{\})|(\s|$))/, "Ε\\3")
83
- str.gsub!(/\\epsilon((\{\})|(\s|$))/, "ε\\3")
84
- str.gsub!(/\\varepsilon((\{\})|(\s|$))/, "ε\\3")
85
- str.gsub!(/\\Zeta((\{\})|(\s|$))/, "Ζ\\3")
86
- str.gsub!(/\\zeta((\{\})|(\s|$))/, "ζ\\3")
87
- str.gsub!(/\\Eta((\{\})|(\s|$))/, "Η\\3")
88
- str.gsub!(/\\eta((\{\})|(\s|$))/, "η\\3")
89
- str.gsub!(/\\Theta((\{\})|(\s|$))/, "Θ\\3")
90
- str.gsub!(/\\theta((\{\})|(\s|$))/, "θ\\3")
91
- str.gsub!(/\\thetasym((\{\})|(\s|$))/, "ϑ\\3")
92
- str.gsub!(/\\vartheta((\{\})|(\s|$))/, "ϑ\\3")
93
- str.gsub!(/\\Iota((\{\})|(\s|$))/, "Ι\\3")
94
- str.gsub!(/\\iota((\{\})|(\s|$))/, "ι\\3")
95
- str.gsub!(/\\Kappa((\{\})|(\s|$))/, "Κ\\3")
96
- str.gsub!(/\\kappa((\{\})|(\s|$))/, "κ\\3")
97
- str.gsub!(/\\Lambda((\{\})|(\s|$))/, "Λ\\3")
98
- str.gsub!(/\\lambda((\{\})|(\s|$))/, "λ\\3")
99
- str.gsub!(/\\Mu((\{\})|(\s|$))/, "Μ\\3")
100
- str.gsub!(/\\mu((\{\})|(\s|$))/, "μ\\3")
101
- str.gsub!(/\\nu((\{\})|(\s|$))/, "ν\\3")
102
- str.gsub!(/\\Nu((\{\})|(\s|$))/, "Ν\\3")
103
- str.gsub!(/\\Xi((\{\})|(\s|$))/, "Ξ\\3")
104
- str.gsub!(/\\xi((\{\})|(\s|$))/, "ξ\\3")
105
- str.gsub!(/\\Omicron((\{\})|(\s|$))/, "Ο\\3")
106
- str.gsub!(/\\omicron((\{\})|(\s|$))/, "ο\\3")
107
- str.gsub!(/\\Pi((\{\})|(\s|$))/, "Π\\3")
108
- str.gsub!(/\\pi((\{\})|(\s|$))/, "π\\3")
109
- str.gsub!(/\\Rho((\{\})|(\s|$))/, "Ρ\\3")
110
- str.gsub!(/\\rho((\{\})|(\s|$))/, "ρ\\3")
111
- str.gsub!(/\\Sigma((\{\})|(\s|$))/, "Σ\\3")
112
- str.gsub!(/\\sigma((\{\})|(\s|$))/, "σ\\3")
113
- str.gsub!(/\\sigmaf((\{\})|(\s|$))/, "ς\\3")
114
- str.gsub!(/\\varsigma((\{\})|(\s|$))/, "ς\\3")
115
- str.gsub!(/\\Tau((\{\})|(\s|$))/, "Τ\\3")
116
- str.gsub!(/\\Upsilon((\{\})|(\s|$))/, "Υ\\3")
117
- str.gsub!(/\\upsih((\{\})|(\s|$))/, "ϒ\\3")
118
- str.gsub!(/\\upsilon((\{\})|(\s|$))/, "υ\\3")
119
- str.gsub!(/\\Phi((\{\})|(\s|$))/, "Φ\\3")
120
- str.gsub!(/\\phi((\{\})|(\s|$))/, "φ\\3")
121
- str.gsub!(/\\Chi((\{\})|(\s|$))/, "Χ\\3")
122
- str.gsub!(/\\chi((\{\})|(\s|$))/, "χ\\3")
123
- str.gsub!(/\\acutex((\{\})|(\s|$))/, "𝑥́\\3")
124
- str.gsub!(/\\Psi((\{\})|(\s|$))/, "Ψ\\3")
125
- str.gsub!(/\\psi((\{\})|(\s|$))/, "ψ\\3")
126
- str.gsub!(/\\tau((\{\})|(\s|$))/, "τ\\3")
127
- str.gsub!(/\\Omega((\{\})|(\s|$))/, "Ω\\3")
128
- str.gsub!(/\\omega((\{\})|(\s|$))/, "ω\\3")
129
- str.gsub!(/\\piv((\{\})|(\s|$))/, "ϖ\\3")
130
- str.gsub!(/\\partial((\{\})|(\s|$))/, "∂\\3")
131
- str.gsub!(/\\alefsym((\{\})|(\s|$))/, "ℵ\\3")
132
- str.gsub!(/\\ETH((\{\})|(\s|$))/, "Ð\\3")
133
- str.gsub!(/\\eth((\{\})|(\s|$))/, "ð\\3")
134
- str.gsub!(/\\THORN((\{\})|(\s|$))/, "Þ\\3")
135
- str.gsub!(/\\thorn((\{\})|(\s|$))/, "þ\\3")
136
- str.gsub!(/\\dots((\{\})|(\s|$))/, "…\\3")
137
- str.gsub!(/\\hellip((\{\})|(\s|$))/, "…\\3")
138
- str.gsub!(/\\middot((\{\})|(\s|$))/, "·\\3")
139
- str.gsub!(/\\iexcl((\{\})|(\s|$))/, "¡\\3")
140
- str.gsub!(/\\iquest((\{\})|(\s|$))/, "¿\\3")
141
- str.gsub!(/\\shy((\{\})|(\s|$))/, "\\3")
142
- str.gsub!(/\\ndash((\{\})|(\s|$))/, "–\\3")
143
- str.gsub!(/\\mdash((\{\})|(\s|$))/, "—\\3")
144
- str.gsub!(/\\quot((\{\})|(\s|$))/, "\"\\3")
145
- str.gsub!(/\\acute((\{\})|(\s|$))/, "´\\3")
146
- str.gsub!(/\\ldquo((\{\})|(\s|$))/, "“\\3")
147
- str.gsub!(/\\rdquo((\{\})|(\s|$))/, "”\\3")
148
- str.gsub!(/\\bdquo((\{\})|(\s|$))/, "„\\3")
149
- str.gsub!(/\\lsquo((\{\})|(\s|$))/, "‘\\3")
150
- str.gsub!(/\\rsquo((\{\})|(\s|$))/, "’\\3")
151
- str.gsub!(/\\sbquo((\{\})|(\s|$))/, "‚\\3")
152
- str.gsub!(/\\laquo((\{\})|(\s|$))/, "«\\3")
153
- str.gsub!(/\\raquo((\{\})|(\s|$))/, "»\\3")
154
- str.gsub!(/\\lsaquo((\{\})|(\s|$))/, "‹\\3")
155
- str.gsub!(/\\rsaquo((\{\})|(\s|$))/, "›\\3")
156
- str.gsub!(/\\circ((\{\})|(\s|$))/, "ˆ\\3")
157
- str.gsub!(/\\vert((\{\})|(\s|$))/, "|\\3")
158
- str.gsub!(/\\brvbar((\{\})|(\s|$))/, "¦\\3")
159
- str.gsub!(/\\sect((\{\})|(\s|$))/, "§\\3")
160
- str.gsub!(/\\amp((\{\})|(\s|$))/, "&\\3")
161
- str.gsub!(/\\lt((\{\})|(\s|$))/, "<\\3")
162
- str.gsub!(/\\gt((\{\})|(\s|$))/, ">\\3")
163
- str.gsub!(/\\tilde((\{\})|(\s|$))/, "~\\3")
164
- str.gsub!(/\\dagger((\{\})|(\s|$))/, "†\\3")
165
- str.gsub!(/\\Dagger((\{\})|(\s|$))/, "‡\\3")
166
- str.gsub!(/\\nbsp((\{\})|(\s|$))/, " \\3")
167
- str.gsub!(/\\ensp((\{\})|(\s|$))/, " \\3")
168
- str.gsub!(/\\emsp((\{\})|(\s|$))/, " \\3")
169
- str.gsub!(/\\thinsp((\{\})|(\s|$))/, " \\3")
170
- str.gsub!(/\\curren((\{\})|(\s|$))/, "¤\\3")
171
- str.gsub!(/\\cent((\{\})|(\s|$))/, "¢\\3")
172
- str.gsub!(/\\pound((\{\})|(\s|$))/, "£\\3")
173
- str.gsub!(/\\yen((\{\})|(\s|$))/, "¥\\3")
174
- str.gsub!(/\\euro((\{\})|(\s|$))/, "€\\3")
175
- str.gsub!(/\\EUR((\{\})|(\s|$))/, "€\\3")
176
- str.gsub!(/\\EURdig((\{\})|(\s|$))/, "€\\3")
177
- str.gsub!(/\\EURhv((\{\})|(\s|$))/, "€\\3")
178
- str.gsub!(/\\EURcr((\{\})|(\s|$))/, "€\\3")
179
- str.gsub!(/\\EURtm((\{\})|(\s|$))/, "€\\3")
180
- str.gsub!(/\\copy((\{\})|(\s|$))/, "©\\3")
181
- str.gsub!(/\\reg((\{\})|(\s|$))/, "®\\3")
182
- str.gsub!(/\\trade((\{\})|(\s|$))/, "™\\3")
183
- str.gsub!(/\\minus((\{\})|(\s|$))/, "−\\3")
184
- str.gsub!(/\\pm((\{\})|(\s|$))/, "±\\3")
185
- str.gsub!(/\\plusmn((\{\})|(\s|$))/, "±\\3")
186
- str.gsub!(/\\times((\{\})|(\s|$))/, "×\\3")
187
- str.gsub!(/\\frasl((\{\})|(\s|$))/, "⁄\\3")
188
- str.gsub!(/\\div((\{\})|(\s|$))/, "÷\\3")
189
- str.gsub!(/\\frac12((\{\})|(\s|$))/, "½\\3")
190
- str.gsub!(/\\frac14((\{\})|(\s|$))/, "¼\\3")
191
- str.gsub!(/\\frac34((\{\})|(\s|$))/, "¾\\3")
192
- str.gsub!(/\\permil((\{\})|(\s|$))/, "‰\\3")
193
- str.gsub!(/\\sup1((\{\})|(\s|$))/, "¹\\3")
194
- str.gsub!(/\\sup2((\{\})|(\s|$))/, "²\\3")
195
- str.gsub!(/\\sup3((\{\})|(\s|$))/, "³\\3")
196
- str.gsub!(/\\radic((\{\})|(\s|$))/, "√\\3")
197
- str.gsub!(/\\sum((\{\})|(\s|$))/, "∑\\3")
198
- str.gsub!(/\\prod((\{\})|(\s|$))/, "∏\\3")
199
- str.gsub!(/\\micro((\{\})|(\s|$))/, "µ\\3")
200
- str.gsub!(/\\macr((\{\})|(\s|$))/, "¯\\3")
201
- str.gsub!(/\\deg((\{\})|(\s|$))/, "°\\3")
202
- str.gsub!(/\\prime((\{\})|(\s|$))/, "′\\3")
203
- str.gsub!(/\\Prime((\{\})|(\s|$))/, "″\\3")
204
- str.gsub!(/\\infin((\{\})|(\s|$))/, "∞\\3")
205
- str.gsub!(/\\infty((\{\})|(\s|$))/, "∞\\3")
206
- str.gsub!(/\\prop((\{\})|(\s|$))/, "∝\\3")
207
- str.gsub!(/\\proptp((\{\})|(\s|$))/, "∝\\3")
208
- str.gsub!(/\\not((\{\})|(\s|$))/, "¬\\3")
209
- str.gsub!(/\\land((\{\})|(\s|$))/, "∧\\3")
210
- str.gsub!(/\\wedge((\{\})|(\s|$))/, "∧\\3")
211
- str.gsub!(/\\lor((\{\})|(\s|$))/, "∨\\3")
212
- str.gsub!(/\\vee((\{\})|(\s|$))/, "∨\\3")
213
- str.gsub!(/\\cap((\{\})|(\s|$))/, "∩\\3")
214
- str.gsub!(/\\cup((\{\})|(\s|$))/, "∪\\3")
215
- str.gsub!(/\\int((\{\})|(\s|$))/, "∫\\3")
216
- str.gsub!(/\\there4((\{\})|(\s|$))/, "∴\\3")
217
- str.gsub!(/\\sim((\{\})|(\s|$))/, "∼\\3")
218
- str.gsub!(/\\cong((\{\})|(\s|$))/, "≅\\3")
219
- str.gsub!(/\\simeq((\{\})|(\s|$))/, "≅\\3")
220
- str.gsub!(/\\asymp((\{\})|(\s|$))/, "≈\\3")
221
- str.gsub!(/\\approx((\{\})|(\s|$))/, "≈\\3")
222
- str.gsub!(/\\ne((\{\})|(\s|$))/, "≠\\3")
223
- str.gsub!(/\\neq((\{\})|(\s|$))/, "≠\\3")
224
- str.gsub!(/\\equiv((\{\})|(\s|$))/, "≡\\3")
225
- str.gsub!(/\\le((\{\})|(\s|$))/, "≤\\3")
226
- str.gsub!(/\\ge((\{\})|(\s|$))/, "≥\\3")
227
- str.gsub!(/\\sub((\{\})|(\s|$))/, "⊂\\3")
228
- str.gsub!(/\\subset((\{\})|(\s|$))/, "⊂\\3")
229
- str.gsub!(/\\sup((\{\})|(\s|$))/, "⊃\\3")
230
- str.gsub!(/\\supset((\{\})|(\s|$))/, "⊃\\3")
231
- str.gsub!(/\\nsub((\{\})|(\s|$))/, "⊄\\3")
232
- str.gsub!(/\\sube((\{\})|(\s|$))/, "⊆\\3")
233
- str.gsub!(/\\nsup((\{\})|(\s|$))/, "⊅\\3")
234
- str.gsub!(/\\supe((\{\})|(\s|$))/, "⊇\\3")
235
- str.gsub!(/\\forall((\{\})|(\s|$))/, "∀\\3")
236
- str.gsub!(/\\exist((\{\})|(\s|$))/, "∃\\3")
237
- str.gsub!(/\\exists((\{\})|(\s|$))/, "∃\\3")
238
- str.gsub!(/\\empty((\{\})|(\s|$))/, "∅\\3")
239
- str.gsub!(/\\emptyset((\{\})|(\s|$))/, "∅\\3")
240
- str.gsub!(/\\isin((\{\})|(\s|$))/, "∈\\3")
241
- str.gsub!(/\\in((\{\})|(\s|$))/, "∈\\3")
242
- str.gsub!(/\\notin((\{\})|(\s|$))/, "∉\\3")
243
- str.gsub!(/\\ni((\{\})|(\s|$))/, "∋\\3")
244
- str.gsub!(/\\nabla((\{\})|(\s|$))/, "∇\\3")
245
- str.gsub!(/\\ang((\{\})|(\s|$))/, "∠\\3")
246
- str.gsub!(/\\angle((\{\})|(\s|$))/, "∠\\3")
247
- str.gsub!(/\\perp((\{\})|(\s|$))/, "⊥\\3")
248
- str.gsub!(/\\sdot((\{\})|(\s|$))/, "⋅\\3")
249
- str.gsub!(/\\cdot((\{\})|(\s|$))/, "⋅\\3")
250
- str.gsub!(/\\lceil((\{\})|(\s|$))/, "⌈\\3")
251
- str.gsub!(/\\rceil((\{\})|(\s|$))/, "⌉\\3")
252
- str.gsub!(/\\lfloor((\{\})|(\s|$))/, "⌊\\3")
253
- str.gsub!(/\\rfloor((\{\})|(\s|$))/, "⌋\\3")
254
- str.gsub!(/\\lang((\{\})|(\s|$))/, "⟨\\3")
255
- str.gsub!(/\\rang((\{\})|(\s|$))/, "⟩\\3")
256
- str.gsub!(/\\larr((\{\})|(\s|$))/, "←\\3")
257
- str.gsub!(/\\leftarrow((\{\})|(\s|$))/, "←\\3")
258
- str.gsub!(/\\gets((\{\})|(\s|$))/, "←\\3")
259
- str.gsub!(/\\lArr((\{\})|(\s|$))/, "⇐\\3")
260
- str.gsub!(/\\Leftarrow((\{\})|(\s|$))/, "⇐\\3")
261
- str.gsub!(/\\uarr((\{\})|(\s|$))/, "↑\\3")
262
- str.gsub!(/\\uparrow((\{\})|(\s|$))/, "↑\\3")
263
- str.gsub!(/\\uArr((\{\})|(\s|$))/, "⇑\\3")
264
- str.gsub!(/\\Uparrow((\{\})|(\s|$))/, "⇑\\3")
265
- str.gsub!(/\\rarr((\{\})|(\s|$))/, "→\\3")
266
- str.gsub!(/\\to((\{\})|(\s|$))/, "→\\3")
267
- str.gsub!(/\\rightarrow((\{\})|(\s|$))/, "→\\3")
268
- str.gsub!(/\\rArr((\{\})|(\s|$))/, "⇒\\3")
269
- str.gsub!(/\\Rightarrow((\{\})|(\s|$))/, "⇒\\3")
270
- str.gsub!(/\\darr((\{\})|(\s|$))/, "↓\\3")
271
- str.gsub!(/\\downarrow((\{\})|(\s|$))/, "↓\\3")
272
- str.gsub!(/\\dArr((\{\})|(\s|$))/, "⇓\\3")
273
- str.gsub!(/\\Downarrow((\{\})|(\s|$))/, "⇓\\3")
274
- str.gsub!(/\\harr((\{\})|(\s|$))/, "↔\\3")
275
- str.gsub!(/\\leftrightarrow((\{\})|(\s|$))/, "↔\\3")
276
- str.gsub!(/\\hArr((\{\})|(\s|$))/, "⇔\\3")
277
- str.gsub!(/\\Leftrightarrow((\{\})|(\s|$))/, "⇔\\3")
278
- str.gsub!(/\\crarr((\{\})|(\s|$))/, "↵\\3")
279
- str.gsub!(/\\hookleftarrow((\{\})|(\s|$))/, "↵\\3")
280
- str.gsub!(/\\arccos((\{\})|(\s|$))/, "arccos\\3")
281
- str.gsub!(/\\arcsin((\{\})|(\s|$))/, "arcsin\\3")
282
- str.gsub!(/\\arctan((\{\})|(\s|$))/, "arctan\\3")
283
- str.gsub!(/\\arg((\{\})|(\s|$))/, "arg\\3")
284
- str.gsub!(/\\cos((\{\})|(\s|$))/, "cos\\3")
285
- str.gsub!(/\\cosh((\{\})|(\s|$))/, "cosh\\3")
286
- str.gsub!(/\\cot((\{\})|(\s|$))/, "cot\\3")
287
- str.gsub!(/\\coth((\{\})|(\s|$))/, "coth\\3")
288
- str.gsub!(/\\csc((\{\})|(\s|$))/, "csc\\3")
289
- str.gsub!(/\\deg((\{\})|(\s|$))/, "deg\\3")
290
- str.gsub!(/\\det((\{\})|(\s|$))/, "det\\3")
291
- str.gsub!(/\\dim((\{\})|(\s|$))/, "dim\\3")
292
- str.gsub!(/\\exp((\{\})|(\s|$))/, "exp\\3")
293
- str.gsub!(/\\gcd((\{\})|(\s|$))/, "gcd\\3")
294
- str.gsub!(/\\hom((\{\})|(\s|$))/, "hom\\3")
295
- str.gsub!(/\\inf((\{\})|(\s|$))/, "inf\\3")
296
- str.gsub!(/\\ker((\{\})|(\s|$))/, "ker\\3")
297
- str.gsub!(/\\lg((\{\})|(\s|$))/, "lg\\3")
298
- str.gsub!(/\\lim((\{\})|(\s|$))/, "lim\\3")
299
- str.gsub!(/\\liminf((\{\})|(\s|$))/, "liminf\\3")
300
- str.gsub!(/\\limsup((\{\})|(\s|$))/, "limsup\\3")
301
- str.gsub!(/\\ln((\{\})|(\s|$))/, "ln\\3")
302
- str.gsub!(/\\log((\{\})|(\s|$))/, "log\\3")
303
- str.gsub!(/\\max((\{\})|(\s|$))/, "max\\3")
304
- str.gsub!(/\\min((\{\})|(\s|$))/, "min\\3")
305
- str.gsub!(/\\Pr((\{\})|(\s|$))/, "Pr\\3")
306
- str.gsub!(/\\sec((\{\})|(\s|$))/, "sec\\3")
307
- str.gsub!(/\\sin((\{\})|(\s|$))/, "sin\\3")
308
- str.gsub!(/\\sinh((\{\})|(\s|$))/, "sinh\\3")
309
- str.gsub!(/\\sup((\{\})|(\s|$))/, "sup\\3")
310
- str.gsub!(/\\tan((\{\})|(\s|$))/, "tan\\3")
311
- str.gsub!(/\\tanh((\{\})|(\s|$))/, "tanh\\3")
312
- str.gsub!(/\\bull((\{\})|(\s|$))/, "•\\3")
313
- str.gsub!(/\\bullet((\{\})|(\s|$))/, "•\\3")
314
- str.gsub!(/\\star((\{\})|(\s|$))/, "⋆\\3")
315
- str.gsub!(/\\lowast((\{\})|(\s|$))/, "∗\\3")
316
- str.gsub!(/\\ast((\{\})|(\s|$))/, "*\\3")
317
- str.gsub!(/\\odot((\{\})|(\s|$))/, "ʘ\\3")
318
- str.gsub!(/\\oplus((\{\})|(\s|$))/, "⊕\\3")
319
- str.gsub!(/\\otimes((\{\})|(\s|$))/, "⊗\\3")
320
- str.gsub!(/\\checkmark((\{\})|(\s|$))/, "✓\\3")
321
- str.gsub!(/\\para((\{\})|(\s|$))/, "¶\\3")
322
- str.gsub!(/\\ordf((\{\})|(\s|$))/, "ª\\3")
323
- str.gsub!(/\\ordm((\{\})|(\s|$))/, "º\\3")
324
- str.gsub!(/\\cedil((\{\})|(\s|$))/, "¸\\3")
325
- str.gsub!(/\\oline((\{\})|(\s|$))/, "‾\\3")
326
- str.gsub!(/\\uml((\{\})|(\s|$))/, "¨\\3")
327
- str.gsub!(/\\zwnj((\{\})|(\s|$))/, "‌\\3")
328
- str.gsub!(/\\zwj((\{\})|(\s|$))/, "‍\\3")
329
- str.gsub!(/\\lrm((\{\})|(\s|$))/, "‎\\3")
330
- str.gsub!(/\\rlm((\{\})|(\s|$))/, "‏\\3")
331
- str.gsub!(/\\smile((\{\})|(\s|$))/, "⌣\\3")
332
- str.gsub!(/\\smiley((\{\})|(\s|$))/, "☺\\3")
333
- str.gsub!(/\\blacksmile((\{\})|(\s|$))/, "☻\\3")
334
- str.gsub!(/\\sad((\{\})|(\s|$))/, "☹\\3")
335
- str.gsub!(/\\clubs((\{\})|(\s|$))/, "♣\\3")
336
- str.gsub!(/\\clubsuit((\{\})|(\s|$))/, "♣\\3")
337
- str.gsub!(/\\spades((\{\})|(\s|$))/, "♠\\3")
338
- str.gsub!(/\\spadesuit((\{\})|(\s|$))/, "♠\\3")
339
- str.gsub!(/\\hearts((\{\})|(\s|$))/, "♥\\3")
340
- str.gsub!(/\\heartsuit((\{\})|(\s|$))/, "♥\\3")
341
- str.gsub!(/\\diams((\{\})|(\s|$))/, "♦\\3")
342
- str.gsub!(/\\diamondsuit((\{\})|(\s|$))/, "♦\\3")
343
- str.gsub!(/\\Diamond((\{\})|(\s|$))/, "⋄\\3")
344
- str.gsub!(/\\loz((\{\})|(\s|$))/, "◊\\3")
5
+ TextileEntities = {
6
+ "Agrave" => "À",
7
+ "agrave" => "à",
8
+ "Aacute" => "Á",
9
+ "aacute" => "á",
10
+ "Acirc" => "Â",
11
+ "acirc" => "â",
12
+ "Atilde" => "Ã",
13
+ "atilde" => "ã",
14
+ "Auml" => "Ä",
15
+ "auml" => "ä",
16
+ "Aring" => "Å",
17
+ "AA" => "Å",
18
+ "aring" => "å",
19
+ "AElig" => "Æ",
20
+ "aelig" => "æ",
21
+ "Ccedil" => "Ç",
22
+ "ccedil" => "ç",
23
+ "Egrave" => "È",
24
+ "egrave" => "è",
25
+ "Eacute" => "É",
26
+ "eacute" => "é",
27
+ "Ecirc" => "Ê",
28
+ "ecirc" => "ê",
29
+ "Euml" => "Ë",
30
+ "euml" => "ë",
31
+ "Igrave" => "Ì",
32
+ "igrave" => "ì",
33
+ "Iacute" => "Í",
34
+ "iacute" => "í",
35
+ "Icirc" => "Î",
36
+ "icirc" => "î",
37
+ "Iuml" => "Ï",
38
+ "iuml" => "ï",
39
+ "Ntilde" => "Ñ",
40
+ "ntilde" => "ñ",
41
+ "Ograve" => "Ò",
42
+ "ograve" => "ò",
43
+ "Oacute" => "Ó",
44
+ "oacute" => "ó",
45
+ "Ocirc" => "Ô",
46
+ "ocirc" => "ô",
47
+ "Otilde" => "Õ",
48
+ "otilde" => "õ",
49
+ "Ouml" => "Ö",
50
+ "ouml" => "ö",
51
+ "Oslash" => "Ø",
52
+ "oslash" => "ø",
53
+ "OElig" => "Œ",
54
+ "oelig" => "œ",
55
+ "Scaron" => "Š",
56
+ "scaron" => "š",
57
+ "szlig" => "ß",
58
+ "Ugrave" => "Ù",
59
+ "ugrave" => "ù",
60
+ "Uacute" => "Ú",
61
+ "uacute" => "ú",
62
+ "Ucirc" => "Û",
63
+ "ucirc" => "û",
64
+ "Uuml" => "Ü",
65
+ "uuml" => "ü",
66
+ "Yacute" => "Ý",
67
+ "yacute" => "ý",
68
+ "Yuml" => "Ÿ",
69
+ "yuml" => "ÿ",
70
+ "fnof" => "ƒ",
71
+ "real" => "",
72
+ "image" => "",
73
+ "weierp" => "",
74
+ "Alpha" => "Α",
75
+ "alpha" => "α",
76
+ "Beta" => "Β",
77
+ "beta" => "β",
78
+ "Gamma" => "Γ",
79
+ "gamma" => "γ",
80
+ "Delta" => "Δ",
81
+ "delta" => "δ",
82
+ "Epsilon" => "Ε",
83
+ "epsilon" => "ε",
84
+ "varepsilon" => "ε",
85
+ "Zeta" => "Ζ",
86
+ "zeta" => "ζ",
87
+ "Eta" => "Η",
88
+ "eta" => "η",
89
+ "Theta" => "Θ",
90
+ "theta" => "θ",
91
+ "thetasym" => "ϑ",
92
+ "vartheta" => "ϑ",
93
+ "Iota" => "Ι",
94
+ "iota" => "ι",
95
+ "Kappa" => "Κ",
96
+ "kappa" => "κ",
97
+ "Lambda" => "Λ",
98
+ "lambda" => "λ",
99
+ "Mu" => "Μ",
100
+ "mu" => "μ",
101
+ "nu" => "ν",
102
+ "Nu" => "Ν",
103
+ "Xi" => "Ξ",
104
+ "xi" => "ξ",
105
+ "Omicron" => "Ο",
106
+ "omicron" => "ο",
107
+ "Pi" => "Π",
108
+ "pi" => "π",
109
+ "Rho" => "Ρ",
110
+ "rho" => "ρ",
111
+ "Sigma" => "Σ",
112
+ "sigma" => "σ",
113
+ "sigmaf" => "ς",
114
+ "varsigma" => "ς",
115
+ "Tau" => "Τ",
116
+ "Upsilon" => "Υ",
117
+ "upsih" => "ϒ",
118
+ "upsilon" => "υ",
119
+ "Phi" => "Φ",
120
+ "phi" => "φ",
121
+ "Chi" => "Χ",
122
+ "chi" => "χ",
123
+ "acutex" => "𝑥́",
124
+ "Psi" => "Ψ",
125
+ "psi" => "ψ",
126
+ "tau" => "τ",
127
+ "Omega" => "Ω",
128
+ "omega" => "ω",
129
+ "piv" => "ϖ",
130
+ "partial" => "",
131
+ "alefsym" => "",
132
+ "ETH" => "Ð",
133
+ "eth" => "ð",
134
+ "THORN" => "Þ",
135
+ "thorn" => "þ",
136
+ "dots" => "",
137
+ "hellip" => "",
138
+ "middot" => "·",
139
+ "iexcl" => "¡",
140
+ "iquest" => "¿",
141
+ "shy" => "",
142
+ "ndash" => "",
143
+ "mdash" => "",
144
+ "quot" => "\"",
145
+ "acute" => "´",
146
+ "ldquo" => "",
147
+ "rdquo" => "",
148
+ "bdquo" => "",
149
+ "lsquo" => "",
150
+ "rsquo" => "",
151
+ "sbquo" => "",
152
+ "laquo" => "«",
153
+ "raquo" => "»",
154
+ "lsaquo" => "",
155
+ "rsaquo" => "",
156
+ "circ" => "ˆ",
157
+ "vert" => "|",
158
+ "brvbar" => "¦",
159
+ "sect" => "§",
160
+ "amp" => "&",
161
+ "lt" => "<",
162
+ "gt" => ">",
163
+ "tilde" => "~",
164
+ "slash" => "/",
165
+ "plus" => "+",
166
+ "under" => "_",
167
+ "equal" => "=",
168
+ "asciicirc" => "^",
169
+ "dagger" => "",
170
+ "Dagger" => "",
171
+ "nbsp" => " ",
172
+ "ensp" => "",
173
+ "emsp" => "",
174
+ "thinsp" => "",
175
+ "curren" => "¤",
176
+ "cent" => "¢",
177
+ "pound" => "£",
178
+ "yen" => "¥",
179
+ "euro" => "",
180
+ "EUR" => "",
181
+ "EURdig" => "",
182
+ "EURhv" => "",
183
+ "EURcr" => "",
184
+ "EURtm" => "",
185
+ "copy" => "©",
186
+ "reg" => "®",
187
+ "trade" => "",
188
+ "minus" => "",
189
+ "pm" => "±",
190
+ "plusmn" => "±",
191
+ "times" => "×",
192
+ "frasl" => "",
193
+ "div" => "÷",
194
+ "frac12" => "½",
195
+ "frac14" => "¼",
196
+ "frac34" => "¾",
197
+ "permil" => "",
198
+ "sup1" => "¹",
199
+ "sup2" => "²",
200
+ "sup3" => "³",
201
+ "radic" => "",
202
+ "sum" => "",
203
+ "prod" => "",
204
+ "micro" => "µ",
205
+ "macr" => "¯",
206
+ "deg" => "°",
207
+ "prime" => "",
208
+ "Prime" => "",
209
+ "infin" => "",
210
+ "infty" => "",
211
+ "prop" => "",
212
+ "proptp" => "",
213
+ "not" => "¬",
214
+ "neg" => "¬",
215
+ "land" => "",
216
+ "wedge" => "",
217
+ "lor" => "",
218
+ "vee" => "",
219
+ "cap" => "",
220
+ "cup" => "",
221
+ "int" => "",
222
+ "there4" => "",
223
+ "sim" => "",
224
+ "cong" => "",
225
+ "simeq" => "",
226
+ "asymp" => "",
227
+ "approx" => "",
228
+ "ne" => "",
229
+ "neq" => "",
230
+ "equiv" => "",
231
+ "le" => "",
232
+ "ge" => "",
233
+ "sub" => "",
234
+ "subset" => "",
235
+ "sup" => "",
236
+ "supset" => "",
237
+ "nsub" => "",
238
+ "sube" => "",
239
+ "nsup" => "",
240
+ "supe" => "",
241
+ "forall" => "",
242
+ "exist" => "",
243
+ "exists" => "",
244
+ "empty" => "",
245
+ "emptyset" => "",
246
+ "isin" => "",
247
+ "in" => "",
248
+ "notin" => "",
249
+ "ni" => "",
250
+ "nabla" => "",
251
+ "ang" => "",
252
+ "angle" => "",
253
+ "perp" => "",
254
+ "sdot" => "",
255
+ "cdot" => "",
256
+ "lceil" => "",
257
+ "rceil" => "",
258
+ "lfloor" => "",
259
+ "rfloor" => "",
260
+ "lang" => "",
261
+ "rang" => "",
262
+ "larr" => "",
263
+ "leftarrow" => "",
264
+ "gets" => "",
265
+ "lArr" => "",
266
+ "Leftarrow" => "",
267
+ "uarr" => "",
268
+ "uparrow" => "",
269
+ "uArr" => "",
270
+ "Uparrow" => "",
271
+ "rarr" => "",
272
+ "to" => "",
273
+ "rightarrow" => "",
274
+ "rArr" => "",
275
+ "Rightarrow" => "",
276
+ "darr" => "",
277
+ "downarrow" => "",
278
+ "dArr" => "",
279
+ "Downarrow" => "",
280
+ "harr" => "",
281
+ "leftrightarrow" => "",
282
+ "hArr" => "",
283
+ "Leftrightarrow" => "",
284
+ "crarr" => "",
285
+ "hookleftarrow" => "",
286
+ "arccos" => "arccos",
287
+ "arcsin" => "arcsin",
288
+ "arctan" => "arctan",
289
+ "arg" => "arg",
290
+ "cos" => "cos",
291
+ "cosh" => "cosh",
292
+ "cot" => "cot",
293
+ "coth" => "coth",
294
+ "csc" => "csc",
295
+ "deg" => "deg",
296
+ "det" => "det",
297
+ "dim" => "dim",
298
+ "exp" => "exp",
299
+ "gcd" => "gcd",
300
+ "hom" => "hom",
301
+ "inf" => "inf",
302
+ "ker" => "ker",
303
+ "lg" => "lg",
304
+ "lim" => "lim",
305
+ "liminf" => "liminf",
306
+ "limsup" => "limsup",
307
+ "ln" => "ln",
308
+ "log" => "log",
309
+ "max" => "max",
310
+ "min" => "min",
311
+ "Pr" => "Pr",
312
+ "sec" => "sec",
313
+ "sin" => "sin",
314
+ "sinh" => "sinh",
315
+ "sup" => "sup",
316
+ "tan" => "tan",
317
+ "tanh" => "tanh",
318
+ "bull" => "",
319
+ "bullet" => "",
320
+ "star" => "",
321
+ "lowast" => "",
322
+ "ast" => "*",
323
+ "odot" => "ʘ",
324
+ "oplus" => "",
325
+ "otimes" => "",
326
+ "checkmark" => "",
327
+ "para" => "",
328
+ "ordf" => "ª",
329
+ "ordm" => "º",
330
+ "cedil" => "¸",
331
+ "oline" => "",
332
+ "uml" => "¨",
333
+ "zwnj" => "",
334
+ "zwj" => "",
335
+ "lrm" => "",
336
+ "rlm" => "",
337
+ "smile" => "",
338
+ "smiley" => "",
339
+ "blacksmile" => "",
340
+ "sad" => "",
341
+ "clubs" => "",
342
+ "clubsuit" => "",
343
+ "spades" => "",
344
+ "spadesuit" => "",
345
+ "hearts" => "♥",
346
+ "heartsuit" => "♥",
347
+ "diams" => "♦",
348
+ "diamondsuit" => "♦",
349
+ "Diamond" => "⋄",
350
+ "loz" => "◊"
351
+ }
352
+ @org_entities_regexp = /\\(there4|sup[123]|frac[13][24]|[a-zA-Z]+)($|\{\}|[^a-zA-Z])/
353
+
354
+ def Orgmode.special_symbols_to_textile str
355
+ str.gsub! @org_entities_regexp do |match|
356
+ if TextileEntities[$1]
357
+ if $2 == "{}" then "#{TextileEntities[$1]}"
358
+ else "#{TextileEntities[$1]}#{$2}"
359
+ end
360
+ else
361
+ $&
362
+ end
363
+ end
345
364
  end
346
365
  end # module Orgmode