aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_trans.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r--arabluatex_trans.lua90
1 files changed, 45 insertions, 45 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index e758d77..61c989a 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -377,16 +377,16 @@ digraphstrdmg = {
377 {a="([%_]?[Uu])(%s)([%(%[%|%<]?)(\"?[uai])", b="u%2%3'"}, --p 377 {a="([%_]?[Uu])(%s)([%(%[%|%<]?)(\"?[uai])", b="u%2%3'"}, --p
378 {a="([%_]?[Ii])(%s)([%(%[%|%<]?)(\"?[uai])", b="i%2%3'"}, --p 378 {a="([%_]?[Ii])(%s)([%(%[%|%<]?)(\"?[uai])", b="i%2%3'"}, --p
379 -- ʾiʿrāb hyphen (begin) 379 -- ʾiʿrāb hyphen (begin)
380 {a="(%-)(\"?[UI]na)(%p?%s)", b="\\arbup{%2}%3"}, 380 {a="(%-)(\"?[UI]na)(%p*%s)", b="\\arbup{%2}%3"},
381 {a="(%-)(\"?[UI]na)(%p?)$", b="\\arbup{%2}%3"}, 381 {a="(%-)(\"?[UI]na)(%p*)$", b="\\arbup{%2}%3"},
382 {a="(%-)(\"?At[ui])(%p?%s)", b="\\arbup{%2}%3"}, 382 {a="(%-)(\"?At[ui])(%p*%s)", b="\\arbup{%2}%3"},
383 {a="(%-)(\"?At[ui])(%p?)$", b="\\arbup{%2}%3"}, 383 {a="(%-)(\"?At[ui])(%p*)$", b="\\arbup{%2}%3"},
384 {a="(%-)(\"?Ani)(%p?%s)", b="\\arbup{%2}%3"}, 384 {a="(%-)(\"?Ani)(%p*%s)", b="\\arbup{%2}%3"},
385 {a="(%-)(\"?Ani)(%p?)$", b="\\arbup{%2}%3"}, 385 {a="(%-)(\"?Ani)(%p*)$", b="\\arbup{%2}%3"},
386 {a="(%-)(\"?ayni)(%p?%s)", b="\\arbup{%2}%3"}, 386 {a="(%-)(\"?ayni)(%p*%s)", b="\\arbup{%2}%3"},
387 {a="(%-)(\"?ayni)(%p?)$", b="\\arbup{%2}%3"}, 387 {a="(%-)(\"?ayni)(%p*)$", b="\\arbup{%2}%3"},
388 {a="(%-)(\"?[uai])(%p?%s)", b="\\arbup{%2}%3"}, 388 {a="(%-)(\"?[uai])(%p*%s)", b="\\arbup{%2}%3"},
389 {a="(%-)(\"?[uai])(%p?)$", b="\\arbup{%2}%3"}, 389 {a="(%-)(\"?[uai])(%p*)$", b="\\arbup{%2}%3"},
390 -- ʾiʿrāb hyphen (end) shorten long vowels preceding ʾalif 390 -- ʾiʿrāb hyphen (end) shorten long vowels preceding ʾalif
391 -- conjunctionis—without forgetting 'lla_dI 391 -- conjunctionis—without forgetting 'lla_dI
392 {a="(U)(A)", b="U"}, 392 {a="(U)(A)", b="U"},
@@ -406,18 +406,18 @@ digraphstrdmg = {
406 {a="([%_]?[Uu])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="u%2%3"}, 406 {a="([%_]?[Uu])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="u%2%3"},
407 {a="([%_]?[Ii])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="i%2%3"}, 407 {a="([%_]?[Ii])(%s)([%(%[%|%<]?['][%_%^%.]?[l'btjghxdrzs`fqkmnwy][%-l])", b="i%2%3"},
408 {a="%-%-", b=""}, 408 {a="%-%-", b=""},
409 {a="iyyaT(%p?)$", b="īyaT%1"}, 409 {a="iyyaT(%p*)$", b="īyaT%1"},
410 {a="iyyaT(%p?%s)", b="īyaT%1"}, 410 {a="iyyaT(%p*%s)", b="īyaT%1"},
411 {a="iyy(%p?)$", b="ī%1"}, 411 {a="iyy(%p*)$", b="ī%1"},
412 {a="iyy(%p?%s)", b="ī%1"}, 412 {a="iyy(%p*%s)", b="ī%1"},
413 -- {a="T([^uai])", b="%1"}, 413 -- {a="T([^uai])", b="%1"},
414 {a="T(\\arbup)", b="t%1"}, 414 {a="T(\\arbup)", b="t%1"},
415 {a="([a%'][%_%^%.]?[tdrzsln]%-)(%S-)T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="%1%2h%3%4"}, --p 415 {a="([a%'][%_%^%.]?[tdrzsln]%-)(%S-)T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="%1%2h%3%4"}, --p
416 {a="T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="t%1%2"}, --p 416 {a="T([%(%[%|%<%s])(a[%_%^%.]?[tdrzsln]%-)", b="t%1%2"}, --p
417 {a="T([%|\"])", b="t%1"}, 417 {a="T([%|\"])", b="t%1"},
418 {a="T(%p?%s)", b="h%1"}, 418 {a="T(%p*%s)", b="h%1"},
419 {a="T(%p?)$", b="h%1"}, 419 {a="T(%p*)$", b="h%1"},
420 {a="T(%p?)(%W)", b="h%1%2"}, 420 {a="T(%p*)(%W)", b="h%1%2"},
421 {a="_t", b="ṯ"}, 421 {a="_t", b="ṯ"},
422 {a="%^g", b="ǧ"}, 422 {a="%^g", b="ǧ"},
423 {a="%.h", b="ḥ"}, 423 {a="%.h", b="ḥ"},
@@ -651,32 +651,32 @@ trigraphstrloc = { -- trigraphs or more
651 651
652digraphstrloc = { 652digraphstrloc = {
653 -- discard the ʾiʿrāb hyphen (begin) 653 -- discard the ʾiʿrāb hyphen (begin)
654 {a="(%-)(\"?[UI]na)(%p?%s)", b="%2%3"}, 654 {a="(%-)(\"?[UI]na)(%p*%s)", b="%2%3"},
655 {a="(%-)(\"?[UI]na)(%p?)$", b="%2%3"}, 655 {a="(%-)(\"?[UI]na)(%p*)$", b="%2%3"},
656 {a="(%-)(\"?At[ui])(%p?%s)", b="%2%3"}, 656 {a="(%-)(\"?At[ui])(%p*%s)", b="%2%3"},
657 {a="(%-)(\"?At[ui])(%p?)$", b="%2%3"}, 657 {a="(%-)(\"?At[ui])(%p*)$", b="%2%3"},
658 {a="(%-)(\"?Ani)(%p?%s)", b="%2%3"}, 658 {a="(%-)(\"?Ani)(%p*%s)", b="%2%3"},
659 {a="(%-)(\"?Ani)(%p?)$", b="%2%3"}, 659 {a="(%-)(\"?Ani)(%p*)$", b="%2%3"},
660 {a="(%-)(\"?ayni)(%p?%s)", b="%2%3"}, 660 {a="(%-)(\"?ayni)(%p*%s)", b="%2%3"},
661 {a="(%-)(\"?ayni)(%p?)$", b="%2%3"}, 661 {a="(%-)(\"?ayni)(%p*)$", b="%2%3"},
662 {a="(%-)([uai])(%p?%s)", b="%2%3"}, 662 {a="(%-)([uai])(%p*%s)", b="%2%3"},
663 {a="(%-)([uai])(%p?)$", b="%2%3"}, 663 {a="(%-)([uai])(%p*)$", b="%2%3"},
664 -- discard the ʾiʿrāb hyphen (end) 664 -- discard the ʾiʿrāb hyphen (end)
665 {a="(%-)(\"?[uai])", b="%1%2"}, -- hyphen + initial alif without hamza 665 {a="(%-)(\"?[uai])", b="%1%2"}, -- hyphen + initial alif without hamza
666 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza 666 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza
667 {a="(%s)([uai])", b="%1%2"}, -- initial alif without hamza 667 {a="(%s)([uai])", b="%1%2"}, -- initial alif without hamza
668 {a="%-%-", b=""}, 668 {a="%-%-", b=""},
669 {a="uww", b="ūw"}, 669 {a="uww", b="ūw"},
670 {a="iyy(%p?)$", b="ī%1"}, 670 {a="iyy(%p*)$", b="ī%1"},
671 {a="iyy(%p?%s)", b="ī%1"}, 671 {a="iyy(%p*%s)", b="ī%1"},
672 {a="iyy", b="īy"}, 672 {a="iyy", b="īy"},
673 {a="([tkdsg])(h)", b="%1'%2"}, 673 {a="([tkdsg])(h)", b="%1'%2"},
674 -- {a="T([^uai])", b="h%1"}, 674 -- {a="T([^uai])", b="h%1"},
675 {a="([a%']l%-)(%S-)T([%(%[%|%<%s])(al%-)", b="%1%2h%3%4"}, --p 675 {a="([a%']l%-)(%S-)T([%(%[%|%<%s])(al%-)", b="%1%2h%3%4"}, --p
676 {a="T([%(%[%|%<%s])(al%-)", b="t%1%2"}, --p 676 {a="T([%(%[%|%<%s])(al%-)", b="t%1%2"}, --p
677 {a="T([%|\"])", b="t%1"}, 677 {a="T([%|\"])", b="t%1"},
678 {a="T(%p?)$", b="h%1"}, 678 {a="T(%p*)$", b="h%1"},
679 {a="T(%p?%s)", b="h%1"}, 679 {a="T(%p*%s)", b="h%1"},
680 {a="_t", b="th"}, 680 {a="_t", b="th"},
681 {a="%^g", b="j"}, 681 {a="%^g", b="j"},
682 {a="%.h", b="ḥ"}, 682 {a="%.h", b="ḥ"},
@@ -905,29 +905,29 @@ digraphstrarabica = {
905 {a="(o[%S]-)([UAIuai])(o)(\"?[uai])", b=""}, 905 {a="(o[%S]-)([UAIuai])(o)(\"?[uai])", b=""},
906 {a="@", b=""}, -- remove the tag before the former hamza 906 {a="@", b=""}, -- remove the tag before the former hamza
907 -- discard the ʾiʿrāb hyphen (begin) 907 -- discard the ʾiʿrāb hyphen (begin)
908 {a="(%-)(\"?[UI]na)(%p?%s)", b="%2%3"}, 908 {a="(%-)(\"?[UI]na)(%p*%s)", b="%2%3"},
909 {a="(%-)(\"?[UI]na)(%p?)$", b="%2%3"}, 909 {a="(%-)(\"?[UI]na)(%p*)$", b="%2%3"},
910 {a="(%-)(\"?At[ui])(%p?%s)", b="%2%3"}, 910 {a="(%-)(\"?At[ui])(%p*%s)", b="%2%3"},
911 {a="(%-)(\"?At[ui])(%p?)$", b="%2%3"}, 911 {a="(%-)(\"?At[ui])(%p*)$", b="%2%3"},
912 {a="(%-)(\"?Ani)(%p?%s)", b="%2%3"}, 912 {a="(%-)(\"?Ani)(%p*%s)", b="%2%3"},
913 {a="(%-)(\"?Ani)(%p?)$", b="%2%3"}, 913 {a="(%-)(\"?Ani)(%p*)$", b="%2%3"},
914 {a="(%-)(\"?ayni)(%p?%s)", b="%2%3"}, 914 {a="(%-)(\"?ayni)(%p*%s)", b="%2%3"},
915 {a="(%-)(\"?ayni)(%p?)$", b="%2%3"}, 915 {a="(%-)(\"?ayni)(%p*)$", b="%2%3"},
916 {a="(%-)([uai])(%p?%s)", b="%2%3"}, 916 {a="(%-)([uai])(%p*%s)", b="%2%3"},
917 {a="(%-)([uai])(%p?)$", b="%2%3"}, 917 {a="(%-)([uai])(%p*)$", b="%2%3"},
918 -- discard the ʾiʿrāb hyphen (end) 918 -- discard the ʾiʿrāb hyphen (end)
919 {a="(%-)(\"?[uai])", b="%1%2"}, -- hyphen + initial alif without hamza 919 {a="(%-)(\"?[uai])", b="%1%2"}, -- hyphen + initial alif without hamza
920 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza 920 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza
921 {a="(%s)([uai])", b="%1%2"}, -- initial alif without hamza 921 {a="(%s)([uai])", b="%1%2"}, -- initial alif without hamza
922 {a="%-%-", b=""}, 922 {a="%-%-", b=""},
923 {a="iyy(%p?)$", b="ī%1"}, 923 {a="iyy(%p*)$", b="ī%1"},
924 {a="iyy(%p?%s)", b="ī%1"}, 924 {a="iyy(%p*%s)", b="ī%1"},
925 -- {a="T([^uai])", b="h%1"}, 925 -- {a="T([^uai])", b="h%1"},
926 {a="([a%']l%-)(%S-)aT([%(%[%|%<%s])(al%-)", b="%1%2a%3%4"}, --p 926 {a="([a%']l%-)(%S-)aT([%(%[%|%<%s])(al%-)", b="%1%2a%3%4"}, --p
927 {a="aT([%(%[%|%<%s])(al%-)", b="at%1%2"}, --p 927 {a="aT([%(%[%|%<%s])(al%-)", b="at%1%2"}, --p
928 {a="T([%|\"])", b="t%1"}, 928 {a="T([%|\"])", b="t%1"},
929 {a="aT(%p?)$", b="a%1"}, 929 {a="aT(%p*)$", b="a%1"},
930 {a="aT(%p?%s)", b="a%1"}, 930 {a="aT(%p*%s)", b="a%1"},
931 {a="_t", b="ṯ"}, 931 {a="_t", b="ṯ"},
932 {a="%^g", b="ǧ"}, 932 {a="%^g", b="ǧ"},
933 {a="%.h", b="ḥ"}, 933 {a="%.h", b="ḥ"},