diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-12-06 10:50:26 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-12-06 10:50:26 +0100 |
commit | 1d2205ff9fe21d21088f9b0c003751da52d0d9ea (patch) | |
tree | 9c7ed2c9cec5654df725524706c2a8124418c142 | |
parent | e82ab073e2d0b9a8e00142895e2e0fca120d4041 (diff) | |
download | arabluatex-1d2205ff9fe21d21088f9b0c003751da52d0d9ea.tar.gz |
added punctuation characters before the initial ʾalif in digraphs rules as well
-rw-r--r-- | arabluatex_fullvoc.lua | 12 | ||||
-rw-r--r-- | arabluatex_voc.lua | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index 22c3ac4..bb928e4 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua | |||
@@ -416,7 +416,7 @@ digraphsfvidgham = { | |||
416 | -- ʾiʿrāb (end) | 416 | -- ʾiʿrāb (end) |
417 | -- initial straight double quote gives a connective ʾalif | 417 | -- initial straight double quote gives a connective ʾalif |
418 | {a="^\"[uai]", b="ٱ"}, | 418 | {a="^\"[uai]", b="ٱ"}, |
419 | {a="([%s%-])\"[uai]", b="%1ٱ"}, | 419 | {a="([%p%s%-])\"[uai]", b="%1ٱ"}, --p |
420 | -- diphthongs to be resolved before ʾalif conjunctionis | 420 | -- diphthongs to be resolved before ʾalif conjunctionis |
421 | {a="(aW)(%s)(\"?[uai])", b="awuا%2ٱ"}, | 421 | {a="(aW)(%s)(\"?[uai])", b="awuا%2ٱ"}, |
422 | {a="(aw)(%s)(\"?[uai])", b="%1u%2ٱ"}, | 422 | {a="(aw)(%s)(\"?[uai])", b="%1u%2ٱ"}, |
@@ -425,7 +425,7 @@ digraphsfvidgham = { | |||
425 | -- initial alif without hamza | 425 | -- initial alif without hamza |
426 | {a="([%_]?[uaiUAIY])(%s)(\"?[uai])", b="%1%2ٱ"}, | 426 | {a="([%_]?[uaiUAIY])(%s)(\"?[uai])", b="%1%2ٱ"}, |
427 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza | 427 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza |
428 | {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza | 428 | {a="([%p%s])([uai])", b="%1ا%2"}, -- initial alif without hamza --p |
429 | {a="%-%-", b="ـ"}, | 429 | {a="%-%-", b="ـ"}, |
430 | {a="ؤؤ", b="ؤّ"}, | 430 | {a="ؤؤ", b="ؤّ"}, |
431 | {a="أأ", b="أّ"}, | 431 | {a="أأ", b="أّ"}, |
@@ -518,7 +518,7 @@ digraphsfv = { | |||
518 | -- ʾiʿrāb (end) | 518 | -- ʾiʿrāb (end) |
519 | -- initial straight double quote gives a connective ʾalif | 519 | -- initial straight double quote gives a connective ʾalif |
520 | {a="^\"[uai]", b="ٱ"}, | 520 | {a="^\"[uai]", b="ٱ"}, |
521 | {a="([%s%-])\"[uai]", b="%1ٱ"}, | 521 | {a="([%p%s%-])\"[uai]", b="%1ٱ"}, --p |
522 | -- diphthongs to be resolved before ʾalif conjunctionis | 522 | -- diphthongs to be resolved before ʾalif conjunctionis |
523 | {a="(aW)(%s)(\"?[uai])", b="awuا%2ٱ"}, | 523 | {a="(aW)(%s)(\"?[uai])", b="awuا%2ٱ"}, |
524 | {a="(aw)(%s)(\"?[uai])", b="%1u%2ٱ"}, | 524 | {a="(aw)(%s)(\"?[uai])", b="%1u%2ٱ"}, |
@@ -527,7 +527,7 @@ digraphsfv = { | |||
527 | -- initial alif without hamza | 527 | -- initial alif without hamza |
528 | {a="([%_]?[uaiUAIY])(%s)(\"?[uai])", b="%1%2ٱ"}, | 528 | {a="([%_]?[uaiUAIY])(%s)(\"?[uai])", b="%1%2ٱ"}, |
529 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza | 529 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza |
530 | {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza | 530 | {a="([%p%s])([uai])", b="%1ا%2"}, -- initial alif without hamza --p |
531 | {a="%-%-", b="ـ"}, | 531 | {a="%-%-", b="ـ"}, |
532 | {a="ؤؤ", b="ؤّ"}, | 532 | {a="ؤؤ", b="ؤّ"}, |
533 | {a="أأ", b="أّ"}, | 533 | {a="أأ", b="أّ"}, |
@@ -620,7 +620,7 @@ digraphsfveasy = { -- see the differences under 'easy' marker below | |||
620 | -- ʾiʿrāb (end) | 620 | -- ʾiʿrāb (end) |
621 | -- initial straight double quote gives a connective ʾalif | 621 | -- initial straight double quote gives a connective ʾalif |
622 | {a="^\"[uai]", b="ٱ"}, | 622 | {a="^\"[uai]", b="ٱ"}, |
623 | {a="([%s%-])\"[uai]", b="%1ٱ"}, | 623 | {a="([%p%s%-])\"[uai]", b="%1ٱ"}, --p |
624 | -- diphthongs to be resolved before ʾalif conjunctionis | 624 | -- diphthongs to be resolved before ʾalif conjunctionis |
625 | {a="(aW)(%s)(\"?[uai])", b="awuا%2ٱ"}, | 625 | {a="(aW)(%s)(\"?[uai])", b="awuا%2ٱ"}, |
626 | {a="(aw)(%s)(\"?[uai])", b="%1u%2ٱ"}, | 626 | {a="(aw)(%s)(\"?[uai])", b="%1u%2ٱ"}, |
@@ -629,7 +629,7 @@ digraphsfveasy = { -- see the differences under 'easy' marker below | |||
629 | -- initial alif without hamza | 629 | -- initial alif without hamza |
630 | {a="([%_]?[uaiUAIY])(%s)(\"?[uai])", b="%1%2ٱ"}, | 630 | {a="([%_]?[uaiUAIY])(%s)(\"?[uai])", b="%1%2ٱ"}, |
631 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza | 631 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza |
632 | {a="(%s)([uai])", b="%1ا%2"}, -- initial alif without hamza | 632 | {a="([%p%s])([uai])", b="%1ا%2"}, -- initial alif without hamza --p |
633 | {a="%-%-", b="ـ"}, | 633 | {a="%-%-", b="ـ"}, |
634 | {a="ؤؤ", b="ؤّ"}, | 634 | {a="ؤؤ", b="ؤّ"}, |
635 | {a="أأ", b="أّ"}, | 635 | {a="أأ", b="أّ"}, |
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index fb704ea..61e4c4a 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua | |||
@@ -550,12 +550,12 @@ digraphs = { | |||
550 | -- ʾiʿrāb (end) | 550 | -- ʾiʿrāb (end) |
551 | -- initial straight double quote gives a connective ʾalif | 551 | -- initial straight double quote gives a connective ʾalif |
552 | {a="^\"[uai]", b="ٱ"}, | 552 | {a="^\"[uai]", b="ٱ"}, |
553 | {a="([%s%-])\"[uai]", b="%1ٱ"}, | 553 | {a="([%p%s%-])\"[uai]", b="%1ٱ"}, --p |
554 | {a="(aW)(%s)([uai])", b="awuا%2%3"}, | 554 | {a="(aW)(%s)([uai])", b="awuا%2%3"}, |
555 | -- hyphen + initial alif without hamza: | 555 | -- hyphen + initial alif without hamza: |
556 | {a="(%-)([uai])([%^%_%.%`]?)(%a)", b="%1ا%3%4"}, | 556 | {a="(%-)([uai])([%^%_%.%`]?)(%a)", b="%1ا%3%4"}, |
557 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza | 557 | {a="^([uai])", b="ا%1"}, -- initial alif without hamza |
558 | {a="(%s)([uai])", b="%1ا"}, -- initial alif without hamza | 558 | {a="([%p%s])([uai])", b="%1ا"}, -- initial alif without hamza --p |
559 | {a="%-%-", b="ـ"}, | 559 | {a="%-%-", b="ـ"}, |
560 | {a="ؤؤ", b="ؤّ"}, | 560 | {a="ؤؤ", b="ؤّ"}, |
561 | {a="أأ", b="أّ"}, | 561 | {a="أأ", b="أّ"}, |