diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-03-11 12:34:57 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-03-11 12:34:57 +0100 |
commit | 51f62a41ee07aee3b3a45750e42bd4ae7b1e4c69 (patch) | |
tree | 75f6cbb21def54e5825dcb0470ea38948a24e392 | |
parent | 3a73854f60e370860c14ae8ac0c21de6f845b978 (diff) | |
download | arabluatex-51f62a41ee07aee3b3a45750e42bd4ae7b1e4c69.tar.gz |
bugfix: quoted hamza + sukūn in fullvoc mode
-rw-r--r-- | arabluatex_fullvoc.lua | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index 021d75a..bdab038 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -31,6 +31,15 @@ hamzafv = { | |||
31 | {a="w\"'", b="ؤ"}, | 31 | {a="w\"'", b="ؤ"}, |
32 | {a="i\"'", b="إ"}, | 32 | {a="i\"'", b="إ"}, |
33 | {a="y\"'", b="ئ"}, | 33 | {a="y\"'", b="ئ"}, |
34 | {a="ؤ([^uaiUAI])", b="ؤْ%1"}, | ||
35 | {a="ؤ$", b="ؤْ"}, | ||
36 | {a="ؤ(%s)", b="ؤْ%1"}, | ||
37 | {a="أ([^uaiUAI])", b="أْ%1"}, | ||
38 | {a="أ$", b="أْ"}, | ||
39 | {a="أ(%s)", b="أْ%1"}, | ||
40 | {a="ئ([^uaiUAI])", b="ئْ%1"}, | ||
41 | {a="ئ$", b="ئْ"}, | ||
42 | {a="ئ(%s)", b="ئْ%1"}, | ||
34 | -- hamza takes tašdīd too | 43 | -- hamza takes tašdīd too |
35 | {a="''([Uu])", b="ؤؤ%1"}, | 44 | {a="''([Uu])", b="ؤؤ%1"}, |
36 | {a="''([Aa])", b="أأ%1"}, | 45 | {a="''([Aa])", b="أأ%1"}, |
@@ -175,7 +184,7 @@ digraphsfv = { | |||
175 | -- sukūn begin | 184 | -- sukūn begin |
176 | {a="([%_%^%.]?[btjghxdrzs%`fqklmnwy])$", b="%1ْ"}, | 185 | {a="([%_%^%.]?[btjghxdrzs%`fqklmnwy])$", b="%1ْ"}, |
177 | {a="([%_%^%.]?[btjghxdrzs%`fqklmnwy])([%s])", b="%1ْ%2"}, | 186 | {a="([%_%^%.]?[btjghxdrzs%`fqklmnwy])([%s])", b="%1ْ%2"}, |
178 | {a="([%_%^%.]?[btjghxdrzs%`fqklmnwy])([%_]?[^uaiUAIًٌٍ])", b="%1ْ%2"}, | 187 | {a="([%_%^%.]?[btjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIًٌٍ])", b="%1ْ%2"}, |
179 | {a="ْ\"", b="\""}, | 188 | {a="ْ\"", b="\""}, |
180 | -- sukūn end | 189 | -- sukūn end |
181 | {a="_t", b="ث"}, | 190 | {a="_t", b="ث"}, |