diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-07-28 10:53:29 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-07-28 10:53:29 +0200 |
commit | ebd79c76eb6da4498c8b3f4854e990096734586c (patch) | |
tree | 9f6c66bdcd370d55234584f2366b405a9559e65a | |
parent | 1ece55f7f443c4bf95d6d3a4c52d4944c703470a (diff) | |
download | arabluatex-ebd79c76eb6da4498c8b3f4854e990096734586c.tar.gz |
added ʾalif maqṣūrah after hamzah in the fullvoc rules
-rw-r--r-- | arabluatex_fullvoc.lua | 52 |
1 files changed, 29 insertions, 23 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index 5b1ad20..b7237db 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -102,7 +102,7 @@ hamzafv = { | |||
102 | -- u | 102 | -- u |
103 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, | 103 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, |
104 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, | 104 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, |
105 | {a="(u)('%p?)$", b="%1ؤْ"}, | 105 | {a="(u)(')(%p?)$", b="%1ؤْ%3"}, |
106 | {a="(u)(')(%p?%s)", b="%1ؤْ%3"}, | 106 | {a="(u)(')(%p?%s)", b="%1ؤْ%3"}, |
107 | -- a | 107 | -- a |
108 | {a="(a)(')(A%p?)$", b="%1آ"}, | 108 | {a="(a)(')(A%p?)$", b="%1آ"}, |
@@ -115,27 +115,27 @@ hamzafv = { | |||
115 | {a="(a)(')(aN)(%p?%s)", b="%1أً%4"}, | 115 | {a="(a)(')(aN)(%p?%s)", b="%1أً%4"}, |
116 | {a="(a)(')([i]N?%p?)$", b="%1إ%3"}, | 116 | {a="(a)(')([i]N?%p?)$", b="%1إ%3"}, |
117 | {a="(a)(')([i]N?)(%p?%s)", b="%1إ%3%4"}, | 117 | {a="(a)(')([i]N?)(%p?%s)", b="%1إ%3%4"}, |
118 | {a="(a)('%p?)$", b="%1أْ"}, | 118 | {a="(a)(')(%p?)$", b="%1أْ%3"}, |
119 | {a="(a)(')(%p?%s)", b="%1أْ%3"}, | 119 | {a="(a)(')(%p?%s)", b="%1أْ%3"}, |
120 | -- i | 120 | -- i |
121 | {a="(i)(')([uai]N?%p?)$", b="%1ئ%3"}, | 121 | {a="(i)(')([uai]N?%p?)$", b="%1ئ%3"}, |
122 | {a="(i)(')([uai]N?)(%p?%s)", b="%1ئ%3%4"}, | 122 | {a="(i)(')([uai]N?)(%p?%s)", b="%1ئ%3%4"}, |
123 | {a="(i)('%p?)$", b="%1ئْ"}, | 123 | {a="(i)(')(%p?)$", b="%1ئْ%3"}, |
124 | {a="(i)(')(%p?%s)", b="%1ئْ%3"}, | 124 | {a="(i)(')(%p?%s)", b="%1ئْ%3"}, |
125 | -- | 125 | -- |
126 | -- middle | 126 | -- middle |
127 | {a="(U)(')", b="%1ء"}, | 127 | {a="(U)(')", b="%1ء"}, |
128 | {a="([Iy])(')", b="%1ئ"}, | 128 | {a="([Iy])(')", b="%1ئ"}, |
129 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, | 129 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, |
130 | {a="([^uai])(')([aA])", b="%1أ%3"}, | 130 | {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, |
131 | {a="([^uai])(')([iI])", b="%1ئ%3"}, | 131 | {a="([^uai])(')([iI])", b="%1ئ%3"}, |
132 | {a="(u)(')([uU])", b="%1ؤ%3"}, | 132 | {a="(u)(')([uU])", b="%1ؤ%3"}, |
133 | {a="(u)(')([aA])", b="%1ؤ%3"}, | 133 | {a="(u)(')(%_?[aAY])", b="%1ؤ%3"}, |
134 | {a="(u)(')([iI])", b="%1ئ%3"}, | 134 | {a="(u)(')([iI])", b="%1ئ%3"}, |
135 | {a="(a)(')([aA])", b="%1أ%3"}, | 135 | {a="(a)(')(%_?[aAY])", b="%1أ%3"}, |
136 | {a="(a)(')([uU])", b="%1ؤ%3"}, | 136 | {a="(a)(')([uU])", b="%1ؤ%3"}, |
137 | {a="(a)(')([iI])", b="%1ئ%3"}, | 137 | {a="(a)(')([iI])", b="%1ئ%3"}, |
138 | {a="(i)(')([aA])", b="%1ئ%3"}, | 138 | {a="(i)(')(%_?[aAY])", b="%1ئ%3"}, |
139 | {a="(i)(')([uU])", b="%1ئ%3"}, | 139 | {a="(i)(')([uU])", b="%1ئ%3"}, |
140 | {a="(i)(')([iI])", b="%1ئ%3"}, | 140 | {a="(i)(')([iI])", b="%1ئ%3"}, |
141 | {a="(a)(')([^uaiUAI])", b="%1أْ%3"}, | 141 | {a="(a)(')([^uaiUAI])", b="%1أْ%3"}, |
@@ -225,7 +225,7 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
225 | -- u | 225 | -- u |
226 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, | 226 | {a="(u)(')([uai]N?%p?)$", b="%1ؤ%3"}, |
227 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, | 227 | {a="(u)(')([uai]N?)(%p?%s)", b="%1ؤ%3%4"}, |
228 | {a="(u)('%p?)$", b="%1ؤْ"}, | 228 | {a="(u)(')(%p?)$", b="%1ؤْ%3"}, |
229 | {a="(u)(')(%p?%s)", b="%1ؤْ%3"}, | 229 | {a="(u)(')(%p?%s)", b="%1ؤْ%3"}, |
230 | -- a | 230 | -- a |
231 | {a="(a)(')(A%p?)$", b="%1آ"}, | 231 | {a="(a)(')(A%p?)$", b="%1آ"}, |
@@ -238,27 +238,27 @@ hamzafveasy = { -- differences marked below with 'easy' | |||
238 | {a="(a)(')(aN)(%p?%s)", b="%1أً%4"}, | 238 | {a="(a)(')(aN)(%p?%s)", b="%1أً%4"}, |
239 | {a="(a)(')([i]N?%p?)$", b="%1إ%3"}, | 239 | {a="(a)(')([i]N?%p?)$", b="%1إ%3"}, |
240 | {a="(a)(')([i]N?)(%p?%s)", b="%1إ%3%4"}, | 240 | {a="(a)(')([i]N?)(%p?%s)", b="%1إ%3%4"}, |
241 | {a="(a)('%p?)$", b="%1أْ"}, | 241 | {a="(a)(')(%p?)$", b="%1أْ%3"}, |
242 | {a="(a)(')(%p?%s)", b="%1أْ%3"}, | 242 | {a="(a)(')(%p?%s)", b="%1أْ%3"}, |
243 | -- i | 243 | -- i |
244 | {a="(i)(')([uai]N?%p?)$", b="%1ئ%3"}, | 244 | {a="(i)(')([uai]N?%p?)$", b="%1ئ%3"}, |
245 | {a="(i)(')([uai]N?)(%p?%s)", b="%1ئ%3%4"}, | 245 | {a="(i)(')([uai]N?)(%p?%s)", b="%1ئ%3%4"}, |
246 | {a="(i)('%p?)$", b="%1ئْ"}, | 246 | {a="(i)(')(%p?)$", b="%1ئْ%3"}, |
247 | {a="(i)(')(%p?%s)", b="%1ئْ%3"}, | 247 | {a="(i)(')(%p?%s)", b="%1ئْ%3"}, |
248 | -- | 248 | -- |
249 | -- middle | 249 | -- middle |
250 | {a="(U)(')", b="%1ء"}, | 250 | {a="(U)(')", b="%1ء"}, |
251 | {a="([Iy])(')", b="%1ئ"}, | 251 | {a="([Iy])(')", b="%1ئ"}, |
252 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, | 252 | {a="([^uai])(')([uU])", b="%1ؤ%3"}, |
253 | {a="([^uai])(')([aA])", b="%1أ%3"}, | 253 | {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, |
254 | {a="([^uai])(')([iI])", b="%1ئ%3"}, | 254 | {a="([^uai])(')([iI])", b="%1ئ%3"}, |
255 | {a="(u)(')([uU])", b="%1ؤ%3"}, | 255 | {a="(u)(')([uU])", b="%1ؤ%3"}, |
256 | {a="(u)(')([aA])", b="%1ؤ%3"}, | 256 | {a="(u)(')(%_?[aAY])", b="%1ؤ%3"}, |
257 | {a="(u)(')([iI])", b="%1ئ%3"}, | 257 | {a="(u)(')([iI])", b="%1ئ%3"}, |
258 | {a="(a)(')([aA])", b="%1أ%3"}, | 258 | {a="(a)(')(%_?[aAY])", b="%1أ%3"}, |
259 | {a="(a)(')([uU])", b="%1ؤ%3"}, | 259 | {a="(a)(')([uU])", b="%1ؤ%3"}, |
260 | {a="(a)(')([iI])", b="%1ئ%3"}, | 260 | {a="(a)(')([iI])", b="%1ئ%3"}, |
261 | {a="(i)(')([aA])", b="%1ئ%3"}, | 261 | {a="(i)(')(%_?[aAY])", b="%1ئ%3"}, |
262 | {a="(i)(')([uU])", b="%1ئ%3"}, | 262 | {a="(i)(')([uU])", b="%1ئ%3"}, |
263 | {a="(i)(')([iI])", b="%1ئ%3"}, | 263 | {a="(i)(')([iI])", b="%1ئ%3"}, |
264 | {a="(a)(')([^uaiUAI])", b="%1أْ%3"}, | 264 | {a="(a)(')([^uaiUAI])", b="%1أْ%3"}, |
@@ -597,11 +597,13 @@ digraphsfvidgham = { | |||
597 | {a="%^n%^n", b="ڭّ"}, | 597 | {a="%^n%^n", b="ڭّ"}, |
598 | -- additional characters + šaddah (end) | 598 | -- additional characters + šaddah (end) |
599 | -- sukūn begin | 599 | -- sukūn begin |
600 | -- first, take out hyphen if any: | 600 | -- first, take out hyphen if any (next two lines): |
601 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])%-([uaiUAI])", b="%1%2"}, | 601 | {a="([ai]Y)%-([uaiUAI])", b="%1%2"}, |
602 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, | ||
602 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?)$", b="%1ْ%2"}, | 603 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?)$", b="%1ْ%2"}, |
603 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, | 604 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, |
604 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | 605 | {a="([ai]Y)([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, |
606 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | ||
605 | -- take out sukūn in cases of assimilation | 607 | -- take out sukūn in cases of assimilation |
606 | {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, | 608 | {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, |
607 | {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, | 609 | {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, |
@@ -722,11 +724,13 @@ digraphsfv = { | |||
722 | {a="%^n%^n", b="ڭّ"}, | 724 | {a="%^n%^n", b="ڭّ"}, |
723 | -- additional characters + šaddah (end) | 725 | -- additional characters + šaddah (end) |
724 | -- sukūn begin | 726 | -- sukūn begin |
725 | -- first, take out hyphen if any: | 727 | -- first, take out hyphen if any (next two lines): |
726 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])%-([uaiUAI])", b="%1%2"}, | 728 | {a="([ai]Y)%-([uaiUAI])", b="%1%2"}, |
729 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, | ||
727 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?)$", b="%1ْ%2"}, | 730 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?)$", b="%1ْ%2"}, |
728 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, | 731 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, |
729 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | 732 | {a="([ai]Y)([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, |
733 | {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | ||
730 | -- take out sukūn in cases of assimilation | 734 | -- take out sukūn in cases of assimilation |
731 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, | 735 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, |
732 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, | 736 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, |
@@ -850,11 +854,13 @@ digraphsfveasy = { -- see the differences under 'easy' marker below | |||
850 | -- first take out every previously generated sukūn by hamza rules, | 854 | -- first take out every previously generated sukūn by hamza rules, |
851 | -- so there be no need to edit them: | 855 | -- so there be no need to edit them: |
852 | {a="ْ", b=""}, | 856 | {a="ْ", b=""}, |
853 | -- first, take out hyphen if any: | 857 | -- first, take out hyphen if any (next two lines): |
854 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])%-([uaiUAI])", b="%1%2"}, | 858 | -- {a="([ai]Y)%-([uaiUAI])", b="%1%2"}, |
859 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, | ||
855 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?)$", b="%1ْ%2"}, | 860 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?)$", b="%1ْ%2"}, |
856 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, | 861 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])(%p?%s)", b="%1ْ%2"}, |
857 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwyY])([%_]?[^%_uaiUAIًٌٍ])", b="%1ْ%2"}, | 862 | -- {a="([ai]Y)([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, |
863 | -- {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])([%_]?[^%_uaiUAIYًٌٍ])", b="%1ْ%2"}, | ||
858 | -- take out sukūn in cases of assimilation | 864 | -- take out sukūn in cases of assimilation |
859 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, | 865 | -- {a="(n)(ْ)(%s)(ر)", b="%1%3%4"}, |
860 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, | 866 | -- {a="(n)(ْ)(%s)(و)", b="%1%3%4"}, |