diff options
author | Robert Alessi <alessi@robertalessi.net> | 2017-03-30 18:06:04 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2017-03-30 18:06:04 +0200 |
commit | 1917bc52ec2caef4c46a7d3d44f143ed092facf2 (patch) | |
tree | 5dafc95a20dc82961e19072ca50839ca6c34ad4a | |
parent | 885a3e5523dc7d33ad45a3254b2d0be2af8f40ad (diff) | |
download | arabluatex-1917bc52ec2caef4c46a7d3d44f143ed092facf2.tar.gz |
completed arabica tables
-rw-r--r-- | arabluatex_trans.lua | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index f6c90f7..bd2d27a 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua | |||
@@ -328,8 +328,12 @@ digraphstrdmg = { | |||
328 | {a="([%_]?[Uu])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="u%2%3"}, | 328 | {a="([%_]?[Uu])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="u%2%3"}, |
329 | {a="([%_]?[Ii])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="i%2%3"}, | 329 | {a="([%_]?[Ii])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="i%2%3"}, |
330 | {a="%-%-", b=""}, | 330 | {a="%-%-", b=""}, |
331 | {a="iyyaT$", b="īyaT"}, | ||
332 | {a="iyyaT(%W)", b="īyaT%1"}, | ||
333 | {a="iyy$", b="ī"}, | ||
334 | {a="iyy(%W)", b="ī%1"}, | ||
331 | -- {a="T([^uai])", b="%1"}, | 335 | -- {a="T([^uai])", b="%1"}, |
332 | {a="([a%'][%_%^%.]?[tdrzsln]%-)(.-)T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="%1%2h%3%4"}, --p | 336 | {a="([a%'][%_%^%.]?[tdrzsln]%-)(%S-)T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="%1%2h%3%4"}, --p |
333 | {a="T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="t%1%2"}, --p | 337 | {a="T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="t%1%2"}, --p |
334 | {a="T(%p?%s)", b="h%1"}, | 338 | {a="T(%p?%s)", b="h%1"}, |
335 | {a="T(%p?)$", b="h%1"}, | 339 | {a="T(%p?)$", b="h%1"}, |
@@ -552,7 +556,7 @@ digraphstrloc = { | |||
552 | {a="iyy", b="īy"}, | 556 | {a="iyy", b="īy"}, |
553 | {a="([tkdsg])(h)", b="%1'%2"}, | 557 | {a="([tkdsg])(h)", b="%1'%2"}, |
554 | -- {a="T([^uai])", b="h%1"}, | 558 | -- {a="T([^uai])", b="h%1"}, |
555 | {a="([a%']l%-)(.-)T([%(%[%|%<%s])(al%-)", b="%1%2h%3%4"}, --p | 559 | {a="([a%']l%-)(%S-)T([%(%[%|%<%s])(al%-)", b="%1%2h%3%4"}, --p |
556 | {a="T([%(%[%|%<%s])(al%-)", b="t%1%2"}, --p | 560 | {a="T([%(%[%|%<%s])(al%-)", b="t%1%2"}, --p |
557 | {a="T$", b="h"}, | 561 | {a="T$", b="h"}, |
558 | {a="T(%W)", b="h%1"}, | 562 | {a="T(%W)", b="h%1"}, |
@@ -755,6 +759,7 @@ trigraphstrarabica = { -- trigraphs or more | |||
755 | {a="(_a)I", b="A"} | 759 | {a="(_a)I", b="A"} |
756 | } | 760 | } |
757 | 761 | ||
762 | --new | ||
758 | digraphstrarabica = { | 763 | digraphstrarabica = { |
759 | -- discard the ʾiʿrāb hyphen (begin) | 764 | -- discard the ʾiʿrāb hyphen (begin) |
760 | {a="(%-)(\"?[UI]na)(%p?%s)", b="%2%3"}, | 765 | {a="(%-)(\"?[UI]na)(%p?%s)", b="%2%3"}, |
@@ -772,31 +777,28 @@ digraphstrarabica = { | |||
772 | {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza | 777 | {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza |
773 | {a="(%s)([uai])", b="%1%2"}, -- initial alif without hamza | 778 | {a="(%s)([uai])", b="%1%2"}, -- initial alif without hamza |
774 | {a="%-%-", b=""}, | 779 | {a="%-%-", b=""}, |
775 | {a="uww", b="ūw"}, | ||
776 | {a="iyy$", b="ī"}, | 780 | {a="iyy$", b="ī"}, |
777 | {a="iyy(%W)", b="ī%1"}, | 781 | {a="iyy(%W)", b="ī%1"}, |
778 | {a="iyy", b="īy"}, | ||
779 | {a="([tkdsg])(h)", b="%1'%2"}, | ||
780 | -- {a="T([^uai])", b="h%1"}, | 782 | -- {a="T([^uai])", b="h%1"}, |
781 | {a="([a%']l%-)(.-)T([%(%[%|%<%s])(al%-)", b="%1%2h%3%4"}, --p | 783 | {a="([a%']l%-)(%S-)aT([%(%[%|%<%s])(al%-)", b="%1%2a%3%4"}, --p |
782 | {a="T([%(%[%|%<%s])(al%-)", b="t%1%2"}, --p | 784 | {a="aT([%(%[%|%<%s])(al%-)", b="at%1%2"}, --p |
783 | {a="T$", b="h"}, | 785 | {a="aT$", b="a"}, |
784 | {a="T(%W)", b="h%1"}, | 786 | {a="aT(%W)", b="a%1"}, |
785 | {a="_t", b="th"}, | 787 | {a="_t", b="ṯ"}, |
786 | {a="%^g", b="j"}, | 788 | {a="%^g", b="ğ"}, |
787 | {a="%.h", b="ḥ"}, | 789 | {a="%.h", b="ḥ"}, |
788 | {a="_h", b="kh"}, | 790 | {a="_h", b="ḫ"}, |
789 | {a="_d", b="dh"}, | 791 | {a="_d", b="ḏ"}, |
790 | {a="%^s", b="sh"}, | 792 | {a="%^s", b="š"}, |
791 | {a="%.s", b="ṣ"}, | 793 | {a="%.s", b="ṣ"}, |
792 | {a="%.d", b="ḍ"}, | 794 | {a="%.d", b="ḍ"}, |
793 | {a="%.t", b="ṭ"}, | 795 | {a="%.t", b="ṭ"}, |
794 | {a="%.z", b="ẓ"}, | 796 | {a="%.z", b="ẓ"}, |
795 | {a="%.g", b="gh"}, | 797 | {a="%.g", b="ġ"}, |
796 | {a="(U)(A)", b="ū"}, | 798 | {a="(U)(A)", b="ū"}, |
797 | {a="WA", b="w"}, | 799 | {a="WA", b="w"}, |
798 | {a="(a)W", b="%1w"}, | 800 | {a="(a)W", b="%1w"}, |
799 | {a="_A", b="á"}, | 801 | {a="_A", b="ā"}, |
800 | {a="_u", b="ū"}, | 802 | {a="_u", b="ū"}, |
801 | {a="_a", b="ā"}, | 803 | {a="_a", b="ā"}, |
802 | {a="_i", b="ī"}, | 804 | {a="_i", b="ī"}, |
@@ -812,8 +814,8 @@ digraphstrarabica = { | |||
812 | singletrarabica = { | 814 | singletrarabica = { |
813 | {a="b", b="b"}, | 815 | {a="b", b="b"}, |
814 | {a="t", b="t"}, | 816 | {a="t", b="t"}, |
815 | {a="j", b="j"}, | 817 | {a="j", b="ğ"}, |
816 | {a="x", b="kh"}, | 818 | {a="x", b="ḫ"}, |
817 | {a="d", b="d"}, | 819 | {a="d", b="d"}, |
818 | {a="r", b="r"}, | 820 | {a="r", b="r"}, |
819 | {a="z", b="z"}, | 821 | {a="z", b="z"}, |