aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_voc.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-30 19:39:43 +0200
committerRobert Alessi <alessi@robertalessi.net>2016-03-30 19:39:43 +0200
commitcfedf093bf7cd428652b44de2f96cefa0a43ebf7 (patch)
treeb4ded616e04839034228632eb752707a1e7b8ea7 /arabluatex_voc.lua
parent87c50c0a79a759db9a51cc6366d1dfd64e606a30 (diff)
downloadarabluatex-cfedf093bf7cd428652b44de2f96cefa0a43ebf7.tar.gz
tanwin and trigraphs were inverted in all of the tables
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r--arabluatex_voc.lua66
1 files changed, 33 insertions, 33 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 5989898..9724901 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -143,6 +143,39 @@ hamza = {
143 {a="(i)(')([^uaiUAI])", b="%1ئ%3"} 143 {a="(i)(')([^uaiUAI])", b="%1ئ%3"}
144} 144}
145 145
146tanwin = {
147 {a="uNU", b="ٌو"},
148 {a="aNU", b="ًوا"},
149 {a="iNU", b="ٍو"},
150 -- assimilations (begin)
151 {a="(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"},
152 {a="(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"},
153 {a="(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"},
154 {a="(T)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"},
155 {a="(ء)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"},
156 {a="([^TA])(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"},
157 {a="(iN)(%s)([rlmnwy])", b="ٍ%2%3%3"},
158 -- assimilations (end)
159 -- quoted tanwīn (begin)
160 {a="(\"uN)", b=""},
161 {a="(B)(\"aN)", b="%1"},
162 {a="(\"aN)(_A)", b="ى"},
163 {a="(\"aN)(Y)", b="ى"},
164 {a="(T)(\"aN)", b="%1"},
165 {a="(ء)(\"aN)", b="%1"},
166 {a="([^TA])(\"aN)", b="%1ا"},
167 {a="(\"iN)", b=""},
168 -- quoted tanwīn (end)
169 {a="(uN)", b="ٌ"},
170 {a="(B)(aN)", b="%1ً"},
171 {a="(aN)(_A)", b="ًى"},
172 {a="(aN)(Y)", b="ًى"},
173 {a="(T)(aN)", b="%1ً"},
174 {a="(ء)(aN)", b="%1ً"},
175 {a="([^TA])(aN)", b="%1ًا"},
176 {a="(iN)", b="ٍ"}
177}
178
146trigraphs = { -- trigraphs or more 179trigraphs = { -- trigraphs or more
147 -- 'llatI / 'llad_I 180 -- 'llatI / 'llad_I
148 {a="^'ll(a)([%_]?[dt])", b="الّ%1%2"}, 181 {a="^'ll(a)([%_]?[dt])", b="الّ%1%2"},
@@ -203,39 +236,6 @@ trigraphs = { -- trigraphs or more
203 {a="(n)(%s)([rlmnwy])", b="%1%2%3%3"} 236 {a="(n)(%s)([rlmnwy])", b="%1%2%3%3"}
204} 237}
205 238
206tanwin = {
207 {a="uNU", b="ٌو"},
208 {a="aNU", b="ًوا"},
209 {a="iNU", b="ٍو"},
210 -- assimilations (begin)
211 {a="(uN)(%s)([rlmnwy])", b="ٌ%2%3%3"},
212 {a="(aN)(_A)(%s)([rlmnwy])", b="ًى%3%4%4"},
213 {a="(aN)(Y)(%s)([rlmnwy])", b="ًى%3%4%4"},
214 {a="(T)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"},
215 {a="(ء)(aN)(%s)([rlmnwy])", b="%1ً%3%4%4"},
216 {a="([^TA])(aN)(%s)([rlmnwy])", b="%1ًا%3%4%4"},
217 {a="(iN)(%s)([rlmnwy])", b="ٍ%2%3%3"},
218 -- assimilations (end)
219 -- quoted tanwīn (begin)
220 {a="(\"uN)", b=""},
221 {a="(B)(\"aN)", b="%1"},
222 {a="(\"aN)(_A)", b="ى"},
223 {a="(\"aN)(Y)", b="ى"},
224 {a="(T)(\"aN)", b="%1"},
225 {a="(ء)(\"aN)", b="%1"},
226 {a="([^TA])(\"aN)", b="%1ا"},
227 {a="(\"iN)", b=""},
228 -- quoted tanwīn (end)
229 {a="(uN)", b="ٌ"},
230 {a="(B)(aN)", b="%1ً"},
231 {a="(aN)(_A)", b="ًى"},
232 {a="(aN)(Y)", b="ًى"},
233 {a="(T)(aN)", b="%1ً"},
234 {a="(ء)(aN)", b="%1ً"},
235 {a="([^TA])(aN)", b="%1ًا"},
236 {a="(iN)", b="ٍ"}
237}
238
239digraphs = { 239digraphs = {
240 -- initial straight double quote gives a connective ʾalif 240 -- initial straight double quote gives a connective ʾalif
241 {a="^\"[uai]", b="ٱ"}, 241 {a="^\"[uai]", b="ٱ"},