aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex_trans.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 21fbe96..1a277a2 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -100,6 +100,12 @@ hamzatrdmg = {
100 -- taḫfīfu 'l-hamza 100 -- taḫfīfu 'l-hamza
101 {a="'u'([^uaiUAI])", b="ʾU%1"}, 101 {a="'u'([^uaiUAI])", b="ʾU%1"},
102 {a="'i'([^uaiUAI])", b="ʾI%1"}, 102 {a="'i'([^uaiUAI])", b="ʾI%1"},
103 --new (begin)
104 {a="^u'([^uaiUAI])", b="U%1"},
105 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"},
106 {a="^i'([^uaiUAI])", b="I%1"},
107 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"},
108 --new (end)
103 -- madda (historic writing below) 109 -- madda (historic writing below)
104 {a="'a'([^uaiUAI])", b="ʾA%1"}, 110 {a="'a'([^uaiUAI])", b="ʾA%1"},
105 {a="'a?A", b="ʾA"}, 111 {a="'a?A", b="ʾA"},
@@ -471,6 +477,12 @@ hamzatrloc = {
471 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"}, 477 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"},
472 {a="^'i'([^uaiUAI])", b="I%1"}, 478 {a="^'i'([^uaiUAI])", b="I%1"},
473 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"}, 479 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"},
480 --new (begin)
481 {a="^u'([^uaiUAI])", b="U%1"},
482 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"},
483 {a="^i'([^uaiUAI])", b="I%1"},
484 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"},
485 --new (end)
474 -- madda (historic writing below) 486 -- madda (historic writing below)
475 {a="^(')(A)", b="%2"}, 487 {a="^(')(A)", b="%2"},
476 {a="(%W)(')(A)", b="%1%3"}, 488 {a="(%W)(')(A)", b="%1%3"},
@@ -726,6 +738,12 @@ hamzatrarabica = { -- ≠ from hamzatrloc: initial hamza has to be held
726 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"}, 738 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"},
727 {a="^'i'([^uaiUAI])", b="I%1"}, 739 {a="^'i'([^uaiUAI])", b="I%1"},
728 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"}, 740 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"},
741 --new (begin)
742 {a="^u'([^uaiUAI])", b="U%1"},
743 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"},
744 {a="^i'([^uaiUAI])", b="I%1"},
745 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"},
746 --new (end)
729 -- madda (historic writing below) 747 -- madda (historic writing below)
730 {a="^(')(A)", b="%2"}, 748 {a="^(')(A)", b="%2"},
731 {a="(%W)(')(A)", b="%1%3"}, 749 {a="(%W)(')(A)", b="%1%3"},