diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-06-26 19:03:20 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-06-26 19:03:20 +0200 |
commit | 0054164a877d322b6ff62870bb0ff6b905a029b9 (patch) | |
tree | c4ae86e3eecb344215ca0dd95dc7603a7440035d | |
parent | cc3301afa6666b691d076756402932ded79d510c (diff) | |
download | arabluatex-0054164a877d322b6ff62870bb0ff6b905a029b9.tar.gz |
'.A[uai]?' needed a little more work
-rw-r--r-- | arabluatex_trans.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index ebb8611..b86472b 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -73,7 +73,7 @@ captr = { | |||
73 | hamzatrdmg = { | 73 | hamzatrdmg = { |
74 | -- next line for ʾalif alone | 74 | -- next line for ʾalif alone |
75 | {a="(%.A)([^uai])", b=".|%2"}, | 75 | {a="(%.A)([^uai])", b=".|%2"}, |
76 | {a="(%.A)([uai])", b="|%2"}, | 76 | {a="(%.A)([uai])", b="||%2"}, |
77 | -- hard coded hamza | 77 | -- hard coded hamza |
78 | {a="|\"'", b="ʾ"}, | 78 | {a="|\"'", b="ʾ"}, |
79 | {a="A\"'", b="ʾA"}, | 79 | {a="A\"'", b="ʾA"}, |
@@ -441,8 +441,8 @@ shortvtrdmg = { | |||
441 | 441 | ||
442 | hamzatrloc = { | 442 | hamzatrloc = { |
443 | -- next line for ʾalif alone | 443 | -- next line for ʾalif alone |
444 | {a="(%.A)([^uai])", b=".|%2"}, | 444 | {a="(%.A)([^uai])", b=".|%2|"}, |
445 | {a="(%.A)([uai])", b="|%2"}, | 445 | {a="(%.A)([uai])", b="||%2"}, |
446 | -- hard coded hamza | 446 | -- hard coded hamza |
447 | {a="|\"'", b="ʾ"}, | 447 | {a="|\"'", b="ʾ"}, |
448 | {a="A\"'", b="ʾA"}, | 448 | {a="A\"'", b="ʾA"}, |
@@ -699,7 +699,7 @@ finaltrloc = { | |||
699 | 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 | 700 | -- next line for ʾalif alone |
701 | {a="(%.A)([^uai])", b=".|%2"}, | 701 | {a="(%.A)([^uai])", b=".|%2"}, |
702 | {a="(%.A)([uai])", b="|%2"}, | 702 | {a="(%.A)([uai])", b="||%2"}, |
703 | -- hard coded hamza | 703 | -- hard coded hamza |
704 | {a="|\"'", b="ʾ"}, | 704 | {a="|\"'", b="ʾ"}, |
705 | {a="A\"'", b="ʾA"}, | 705 | {a="A\"'", b="ʾA"}, |