aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2017-08-07 15:40:05 +0200
committerRobert Alessi <alessi@robertalessi.net>2017-08-07 15:40:05 +0200
commit73680fa9e856997cee5a1df45f92b701ff807d90 (patch)
tree37b9233ed828ea0368427dca48cd839334a043a9
parent2afe6cd49680e71ce9828564f37e47b3fd4042fa (diff)
downloadarabluatex-73680fa9e856997cee5a1df45f92b701ff807d90.tar.gz
a bit of clean up in the code
-rw-r--r--arabluatex_trans.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 1a277a2..5cd992c 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -100,12 +100,10 @@ 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"}, 103 {a="^u'([^uaiUAI])", b="U%1"},
105 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"}, 104 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"},
106 {a="^i'([^uaiUAI])", b="I%1"}, 105 {a="^i'([^uaiUAI])", b="I%1"},
107 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"}, 106 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"},
108 --new (end)
109 -- madda (historic writing below) 107 -- madda (historic writing below)
110 {a="'a'([^uaiUAI])", b="ʾA%1"}, 108 {a="'a'([^uaiUAI])", b="ʾA%1"},
111 {a="'a?A", b="ʾA"}, 109 {a="'a?A", b="ʾA"},
@@ -477,12 +475,10 @@ hamzatrloc = {
477 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"}, 475 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"},
478 {a="^'i'([^uaiUAI])", b="I%1"}, 476 {a="^'i'([^uaiUAI])", b="I%1"},
479 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"}, 477 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"},
480 --new (begin)
481 {a="^u'([^uaiUAI])", b="U%1"}, 478 {a="^u'([^uaiUAI])", b="U%1"},
482 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"}, 479 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"},
483 {a="^i'([^uaiUAI])", b="I%1"}, 480 {a="^i'([^uaiUAI])", b="I%1"},
484 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"}, 481 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"},
485 --new (end)
486 -- madda (historic writing below) 482 -- madda (historic writing below)
487 {a="^(')(A)", b="%2"}, 483 {a="^(')(A)", b="%2"},
488 {a="(%W)(')(A)", b="%1%3"}, 484 {a="(%W)(')(A)", b="%1%3"},
@@ -738,12 +734,10 @@ hamzatrarabica = { -- ≠ from hamzatrloc: initial hamza has to be held
738 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"}, 734 {a="([%s%(%[%<%-])'u'([^uaiUAI])", b="%1U%2"},
739 {a="^'i'([^uaiUAI])", b="I%1"}, 735 {a="^'i'([^uaiUAI])", b="I%1"},
740 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"}, 736 {a="([%s%(%[%<%-])'i'([^uaiUAI])", b="%1I%2"},
741 --new (begin)
742 {a="^u'([^uaiUAI])", b="U%1"}, 737 {a="^u'([^uaiUAI])", b="U%1"},
743 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"}, 738 {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1U%2"},
744 {a="^i'([^uaiUAI])", b="I%1"}, 739 {a="^i'([^uaiUAI])", b="I%1"},
745 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"}, 740 {a="([^uaiUAIYN][%s%(%[%<])i'([^uaiUAI])", b="%1I%2"},
746 --new (end)
747 -- madda (historic writing below) 741 -- madda (historic writing below)
748 {a="^(')(A)", b="%2"}, 742 {a="^(')(A)", b="%2"},
749 {a="(%W)(')(A)", b="%1%3"}, 743 {a="(%W)(')(A)", b="%1%3"},