diff options
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r-- | arabluatex_trans.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 31e00b2..52167e2 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -108,11 +108,11 @@ hamzatrdmg = { | |||
108 | -- then the 'initial' rules for the remaining cases | 108 | -- then the 'initial' rules for the remaining cases |
109 | {a="^(')([ua])", b="ʾ%2"}, | 109 | {a="^(')([ua])", b="ʾ%2"}, |
110 | {a="^(')(i)", b="ʾ%2"}, | 110 | {a="^(')(i)", b="ʾ%2"}, |
111 | -- consider replacing initial %W with [%s%(%[%<]: | 111 | -- consider replacing initial %W with [%s%(%[%<%-]: |
112 | -- {a="(%W)(')([ua])", b="%1ʾ%3"}, | 112 | -- {a="(%W)(')([ua])", b="%1ʾ%3"}, |
113 | -- {a="(%W)(')(i)", b="%1ʾ%3"}, | 113 | -- {a="(%W)(')(i)", b="%1ʾ%3"}, |
114 | {a="([%s%(%[%<])(')([ua])", b="%1ʾ%3"}, | 114 | {a="([%s%(%[%<%-])(')([ua])", b="%1ʾ%3"}, |
115 | {a="([%s%(%[%<])(')(i)", b="%1ʾ%3"}, | 115 | {a="([%s%(%[%<%-])(')(i)", b="%1ʾ%3"}, |
116 | -- final | 116 | -- final |
117 | {a="([Iy])(')(aN)$", b="%1ʾ%3"}, | 117 | {a="([Iy])(')(aN)$", b="%1ʾ%3"}, |
118 | {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, | 118 | {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, |
@@ -474,11 +474,11 @@ hamzatrloc = { | |||
474 | -- initial (needs both ^ and %W patterns) | 474 | -- initial (needs both ^ and %W patterns) |
475 | {a="^(')([ua])", b="%2"}, | 475 | {a="^(')([ua])", b="%2"}, |
476 | {a="^(')(i)", b="%2"}, | 476 | {a="^(')(i)", b="%2"}, |
477 | -- consider replacing initial %W with [%s%(%[%<]: | 477 | -- consider replacing initial %W with [%s%(%[%<%-]: |
478 | -- {a="(%W)(')([ua])", b="%1%3"}, | 478 | -- {a="(%W)(')([ua])", b="%1%3"}, |
479 | -- {a="(%W)(')(i)", b="%1%3"}, | 479 | -- {a="(%W)(')(i)", b="%1%3"}, |
480 | {a="([%s%(%[%<])(')([ua])", b="%1%3"}, | 480 | {a="([%s%(%[%<%-])(')([ua])", b="%1%3"}, |
481 | {a="([%s%(%[%<])(')(i)", b="%1%3"}, | 481 | {a="([%s%(%[%<%-])(')(i)", b="%1%3"}, |
482 | -- final | 482 | -- final |
483 | {a="([Iy])(')(aN)$", b="%1ʾ%3"}, | 483 | {a="([Iy])(')(aN)$", b="%1ʾ%3"}, |
484 | {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, | 484 | {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, |
@@ -729,11 +729,11 @@ hamzatrarabica = { -- ≠ from hamzatrloc: initial hamza has to be held | |||
729 | -- hold it for now (see below, beginning of digraphs table) | 729 | -- hold it for now (see below, beginning of digraphs table) |
730 | {a="^(')([ua])", b="@%2"}, | 730 | {a="^(')([ua])", b="@%2"}, |
731 | {a="^(')(i)", b="@%2"}, | 731 | {a="^(')(i)", b="@%2"}, |
732 | -- consider replacing initial %W with [%s%(%[%<]: | 732 | -- consider replacing initial %W with [%s%(%[%<%-]: |
733 | -- {a="(%W)(')([ua])", b="%1@%3"}, | 733 | -- {a="(%W)(')([ua])", b="%1@%3"}, |
734 | -- {a="(%W)(')(i)", b="%1@%3"}, | 734 | -- {a="(%W)(')(i)", b="%1@%3"}, |
735 | {a="([%s%(%[%<])(')([ua])", b="%1@%3"}, | 735 | {a="([%s%(%[%<%-])(')([ua])", b="%1@%3"}, |
736 | {a="([%s%(%[%<])(')(i)", b="%1@%3"}, | 736 | {a="([%s%(%[%<%-])(')(i)", b="%1@%3"}, |
737 | -- final | 737 | -- final |
738 | {a="([Iy])(')(aN)$", b="%1ʾ%3"}, | 738 | {a="([Iy])(')(aN)$", b="%1ʾ%3"}, |
739 | {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, | 739 | {a="([Iy])(')(aN)(%W)", b="%1ʾ%3%4"}, |