aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_voc.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-03 18:25:03 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-03-03 18:25:03 +0100
commitbe01b8d5cdcaba6045625a5006edf09d7f619264 (patch)
tree73a33d6a247478c73023e8064b1e5b177011200a /arabluatex_voc.lua
parent6a9a1c2f1ae4c29530069ba47316adfdf63f21fe (diff)
downloadarabluatex-be01b8d5cdcaba6045625a5006edf09d7f619264.tar.gz
šadda over hamza + improved madda
Diffstat (limited to 'arabluatex_voc.lua')
-rw-r--r--arabluatex_voc.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 3018789..844e653 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -72,10 +72,15 @@ hamza = {
72 {a="w\"'", b="ؤ"}, 72 {a="w\"'", b="ؤ"},
73 {a="i\"'", b="إ"}, 73 {a="i\"'", b="إ"},
74 {a="y\"'", b="ئ"}, 74 {a="y\"'", b="ئ"},
75 -- hamza takes tašdīd too
76 {a="''([Uu])", b="ؤؤ%1"},
77 {a="''([Aa])", b="أأ%1"},
78 {a="''([Ii])", b="ئئ%1"},
75 -- initial long u 79 -- initial long u
76 {a="%'%_U", b="أU"}, 80 {a="%'%_U", b="أU"},
77 -- madda (historic writing below) 81 -- madda (historic writing below)
78 {a="'A", b="آ"}, 82 {a="'a'([^uaiUAI])", b="آ%1"},
83 {a="'a?A", b="آ"},
79 {a="(A)(')(i)$", b="aآء%3"}, 84 {a="(A)(')(i)$", b="aآء%3"},
80 {a="(A)(')(i)(%W)", b="aآء%3%4"}, 85 {a="(A)(')(i)(%W)", b="aآء%3%4"},
81 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda 86 {a="(A)(')(i)", b="aآئ%3"}, -- historic madda
@@ -173,6 +178,9 @@ digraphs = {
173 {a="^([uai])", b="ا%1"}, -- initial alif without hamza 178 {a="^([uai])", b="ا%1"}, -- initial alif without hamza
174 {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza 179 {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza
175 {a="%-%-", b="ـ"}, 180 {a="%-%-", b="ـ"},
181 {a="ؤؤ", b="ؤّ"},
182 {a="أأ", b="أّ"},
183 {a="ئئ", b="ئّ"},
176 {a="bb", b="بّ"}, 184 {a="bb", b="بّ"},
177 {a="BB", b="ـّ"}, 185 {a="BB", b="ـّ"},
178 {a="tt", b="تّ"}, 186 {a="tt", b="تّ"},