aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2017-06-20 12:14:13 +0200
committerRobert Alessi <alessi@robertalessi.net>2017-06-20 12:14:13 +0200
commitbae423499ecb932a370d0add7991c601cd9f255f (patch)
tree84dd4ae816bd8418d0f032ee311d0ddfb8c0658f
parenta2060bb24fcd6e7dd5b5b31335fb40455d767624 (diff)
downloadarabluatex-bae423499ecb932a370d0add7991c601cd9f255f.tar.gz
addition of six Persian characters
-rw-r--r--arabluatex_fullvoc.lua119
-rw-r--r--arabluatex_novoc.lua32
-rw-r--r--arabluatex_trans.lua126
-rw-r--r--arabluatex_voc.lua87
4 files changed, 283 insertions, 81 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index 6d63192..99efb75 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -354,12 +354,16 @@ trigraphsfv = { -- trigraphs or more
354 -- al- + lām 354 -- al- + lām
355 {a="^(a)l%-(l)", b="ا%1ل%2%2"}, 355 {a="^(a)l%-(l)", b="ا%1ل%2%2"},
356 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3%3"}, --p 356 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3%3"}, --p
357 -- al- + solar consonant 357 -- al- + solar consonant ('c' and '^n' are additional characters)
358 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="ا%1ل%2%2"}, 358 {a="^(a)l%-(%^n)", b="ا%1ل%2"}, -- ^n is lunar
359 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsn])", b="%1ا%2ل%3%3"}, --p 359 {a="([%(%[%|%<%s%-o])(a)l%-(%^n)", b="%1ا%2ل%3"}, -- ^n is lunar --p
360 -- assim. art. + solar consonant 360 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="ا%1ل%2%2"},
361 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل%2"}, 361 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsnc])", b="%1ا%2ل%3%3"}, --p
362 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل%3"}, --p 362 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
363 {a="^(a)(%^n)%-", b="ا%1ل"}, -- ^n is lunar
364 {a="([%(%[%|%<%s%-o])(a)(%^n)%-", b="%1ا%2ل"}, -- ^n is lunar --p
365 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="ا%1ل%2"},
366 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsnc])%-", b="%1ا%2ل%3"}, --p
363 -- al- + initial unstable hamza 367 -- al- + initial unstable hamza
364 {a="^(a)l%-(\"?[uai])", b="ا%1ل%2ٱ"}, 368 {a="^(a)l%-(\"?[uai])", b="ا%1ل%2ٱ"},
365 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1ا%2ل%3ٱ"}, --p 369 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1ا%2ل%3ٱ"}, --p
@@ -378,15 +382,23 @@ trigraphsfv = { -- trigraphs or more
378 -- art. with waṣla + lām 382 -- art. with waṣla + lām
379 {a="'l%-(l)", b="ٱل%1%1"}, 383 {a="'l%-(l)", b="ٱل%1%1"},
380 -- art. with waṣla + solar consonant 384 -- art. with waṣla + solar consonant
381 {a="'l%-([%_%^%.]?[tdrzsn])", b="ٱل%1%1"}, 385 -- ('c' and '^n' are additional characters)
386 {a="'l%-(%^n)", b="ٱل%1"}, -- ^n is lunar
387 {a="'l%-([%_%^%.]?[tdrzsnc])", b="ٱل%1%1"},
382 -- li-/la- + art. + lām 388 -- li-/la- + art. + lām
383 {a="l([ai])%-l%-(l)", b="ل%1%2%2"}, 389 {a="l([ai])%-l%-(l)", b="ل%1%2%2"},
384 -- assim. art. with waṣla + solar consonant 390 -- assim. art. with waṣla + solar consonant
385 {a="'([%_%^%.]?[tdrzsn])%-", b="ٱل%1"}, 391 -- ('c' and '^n' are additional characters)
392 {a="'(%^n)%-", b="ٱل"}, -- ^n is lunar
393 {a="'([%_%^%.]?[tdrzsnc])%-", b="ٱل%1"},
386 -- li-/la- + art. + solar consonant is a special orthography 394 -- li-/la- + art. + solar consonant is a special orthography
387 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2%2"}, 395 -- ('c' and '^n' are additional characters)
396 {a="l([ai])%-l%-(%^n)", b="ل%1ل%2"}, -- ^n is lunar
397 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%2%2"},
388 -- li-/la- + assim. art. + solar consonant is a special orthography 398 -- li-/la- + assim. art. + solar consonant is a special orthography
389 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3%3"}, 399 -- ('c' and '^n' are additional characters)
400 {a="l([ai])%-(%^n)%-(%^n)", b="ل%1ل%3"}, -- ^n is lunar
401 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%3%3"},
390 -- art. with waṣla + initial unstable hamza 402 -- art. with waṣla + initial unstable hamza
391 {a="'l%-(\"?[uai])", b="ٱل%1ٱ"}, 403 {a="'l%-(\"?[uai])", b="ٱل%1ٱ"},
392 -- art. with waṣla + lunar consonant (i.e. what remains) 404 -- art. with waṣla + lunar consonant (i.e. what remains)
@@ -423,12 +435,16 @@ trigraphsfveasy = { -- trigraphs or more (see 'easy' tag below for the diffs)
423 -- al- + lām 435 -- al- + lām
424 {a="^(a)l%-(l)", b="ا%1ل%2%2"}, 436 {a="^(a)l%-(l)", b="ا%1ل%2%2"},
425 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3%3"}, --p 437 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3%3"}, --p
426 -- al- + solar consonant 438 -- al- + solar consonant ('c' and '^n' are additional characters)
427 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="ا%1ل%2%2"}, 439 {a="^(a)l%-(%^n)", b="ا%1ل%2"}, -- ^n is lunar
428 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsn])", b="%1ا%2ل%3%3"}, --p 440 {a="([%(%[%|%<%s%-o])(a)l%-(%^n)", b="%1ا%2ل%3"}, -- ^n is lunar --p
429 -- assim. art. + solar consonant 441 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="ا%1ل%2%2"},
430 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل%2"}, 442 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsnc])", b="%1ا%2ل%3%3"}, --p
431 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل%3"}, --p 443 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
444 {a="^(a)(%^n)%-", b="ا%1ل"}, -- ^n is lunar
445 {a="([%(%[%|%<%s%-o])(a)(%^n)%-", b="%1ا%2ل"}, -- ^n is lunar --p
446 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="ا%1ل%2"},
447 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsnc])%-", b="%1ا%2ل%3"}, --p
432 -- al- + initial unstable hamza 448 -- al- + initial unstable hamza
433 {a="^(a)l%-(\"?[uai])", b="ا%1ل%2ٱ"}, 449 {a="^(a)l%-(\"?[uai])", b="ا%1ل%2ٱ"},
434 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1ا%2ل%3ٱ"}, --p 450 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1ا%2ل%3ٱ"}, --p
@@ -447,15 +463,23 @@ trigraphsfveasy = { -- trigraphs or more (see 'easy' tag below for the diffs)
447 -- art. with waṣla + lām 463 -- art. with waṣla + lām
448 {a="'l%-(l)", b="ٱل%1%1"}, 464 {a="'l%-(l)", b="ٱل%1%1"},
449 -- art. with waṣla + solar consonant 465 -- art. with waṣla + solar consonant
450 {a="'l%-([%_%^%.]?[tdrzsn])", b="ٱل%1%1"}, 466 -- ('c' and '^n' are additional characters)
467 {a="'l%-(%^n)", b="ٱل%1"}, -- ^n is lunar
468 {a="'l%-([%_%^%.]?[tdrzsnc])", b="ٱل%1%1"},
451 -- li-/la- + art. + lām 469 -- li-/la- + art. + lām
452 {a="l([ai])%-l%-(l)", b="ل%1%2%2"}, 470 {a="l([ai])%-l%-(l)", b="ل%1%2%2"},
453 -- assim. art. with waṣla + solar consonant 471 -- assim. art. with waṣla + solar consonant
454 {a="'([%_%^%.]?[tdrzsn])%-", b="ٱل%1"}, 472 -- ('c' and '^n' are is an additional characters)
473 {a="'(%^n)%-", b="ٱل"}, -- ^n is lunar
474 {a="'([%_%^%.]?[tdrzsnc])%-", b="ٱل%1"},
455 -- li-/la- + art. + solar consonant is a special orthography 475 -- li-/la- + art. + solar consonant is a special orthography
456 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2%2"}, 476 -- ('c' and '^n' are additional characters)
477 {a="l([ai])%-l%-(%^n)", b="ل%1ل%2"}, -- ^n is lunar
478 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%2%2"},
457 -- li-/la- + assim. art. + solar consonant is a special orthography 479 -- li-/la- + assim. art. + solar consonant is a special orthography
458 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3%3"}, 480 -- ('c and '^n' are additional characters)
481 {a="l([ai])%-(%^n)%-(%^n)", b="ل%1ل%3"}, -- ^n is lunar
482 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%3%3"},
459 -- art. with waṣla + initial unstable hamza 483 -- art. with waṣla + initial unstable hamza
460 {a="'l%-(\"?[uai])", b="ٱل%1ٱ"}, 484 {a="'l%-(\"?[uai])", b="ٱل%1ٱ"},
461 -- art. with waṣla + lunar consonant (i.e. what remains) 485 -- art. with waṣla + lunar consonant (i.e. what remains)
@@ -511,6 +535,8 @@ digraphsfvidgham = {
511 {a="bb", b="بّ"}, 535 {a="bb", b="بّ"},
512 {a="BB", b="ـّ"}, 536 {a="BB", b="ـّ"},
513 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"}, 537 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"},
538 -- same as above for additional characters:
539 {a="([%_%^%.])([cn])([cn])", b="%1%2|%3"},
514 {a="tt", b="تّ"}, 540 {a="tt", b="تّ"},
515 {a="%_t%_t", b="ثّ"}, 541 {a="%_t%_t", b="ثّ"},
516 {a="jj", b="جّ"}, 542 {a="jj", b="جّ"},
@@ -539,6 +565,14 @@ digraphsfvidgham = {
539 {a="hh", b="هّ"}, 565 {a="hh", b="هّ"},
540 {a="ww", b="وّ"}, 566 {a="ww", b="وّ"},
541 {a="yy", b="يّ"}, 567 {a="yy", b="يّ"},
568 -- additional characters + šaddah (begin)
569 {a="pp", b="پّ"},
570 {a="vv", b="ڤّ"},
571 {a="gg", b="گّ"},
572 {a="%^c%^c", b="چّ"},
573 {a="%^z%^z", b="ژّ"},
574 {a="%^n%^n", b="ڭّ"},
575 -- additional characters + šaddah (end)
542 -- sukūn begin 576 -- sukūn begin
543 -- first, take out hyphen if any: 577 -- first, take out hyphen if any:
544 {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, 578 {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"},
@@ -565,6 +599,11 @@ digraphsfvidgham = {
565 {a="%.t", b="ط"}, 599 {a="%.t", b="ط"},
566 {a="%.z", b="ظ"}, 600 {a="%.z", b="ظ"},
567 {a="%.g", b="غ"}, 601 {a="%.g", b="غ"},
602 -- additional characters (begin)
603 {a="%^c", b="چ"},
604 {a="%^z", b="ژ"},
605 {a="%^n", b="ڭ"},
606 -- additional characters (end)
568 {a="(U)(A)", b="%1ا"}, 607 {a="(U)(A)", b="%1ا"},
569 {a="WA", b="وْا"}, 608 {a="WA", b="وْا"},
570 {a="(a)W\"", b="%1وا"}, 609 {a="(a)W\"", b="%1وا"},
@@ -619,6 +658,8 @@ digraphsfv = {
619 {a="bb", b="بّ"}, 658 {a="bb", b="بّ"},
620 {a="BB", b="ـّ"}, 659 {a="BB", b="ـّ"},
621 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"}, 660 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"},
661 -- same as above for additional characters:
662 {a="([%_%^%.])([cn])([cn])", b="%1%2|%3"},
622 {a="tt", b="تّ"}, 663 {a="tt", b="تّ"},
623 {a="%_t%_t", b="ثّ"}, 664 {a="%_t%_t", b="ثّ"},
624 {a="jj", b="جّ"}, 665 {a="jj", b="جّ"},
@@ -647,6 +688,14 @@ digraphsfv = {
647 {a="hh", b="هّ"}, 688 {a="hh", b="هّ"},
648 {a="ww", b="وّ"}, 689 {a="ww", b="وّ"},
649 {a="yy", b="يّ"}, 690 {a="yy", b="يّ"},
691 -- additional characters + šaddah (begin)
692 {a="pp", b="پّ"},
693 {a="vv", b="ڤّ"},
694 {a="gg", b="گّ"},
695 {a="%^c%^c", b="چّ"},
696 {a="%^z%^z", b="ژّ"},
697 {a="%^n%^n", b="ڭّ"},
698 -- additional characters + šaddah (end)
650 -- sukūn begin 699 -- sukūn begin
651 -- first, take out hyphen if any: 700 -- first, take out hyphen if any:
652 {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"}, 701 {a="([%_%^%.]?[Bbtjghxdrzs%`fqklmnwy])%-([uaiUAI])", b="%1%2"},
@@ -673,6 +722,11 @@ digraphsfv = {
673 {a="%.t", b="ط"}, 722 {a="%.t", b="ط"},
674 {a="%.z", b="ظ"}, 723 {a="%.z", b="ظ"},
675 {a="%.g", b="غ"}, 724 {a="%.g", b="غ"},
725 -- additional characters (begin)
726 {a="%^c", b="چ"},
727 {a="%^z", b="ژ"},
728 {a="%^n", b="ڭ"},
729 -- additional characters (end)
676 {a="(U)(A)", b="%1ا"}, 730 {a="(U)(A)", b="%1ا"},
677 {a="WA", b="وْا"}, 731 {a="WA", b="وْا"},
678 {a="(a)W\"", b="%1وا"}, 732 {a="(a)W\"", b="%1وا"},
@@ -727,6 +781,8 @@ digraphsfveasy = { -- see the differences under 'easy' marker below
727 {a="bb", b="بّ"}, 781 {a="bb", b="بّ"},
728 {a="BB", b="ـّ"}, 782 {a="BB", b="ـّ"},
729 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"}, 783 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"},
784 -- same as above for additional characters:
785 {a="([%_%^%.])([cn])([cn])", b="%1%2|%3"},
730 {a="tt", b="تّ"}, 786 {a="tt", b="تّ"},
731 {a="%_t%_t", b="ثّ"}, 787 {a="%_t%_t", b="ثّ"},
732 {a="jj", b="جّ"}, 788 {a="jj", b="جّ"},
@@ -755,6 +811,14 @@ digraphsfveasy = { -- see the differences under 'easy' marker below
755 {a="hh", b="هّ"}, 811 {a="hh", b="هّ"},
756 {a="ww", b="وّ"}, 812 {a="ww", b="وّ"},
757 {a="yy", b="يّ"}, 813 {a="yy", b="يّ"},
814 -- additional characters + šaddah (begin)
815 {a="pp", b="پّ"},
816 {a="vv", b="ڤّ"},
817 {a="gg", b="گّ"},
818 {a="%^c%^c", b="چّ"},
819 {a="%^z%^z", b="ژّ"},
820 {a="%^n%^n", b="ڭّ"},
821 -- additional characters + šaddah (end)
758 -- sukūn begin ('easy' needs these rules to be taken out); but 822 -- sukūn begin ('easy' needs these rules to be taken out); but
759 -- first take out every previously generated sukūn by hamza rules, 823 -- first take out every previously generated sukūn by hamza rules,
760 -- so there be no need to edit them: 824 -- so there be no need to edit them:
@@ -784,6 +848,11 @@ digraphsfveasy = { -- see the differences under 'easy' marker below
784 {a="%.t", b="ط"}, 848 {a="%.t", b="ط"},
785 {a="%.z", b="ظ"}, 849 {a="%.z", b="ظ"},
786 {a="%.g", b="غ"}, 850 {a="%.g", b="غ"},
851 -- additional characters (begin)
852 {a="%^c", b="چ"},
853 {a="%^z", b="ژ"},
854 {a="%^n", b="ڭ"},
855 -- additional characters (end)
787 {a="(U)(A)", b="%1ا"}, 856 {a="(U)(A)", b="%1ا"},
788 {a="WA", b="وْا"}, 857 {a="WA", b="وْا"},
789 {a="(a)W\"", b="%1وا"}, 858 {a="(a)W\"", b="%1وا"},
@@ -821,6 +890,11 @@ singlefv = {
821 {a="w", b="و"}, 890 {a="w", b="و"},
822 {a="y", b="ي"}, 891 {a="y", b="ي"},
823 {a="T", b="ة"}, 892 {a="T", b="ة"},
893 -- additional characters (begin)
894 {a="p", b="پ"},
895 {a="v", b="ڤ"},
896 {a="g", b="گ"},
897 -- additional characters (end)
824 {a="\"$", b=""}, 898 {a="\"$", b=""},
825 {a="\"(%W)", b="%1"}, 899 {a="\"(%W)", b="%1"},
826 {a="\"([^uaiUAI])", b="%1"}, 900 {a="\"([^uaiUAI])", b="%1"},
@@ -849,6 +923,11 @@ singlefveasy = { -- see the differences under 'easy' tag below
849 {a="w", b="و"}, 923 {a="w", b="و"},
850 {a="y", b="ي"}, 924 {a="y", b="ي"},
851 {a="T", b="ة"}, 925 {a="T", b="ة"},
926 -- additional characters (begin)
927 {a="p", b="پ"},
928 {a="v", b="ڤ"},
929 {a="g", b="گ"},
930 -- additional characters (end)
852 -- easy (begin): \" needs to put back the sukūn 931 -- easy (begin): \" needs to put back the sukūn
853 {a="\"$", b="ْ"}, 932 {a="\"$", b="ْ"},
854 {a="\"(%W)", b="ْ%1"}, 933 {a="\"(%W)", b="ْ%1"},
diff --git a/arabluatex_novoc.lua b/arabluatex_novoc.lua
index 55eccdc..caf66f9 100644
--- a/arabluatex_novoc.lua
+++ b/arabluatex_novoc.lua
@@ -74,12 +74,16 @@ trigraphsnv = { -- trigraphs or more
74 -- al- + lām 74 -- al- + lām
75 {a="^(a)l%-(l)", b="ا%1ل%2"}, 75 {a="^(a)l%-(l)", b="ا%1ل%2"},
76 {a="([%(%[%|%<%s%-])(a)l%-(l)", b="%1ا%2ل%3"}, --p 76 {a="([%(%[%|%<%s%-])(a)l%-(l)", b="%1ا%2ل%3"}, --p
77 -- al- + solar consonant 77 -- al- + solar consonant ('c' and '^n' are additional characters)
78 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="ا%1ل%2"}, 78 {a="^(a)l%-(%^n)", b="ا%1ل%2"}, -- ^n is lunar
79 {a="([%(%[%|%<%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1ا%2ل%3"}, --p 79 {a="([%(%[%|%<%s%-])(a)l%-(%^n)", b="%1ا%2ل%3"}, -- ^n is lunar --p
80 -- assim. art. + solar consonant 80 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="ا%1ل%2"},
81 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل"}, 81 {a="([%(%[%|%<%s%-])(a)l%-([%_%^%.]?[tdrzsnc])", b="%1ا%2ل%3"}, --p
82 {a="([%(%[%|%<%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل"}, --p 82 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
83 {a="^(a)(%^n)%-", b="ا%1ل"}, -- ^n is lunar
84 {a="([%(%[%|%<%s%-])(a)(%^n)%-", b="%1ا%2ل"}, -- ^n is lunar --p
85 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="ا%1ل"},
86 {a="([%(%[%|%<%s%-])(a)([%_%^%.]?[tdrzsnc])%-", b="%1ا%2ل"}, --p
83 -- al- + initial unstable hamza 87 -- al- + initial unstable hamza
84 {a="^(a)l%-(\")([uai])", b="ا%1لٱ%3"}, 88 {a="^(a)l%-(\")([uai])", b="ا%1لٱ%3"},
85 {a="([%(%[%|%<%s%-])(a)l%-(\")([uai])", b="%1ا%2لٱ%4"}, --p 89 {a="([%(%[%|%<%s%-])(a)l%-(\")([uai])", b="%1ا%2لٱ%4"}, --p
@@ -94,15 +98,23 @@ trigraphsnv = { -- trigraphs or more
94 -- art. with waṣla + lām 98 -- art. with waṣla + lām
95 {a="'l%-(l)", b="ال%1"}, 99 {a="'l%-(l)", b="ال%1"},
96 -- art. with waṣla + solar consonant 100 -- art. with waṣla + solar consonant
97 {a="'l%-([%_%^%.]?[tdrzsn])", b="ال%1"}, 101 -- ('c' and '^n' are additional characters)
102 {a="'l%-(%^n)", b="ال%1"}, -- ^n is lunar
103 {a="'l%-([%_%^%.]?[tdrzsnc])", b="ال%1"},
98 -- li-/la- + art. + lām 104 -- li-/la- + art. + lām
99 {a="l([ai])%-l%-(l)", b="ل%1%2"}, 105 {a="l([ai])%-l%-(l)", b="ل%1%2"},
100 -- assim. art. with waṣla + solar consonant 106 -- assim. art. with waṣla + solar consonant
101 {a="'([%_%^%.]?[tdrzsn])%-", b="ال"}, 107 -- ('c' and '^n' are additional characters)
108 {a="'(%^n)%-", b="ال"}, -- ^n is lunar
109 {a="'([%_%^%.]?[tdrzsnc])%-", b="ال"},
102 -- li-/la- + art. + solar consonant is a special orthography 110 -- li-/la- + art. + solar consonant is a special orthography
103 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2"}, 111 -- ('c' and '^n' are additional characters)
112 {a="l([ai])%-l%-(%^n)", b="ل%1ل%2"}, -- ^n is lunar
113 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%2"},
104 -- li-/la + assim. art. + solar consonant is a special orthography 114 -- li-/la + assim. art. + solar consonant is a special orthography
105 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3"}, 115 -- ('c' and '^n' are additional characters)
116 {a="l([ai])%-(%^n)%-(%^n)", b="ل%1ل%3"}, -- ^n is lunar
117 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%3"},
106 -- art. with waṣla + initial unstable hamza 118 -- art. with waṣla + initial unstable hamza
107 {a="'l%-(\")([uai])", b="الٱ%2"}, 119 {a="'l%-(\")([uai])", b="الٱ%2"},
108 {a="'l%-([uai])", b="الا%1"}, 120 {a="'l%-([uai])", b="الا%1"},
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 2b9fcdf..b21397d 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -213,12 +213,16 @@ trigraphstrdmg = { -- trigraphs or more
213 -- al- + lām 213 -- al- + lām
214 {a="^(a)l%-(l)", b="%1l-%2"}, 214 {a="^(a)l%-(l)", b="%1l-%2"},
215 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1%2l-%3"}, --p 215 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1%2l-%3"}, --p
216 -- al- + solar consonant 216 -- al- + solar consonant ('c' and '^n' are additional characters)
217 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"}, 217 {a="^(a)l%-(%^n)", b="%1l-%2"}, -- ^n is lunar
218 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, --p 218 {a="([%(%[%|%<%s%-o])(a)l%-(%^n)", b="%1%2l-%3"}, --^n is lunar --p
219 -- assim. art. + solar consonant 219 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="%1%2-%2"},
220 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"}, 220 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsnc])", b="%1%2%3-%3"}, --p
221 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, --p 221 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
222 {a="^(a)(%^n)%-", b="%1l-"}, -- ^n is lunar
223 {a="([%(%[%|%<%s%-o])(a)(%^n)%-", b="%1%2l-"}, --^n is lunar --p
224 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="%1%2-"},
225 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsnc])%-", b="%1%2%3-"}, --p
222 -- al- + initial unstable hamza 226 -- al- + initial unstable hamza
223 {a="^(a)l%-(\"?[uai])", b="%1l-%2"}, 227 {a="^(a)l%-(\"?[uai])", b="%1l-%2"},
224 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1%2l-%3"}, --p 228 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1%2l-%3"}, --p
@@ -235,15 +239,23 @@ trigraphstrdmg = { -- trigraphs or more
235 -- art. with waṣla + lām 239 -- art. with waṣla + lām
236 {a="'l%-(l)", b="'l-%1"}, 240 {a="'l%-(l)", b="'l-%1"},
237 -- art. with waṣla + solar consonant 241 -- art. with waṣla + solar consonant
238 {a="'l%-([%_%^%.]?[tdrzsn])", b="'%1-%1"}, 242 -- ('c' and '^n' are additional characters)
243 {a="'l%-(%^n)", b="'l-%1"}, -- ^n is lunar
244 {a="'l%-([%_%^%.]?[tdrzsnc])", b="'%1-%1"},
239 -- li-/la- + art. + lām 245 -- li-/la- + art. + lām
240 {a="l([ai])%-l%-(l)", b="l%1-%2%2"}, 246 {a="l([ai])%-l%-(l)", b="l%1-%2%2"},
241 -- assim. art. with waṣla + solar consonant 247 -- assim. art. with waṣla + solar consonant
242 {a="'([%_%^%.]?[tdrzsn])%-", b="'%1-"}, 248 -- ('c' and '^n' are additional characters)
249 {a="'(%^n)%-", b="'l-"}, -- ^n is lunar
250 {a="'([%_%^%.]?[tdrzsnc])%-", b="'%1-"},
243 -- li-/la- + art. + solar consonant is a special orthography 251 -- li-/la- + art. + solar consonant is a special orthography
244 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="l%1-%2-%2"}, 252 -- ('c' and '^n' are additional characters)
253 {a="l([ai])%-l%-(%^n)", b="l%1-l-%2"}, -- ^n is lunar
254 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="l%1-%2-%2"},
245 -- li-/la- + assim. art. + solar consonant is a special orthography 255 -- li-/la- + assim. art. + solar consonant is a special orthography
246 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="l%1-%2-%3"}, 256 -- ('c' and '^n' are additional characters)
257 {a="l([ai])%-(%^n)%-(%^n)", b="l%1-l-%3"}, -- ^n is lunar
258 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="l%1-%2-%3"},
247 -- art. with waṣla + initial unstable hamza 259 -- art. with waṣla + initial unstable hamza
248 {a="'l%-(\"?[uai])", b="'l-%1"}, 260 {a="'l%-(\"?[uai])", b="'l-%1"},
249 -- art. with waṣla + lunar consonant (i.e. what remains) 261 -- art. with waṣla + lunar consonant (i.e. what remains)
@@ -353,6 +365,11 @@ digraphstrdmg = {
353 {a="%.t", b="ṭ"}, 365 {a="%.t", b="ṭ"},
354 {a="%.z", b="ẓ"}, 366 {a="%.z", b="ẓ"},
355 {a="%.g", b="ġ"}, 367 {a="%.g", b="ġ"},
368 -- additional characters (begin)
369 {a="%^c", b="č"},
370 {a="%^z", b="ž"},
371 {a="%^n", b="g"},
372 -- additional characters (end)
356 -- the following needs to be moved above shortening rules 373 -- the following needs to be moved above shortening rules
357-- {a="(U)(A)", b="ū"}, 374-- {a="(U)(A)", b="ū"},
358 {a="WA", b="w"}, 375 {a="WA", b="w"},
@@ -389,6 +406,11 @@ singletrdmg = {
389 {a="w", b="w"}, 406 {a="w", b="w"},
390 {a="y", b="y"}, 407 {a="y", b="y"},
391 {a="T", b="t"}, 408 {a="T", b="t"},
409 -- additional characters (begin)
410 {a="p", b="p"},
411 {a="v", b="v"},
412 {a="g", b="g"}, -- for ^n → g see above
413 -- additional characters (end)
392 {a="\"", b=""}, 414 {a="\"", b=""},
393 {a="B", b=""} 415 {a="B", b=""}
394} 416}
@@ -495,12 +517,16 @@ trigraphstrloc = { -- trigraphs or more
495 -- al- + lām 517 -- al- + lām
496 {a="^(a)l%-(l)", b="%1l-%2"}, 518 {a="^(a)l%-(l)", b="%1l-%2"},
497 {a="(%s)(a)l%-(l)", b="%1%2l-%3"}, 519 {a="(%s)(a)l%-(l)", b="%1%2l-%3"},
498 -- al- + solar consonant 520 -- al- + solar consonant ('c' and '^n' are additional characters)
499 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1l-%2"}, 521 {a="^(a)l%-(%^n)", b="%1l-%2"}, -- ^n is lunar
500 {a="(%s)(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2l-%3"}, 522 {a="(%s)(a)l%-(%^n)", b="%1%2l-%3"}, -- ^n is lunar
501 -- assim. art. + solar consonant 523 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="%1l-%2"},
502 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1l-"}, 524 {a="(%s)(a)l%-([%_%^%.]?[tdrzsnc])", b="%1%2l-%3"},
503 {a="(%s)(a)([%_%^%.]?[tdrzsn])%-", b="%1%2l-"}, 525 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
526 {a="^(a)(%^n)%-", b="%1l-"}, -- ^n is lunar
527 {a="(%s)(a)(%^n)%-", b="%1%2l-"}, -- ^n is lunar
528 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="%1l-"},
529 {a="(%s)(a)([%_%^%.]?[tdrzsnc])%-", b="%1%2l-"},
504 -- al- + initial unstable hamza 530 -- al- + initial unstable hamza
505 {a="^(a)l%-([uai])", b="%1l-%2"}, 531 {a="^(a)l%-([uai])", b="%1l-%2"},
506 {a="(%s)(a)l%-([uai])", b="%1%2l-%3"}, 532 {a="(%s)(a)l%-([uai])", b="%1%2l-%3"},
@@ -512,15 +538,23 @@ trigraphstrloc = { -- trigraphs or more
512 -- art. with waṣla + lām 538 -- art. with waṣla + lām
513 {a="'l%-(l)", b="al-%1"}, 539 {a="'l%-(l)", b="al-%1"},
514 -- art. with waṣla + solar consonant 540 -- art. with waṣla + solar consonant
515 {a="'l%-([%_%^%.]?[tdrzsn])", b="al-%1"}, 541 -- ('c' and '^n' are additional characters)
542 {a="'l%-(%^n)", b="al-%1"}, -- ^n is lunar
543 {a="'l%-([%_%^%.]?[tdrzsnc])", b="al-%1"},
516 -- li-/la- + art. + lām 544 -- li-/la- + art. + lām
517 {a="l([ai])%-l%-(l)", b="l%1-l-%2"}, 545 {a="l([ai])%-l%-(l)", b="l%1-l-%2"},
518 -- assim. art. with waṣla + solar consonant 546 -- assim. art. with waṣla + solar consonant
519 {a="'([%_%^%.]?[tdrzsn])%-", b="al-"}, 547 -- ('c' and '^n' are additional characters)
548 {a="'(%^n)%-", b="al-"}, -- ^n is lunar
549 {a="'([%_%^%.]?[tdrzsnc])%-", b="al-"},
520 -- li-/la- + art. + solar consonant is a special orthography 550 -- li-/la- + art. + solar consonant is a special orthography
521 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="l%1-l-%2"}, 551 -- ('c' and '^n' are additional characters)
552 {a="l([ai])%-l%-(%^n)", b="l%1-l-%2"}, -- ^n is lunar
553 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="l%1-l-%2"},
522 -- li-/la- + assim. art. + solar consonant is a special orthography 554 -- li-/la- + assim. art. + solar consonant is a special orthography
523 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="l%1-l-%3"}, 555 -- ('c' and '^n' are additional characters)
556 {a="l([ai])%-(%^n)%-(%^n)", b="l%1-l-%3"}, -- ^n is lunar
557 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="l%1-l-%3"},
524 -- art. with waṣla + initial unstable hamza 558 -- art. with waṣla + initial unstable hamza
525 {a="'l%-([uai])", b="al-%1"}, 559 {a="'l%-([uai])", b="al-%1"},
526 -- art. with waṣla + lunar consonant (i.e. what remains) 560 -- art. with waṣla + lunar consonant (i.e. what remains)
@@ -576,6 +610,11 @@ digraphstrloc = {
576 {a="%.t", b="ṭ"}, 610 {a="%.t", b="ṭ"},
577 {a="%.z", b="ẓ"}, 611 {a="%.z", b="ẓ"},
578 {a="%.g", b="gh"}, 612 {a="%.g", b="gh"},
613 -- additional characters (begin)
614 {a="%^c", b="ch"},
615 {a="%^z", b="zh"},
616 {a="%^n", b="ñ"},
617 -- additional characters (end)
579 {a="(U)(A)", b="ū"}, 618 {a="(U)(A)", b="ū"},
580 {a="WA", b="w"}, 619 {a="WA", b="w"},
581 {a="(a)W", b="%1w"}, 620 {a="(a)W", b="%1w"},
@@ -611,6 +650,11 @@ singletrloc = {
611 {a="w", b="w"}, 650 {a="w", b="w"},
612 {a="y", b="y"}, 651 {a="y", b="y"},
613 {a="T", b="t"}, 652 {a="T", b="t"},
653 -- additional characters (begin)
654 {a="p", b="p"},
655 {a="v", b="v"},
656 {a="g", b="g"},
657 -- additional characters (end)
614 {a="\"", b=""}, 658 {a="\"", b=""},
615 {a="B", b=""} 659 {a="B", b=""}
616} 660}
@@ -709,12 +753,16 @@ trigraphstrarabica = { -- trigraphs or more
709 -- al- + lām 753 -- al- + lām
710 {a="^(a)l%-(l)", b="%1l-%2"}, 754 {a="^(a)l%-(l)", b="%1l-%2"},
711 {a="(%s)(a)l%-(l)", b="%1%2l-%3"}, 755 {a="(%s)(a)l%-(l)", b="%1%2l-%3"},
712 -- al- + solar consonant 756 -- al- + solar consonant ('c' and '^n' are additional characters)
713 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1l-%2"}, 757 {a="^(a)l%-(%^n)", b="%1l-%2"}, -- ^n is lunar
714 {a="(%s)(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2l-%3"}, 758 {a="(%s)(a)l%-(%^n)", b="%1%2l-%3"}, -- ^n is lunar
715 -- assim. art. + solar consonant 759 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="%1l-%2"},
716 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1l-"}, 760 {a="(%s)(a)l%-([%_%^%.]?[tdrzsnc])", b="%1%2l-%3"},
717 {a="(%s)(a)([%_%^%.]?[tdrzsn])%-", b="%1%2l-"}, 761 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
762 {a="^(a)(%^n)%-", b="%1l-"}, -- ^n is lunar
763 {a="(%s)(a)(%^n)%-", b="%1%2l-"}, -- ^n is lunar
764 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="%1l-"},
765 {a="(%s)(a)([%_%^%.]?[tdrzsnc])%-", b="%1%2l-"},
718 -- al- + initial unstable hamza 766 -- al- + initial unstable hamza
719 {a="^(a)l%-([uai])", b="%1l-%2"}, 767 {a="^(a)l%-([uai])", b="%1l-%2"},
720 {a="(%s)(a)l%-([uai])", b="%1%2l-%3"}, 768 {a="(%s)(a)l%-([uai])", b="%1%2l-%3"},
@@ -726,15 +774,23 @@ trigraphstrarabica = { -- trigraphs or more
726 -- art. with waṣla + lām 774 -- art. with waṣla + lām
727 {a="'l%-(l)", b="l-%1"}, 775 {a="'l%-(l)", b="l-%1"},
728 -- art. with waṣla + solar consonant 776 -- art. with waṣla + solar consonant
729 {a="'l%-([%_%^%.]?[tdrzsn])", b="l-%1"}, 777 -- ('c' and '^n' are additional characters)
778 {a="'l%-(%^n)", b="l-%1"}, -- ^n is lunar
779 {a="'l%-([%_%^%.]?[tdrzsnc])", b="l-%1"},
730 -- li-/la- + art. + lām 780 -- li-/la- + art. + lām
731 {a="l([ai])%-l%-(l)", b="l%1-l-%2"}, 781 {a="l([ai])%-l%-(l)", b="l%1-l-%2"},
732 -- assim. art. with waṣla + solar consonant 782 -- assim. art. with waṣla + solar consonant
733 {a="'([%_%^%.]?[tdrzsn])%-", b="l-"}, 783 -- ('c' and '^n' are additional characters)
784 {a="'(%^n)%-", b="l-"}, -- ^n is lunar
785 {a="'([%_%^%.]?[tdrzsnc])%-", b="l-"},
734 -- li-/la- + art. + solar consonant is a special orthography 786 -- li-/la- + art. + solar consonant is a special orthography
735 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="l%1-l-%2"}, 787 -- ('c' and '^n' are additional characters)
788 {a="l([ai])%-l%-(%^n)", b="l%1-l-%2"}, -- ^n is lunar
789 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="l%1-l-%2"},
736 -- li-/la- + assim. art. + solar consonant is a special orthography 790 -- li-/la- + assim. art. + solar consonant is a special orthography
737 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="l%1-l-%3"}, 791 -- ('c' and '^n' are additional characters)
792 {a="l([ai])%-(%^n)%-(%^n)", b="l%1-l-%3"}, -- ^n is lunar
793 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="l%1-l-%3"},
738 -- art. with waṣla + initial unstable hamza 794 -- art. with waṣla + initial unstable hamza
739 {a="'l%-([uai])", b="l-%1"}, 795 {a="'l%-([uai])", b="l-%1"},
740 -- art. with waṣla + lunar consonant (i.e. what remains) 796 -- art. with waṣla + lunar consonant (i.e. what remains)
@@ -790,6 +846,11 @@ digraphstrarabica = {
790 {a="%.t", b="ṭ"}, 846 {a="%.t", b="ṭ"},
791 {a="%.z", b="ẓ"}, 847 {a="%.z", b="ẓ"},
792 {a="%.g", b="ġ"}, 848 {a="%.g", b="ġ"},
849 -- additional characters (begin)
850 {a="%^c", b="č"},
851 {a="%^z", b="ž"},
852 {a="%^n", b="g"},
853 -- additional characters (end)
793 {a="(U)(A)", b="ū"}, 854 {a="(U)(A)", b="ū"},
794 {a="WA", b="w"}, 855 {a="WA", b="w"},
795 {a="(a)W", b="%1w"}, 856 {a="(a)W", b="%1w"},
@@ -825,6 +886,11 @@ singletrarabica = {
825 {a="w", b="w"}, 886 {a="w", b="w"},
826 {a="y", b="y"}, 887 {a="y", b="y"},
827 {a="T", b="t"}, 888 {a="T", b="t"},
889 -- additional characters (begin)
890 {a="p", b="p"},
891 {a="v", b="v"},
892 {a="g", b="g"}, -- for ^n → g see above
893 -- additional characters (end)
828 {a="\"", b=""}, 894 {a="\"", b=""},
829 {a="B", b=""} 895 {a="B", b=""}
830} 896}
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 073b23f..6c63a88 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -471,12 +471,16 @@ trigraphs = { -- trigraphs or more
471 -- al- + lām 471 -- al- + lām
472 {a="^(a)l%-(l)", b="ا%1ل%2%2"}, 472 {a="^(a)l%-(l)", b="ا%1ل%2%2"},
473 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3%3"}, --p 473 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3%3"}, --p
474 -- al- + solar consonant 474 -- al- + solar consonant ('c' and '^n' are additional characters)
475 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="ا%1ل%2%2"}, 475 {a="^(a)l%-(%^n)", b="ا%1ل%2"}, -- ^n is lunar
476 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsn])", b="%1ا%2ل%3%3"}, --p 476 {a="([%(%[%|%<%s%-o])(a)l%-(%^n)", b="%1ا%2ل%3"},-- ^n is lunar --p
477 -- assim. art. + solar consonant 477 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="ا%1ل%2%2"},
478 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل%2"}, 478 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsnc])", b="%1ا%2ل%3%3"}, --p
479 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل%3"}, --p 479 -- assim. art. + solar consonant ('c' and '^n' are additional characters)
480 {a="^(a)(%^n)%-", b="ا%1ل"}, -- ^n is lunar
481 {a="([%(%[%|%<%s%-o])(a)(%^n)%-", b="%1ا%2ل"},-- ^n is lunar --p
482 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="ا%1ل%2"},
483 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsnc])%-", b="%1ا%2ل%3"}, --p
480 -- al- + initial unstable hamza 484 -- al- + initial unstable hamza
481 {a="^(a)l%-(\")([uai])", b="ا%1ل%3ٱ"}, 485 {a="^(a)l%-(\")([uai])", b="ا%1ل%3ٱ"},
482 {a="([%(%[%|%<%s%-o])(a)l%-(\")([uai])", b="%1ا%2ل%4ٱ"}, --p 486 {a="([%(%[%|%<%s%-o])(a)l%-(\")([uai])", b="%1ا%2ل%4ٱ"}, --p
@@ -498,15 +502,23 @@ trigraphs = { -- trigraphs or more
498 -- art. with waṣla + lām 502 -- art. with waṣla + lām
499 {a="'l%-(l)", b="ال%1%1"}, 503 {a="'l%-(l)", b="ال%1%1"},
500 -- art. with waṣla + solar consonant 504 -- art. with waṣla + solar consonant
501 {a="'l%-([%_%^%.]?[tdrzsn])", b="ال%1%1"}, 505 -- ('c' and '^n' are additional characters)
506 {a="'l%-(%^n)", b="ال%1"}, -- ^n is lunar
507 {a="'l%-([%_%^%.]?[tdrzsnc])", b="ال%1%1"},
502 -- li-/la- + art. + lām 508 -- li-/la- + art. + lām
503 {a="l([ai])%-l%-(l)", b="ل%1%2%2"}, 509 {a="l([ai])%-l%-(l)", b="ل%1%2%2"},
504 -- assim. art. with waṣla + solar consonant 510 -- assim. art. with waṣla + solar consonant ('c' and '^n' are
505 {a="'([%_%^%.]?[tdrzsn])%-", b="ال%1"}, 511 -- additional characters)
512 {a="'(%^n)%-", b="ال"}, -- ^n is lunar
513 {a="'([%_%^%.]?[tdrzsnc])%-", b="ال%1"},
506 -- li-/la- + art. + solar consonant is a special orthography 514 -- li-/la- + art. + solar consonant is a special orthography
507 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2%2"}, 515 -- ('c' and '^n' are additional characters)
516 {a="l([ai])%-l%-(%^n)", b="ل%1ل%2"}, -- '^n' is lunar
517 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%2%2"},
508 -- li-/la + assim. art. + solar consonant is a special orthography 518 -- li-/la + assim. art. + solar consonant is a special orthography
509 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3%3"}, 519 -- ('c' and '^n' are additional characters)
520 {a="l([ai])%-(%^n)%-(%^n)", b="ل%1ل%3"}, -- ^n is lunar
521 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%3%3"},
510 -- art. with waṣla + initial unstable hamza 522 -- art. with waṣla + initial unstable hamza
511 {a="'l%-(\")([uai])", b="ال%2ٱ"}, 523 {a="'l%-(\")([uai])", b="ال%2ٱ"},
512 {a="'l%-([uai])", b="ال%1ا"}, 524 {a="'l%-([uai])", b="ال%1ا"},
@@ -549,12 +561,17 @@ trigraphseasy = { -- differences marked below with 'easy'
549 -- al- + lām (easy) 561 -- al- + lām (easy)
550 {a="^(a)l%-(l)", b="ا%1ل%2"}, 562 {a="^(a)l%-(l)", b="ا%1ل%2"},
551 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3"}, --p 563 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1ا%2ل%3"}, --p
552 -- al- + solar consonant (easy) 564 -- al- + solar consonant (easy) ('c' and '^n' are additional characters)
553 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="ا%1ل%2"}, 565 {a="^(a)l%-(%^n)", b="ا%1ل%2"}, -- ^n is lunar
554 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsn])", b="%1ا%2ل%3"}, --p 566 {a="([%(%[%|%<%s%-o])(a)l%-(%^n)", b="%1ا%2ل%3"}, -- ^n is lunar --p
555 -- assim. art. + solar consonant (easy) 567 {a="^(a)l%-([%_%^%.]?[tdrzsnc])", b="ا%1ل%2"},
556 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="ا%1ل"}, 568 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsnc])", b="%1ا%2ل%3"}, --p
557 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsn])%-", b="%1ا%2ل"}, --p 569 -- assim. art. + solar consonant (easy) ('c' and '^n' are
570 -- additional characters)
571 {a="^(a)(%^n)%-", b="ا%1ل"}, -- ^n is lunar
572 {a="([%(%[%|%<%s%-o])(a)(%^n)%-", b="%1ا%2ل"}, -- ^n is lunar --p
573 {a="^(a)([%_%^%.]?[tdrzsnc])%-", b="ا%1ل"},
574 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsnc])%-", b="%1ا%2ل"}, --p
558 -- al- + initial unstable hamza 575 -- al- + initial unstable hamza
559 {a="^(a)l%-(\")([uai])", b="ا%1ل%3ٱ"}, 576 {a="^(a)l%-(\")([uai])", b="ا%1ل%3ٱ"},
560 {a="([%(%[%|%<%s%-o])(a)l%-(\")([uai])", b="%1ا%2ل%4ٱ"}, --p 577 {a="([%(%[%|%<%s%-o])(a)l%-(\")([uai])", b="%1ا%2ل%4ٱ"}, --p
@@ -576,15 +593,23 @@ trigraphseasy = { -- differences marked below with 'easy'
576 -- art. with waṣla + lām (easy) 593 -- art. with waṣla + lām (easy)
577 {a="'l%-(l)", b="ال%1"}, 594 {a="'l%-(l)", b="ال%1"},
578 -- art. with waṣla + solar consonant (easy) 595 -- art. with waṣla + solar consonant (easy)
579 {a="'l%-([%_%^%.]?[tdrzsn])", b="ال%1"}, 596 -- ('c' and '^n' are additional characters)
597 {a="'l%-(%^n)", b="ال%1"}, -- ^n is lunar
598 {a="'l%-([%_%^%.]?[tdrzsnc])", b="ال%1"},
580 -- li-/la- + art. + lām (easy) 599 -- li-/la- + art. + lām (easy)
581 {a="l([ai])%-l%-(l)", b="ل%1%2"}, 600 {a="l([ai])%-l%-(l)", b="ل%1%2"},
582 -- assim. art. with waṣla + solar consonant (easy) 601 -- assim. art. with waṣla + solar consonant (easy)
583 {a="'([%_%^%.]?[tdrzsn])%-", b="ال"}, 602 -- ('c' and '^n' are additional characters)
603 {a="'(%^n)%-", b="ال"}, -- ^n is lunar
604 {a="'([%_%^%.]?[tdrzsnc])%-", b="ال"},
584 -- li-/la- + art. + solar consonant is a special orthography (easy) 605 -- li-/la- + art. + solar consonant is a special orthography (easy)
585 {a="l([ai])%-l%-([%_%^%.]?[tdrzsn])", b="ل%1ل%2"}, 606 -- ('c' and '^n' are additional characters)
607 {a="l([ai])%-l%-(%^n)", b="ل%1ل%2"}, -- ^n is lunar
608 {a="l([ai])%-l%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%2"},
586 -- li-/la + assim. art. + solar consonant is a special orthography (easy) 609 -- li-/la + assim. art. + solar consonant is a special orthography (easy)
587 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="ل%1ل%3"}, 610 -- ('c' and '^n' are additional characters)
611 {a="l([ai])%-(%^n)%-(%^n)", b="ل%1ل%3"}, -- ^n is lunar
612 {a="l([ai])%-([%_%^%.]?[tdrzsnc])%-([%_%^%.]?[tdrzsnc])", b="ل%1ل%3"},
588 -- art. with waṣla + initial unstable hamza 613 -- art. with waṣla + initial unstable hamza
589 {a="'l%-(\")([uai])", b="ال%2ٱ"}, 614 {a="'l%-(\")([uai])", b="ال%2ٱ"},
590 {a="'l%-([uai])", b="ال%1ا"}, 615 {a="'l%-([uai])", b="ال%1ا"},
@@ -640,6 +665,8 @@ digraphs = {
640 {a="bb", b="بّ"}, 665 {a="bb", b="بّ"},
641 {a="BB", b="ـّ"}, 666 {a="BB", b="ـّ"},
642 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"}, 667 {a="([%_%^%.])([tghdsz])([tghdsz])", b="%1%2|%3"},
668 -- same as above for additional characters:
669 {a="([%_%^%.])([cn])([cn])", b="%1%2|%3"},
643 {a="tt", b="تّ"}, 670 {a="tt", b="تّ"},
644 {a="%_t%_t", b="ثّ"}, 671 {a="%_t%_t", b="ثّ"},
645 {a="jj", b="جّ"}, 672 {a="jj", b="جّ"},
@@ -668,6 +695,14 @@ digraphs = {
668 {a="hh", b="هّ"}, 695 {a="hh", b="هّ"},
669 {a="ww", b="وّ"}, 696 {a="ww", b="وّ"},
670 {a="yy", b="يّ"}, 697 {a="yy", b="يّ"},
698 -- additional characters + šaddah (begin)
699 {a="pp", b="پّ"},
700 {a="vv", b="ڤّ"},
701 {a="gg", b="گّ"},
702 {a="%^c%^c", b="چّ"},
703 {a="%^z%^z", b="ژّ"},
704 {a="%^n%^n", b="ڭّ"},
705 -- additional characters + šaddah (end)
671 {a="_t", b="ث"}, 706 {a="_t", b="ث"},
672 {a="%^g", b="ج"}, 707 {a="%^g", b="ج"},
673 {a="%.h", b="ح"}, 708 {a="%.h", b="ح"},
@@ -679,6 +714,11 @@ digraphs = {
679 {a="%.t", b="ط"}, 714 {a="%.t", b="ط"},
680 {a="%.z", b="ظ"}, 715 {a="%.z", b="ظ"},
681 {a="%.g", b="غ"}, 716 {a="%.g", b="غ"},
717 -- additional characters (begin)
718 {a="%^c", b="چ"},
719 {a="%^z", b="ژ"},
720 {a="%^n", b="ڭ"},
721 -- additional characters (end)
682 {a="(U)(A)", b="%1ا"}, 722 {a="(U)(A)", b="%1ا"},
683 {a="WA", b="وا"}, 723 {a="WA", b="وا"},
684 {a="(a)W\"", b="%1وْا"}, 724 {a="(a)W\"", b="%1وْا"},
@@ -716,6 +756,11 @@ single = {
716 {a="w", b="و"}, 756 {a="w", b="و"},
717 {a="y", b="ي"}, 757 {a="y", b="ي"},
718 {a="T", b="ة"}, 758 {a="T", b="ة"},
759 -- additional characters (begin)
760 {a="p", b="پ"},
761 {a="v", b="ڤ"},
762 {a="g", b="گ"},
763 -- additional characters (end)
719 {a="\"$", b="ْ"}, 764 {a="\"$", b="ْ"},
720 {a="\"(%W)", b="ْ%1"}, 765 {a="\"(%W)", b="ْ%1"},
721 {a="\"([^uaiUAI])", b="ْ%1"}, 766 {a="\"([^uaiUAI])", b="ْ%1"},