diff options
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r-- | arabluatex_trans.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 52167e2..ebb8611 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -71,6 +71,9 @@ captr = { | |||
71 | -- dmg | 71 | -- dmg |
72 | 72 | ||
73 | hamzatrdmg = { | 73 | hamzatrdmg = { |
74 | -- next line for ʾalif alone | ||
75 | {a="(%.A)([^uai])", b=".|%2"}, | ||
76 | {a="(%.A)([uai])", b="|%2"}, | ||
74 | -- hard coded hamza | 77 | -- hard coded hamza |
75 | {a="|\"'", b="ʾ"}, | 78 | {a="|\"'", b="ʾ"}, |
76 | {a="A\"'", b="ʾA"}, | 79 | {a="A\"'", b="ʾA"}, |
@@ -437,6 +440,9 @@ shortvtrdmg = { | |||
437 | -- loc | 440 | -- loc |
438 | 441 | ||
439 | hamzatrloc = { | 442 | hamzatrloc = { |
443 | -- next line for ʾalif alone | ||
444 | {a="(%.A)([^uai])", b=".|%2"}, | ||
445 | {a="(%.A)([uai])", b="|%2"}, | ||
440 | -- hard coded hamza | 446 | -- hard coded hamza |
441 | {a="|\"'", b="ʾ"}, | 447 | {a="|\"'", b="ʾ"}, |
442 | {a="A\"'", b="ʾA"}, | 448 | {a="A\"'", b="ʾA"}, |
@@ -691,6 +697,9 @@ finaltrloc = { | |||
691 | -- arabica | 697 | -- arabica |
692 | 698 | ||
693 | hamzatrarabica = { -- ≠ from hamzatrloc: initial hamza has to be held | 699 | hamzatrarabica = { -- ≠ from hamzatrloc: initial hamza has to be held |
700 | -- next line for ʾalif alone | ||
701 | {a="(%.A)([^uai])", b=".|%2"}, | ||
702 | {a="(%.A)([uai])", b="|%2"}, | ||
694 | -- hard coded hamza | 703 | -- hard coded hamza |
695 | {a="|\"'", b="ʾ"}, | 704 | {a="|\"'", b="ʾ"}, |
696 | {a="A\"'", b="ʾA"}, | 705 | {a="A\"'", b="ʾA"}, |