diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-01-02 17:32:33 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-01-02 17:32:33 +0100 |
commit | 7513acbbdec16be2eea6bc6fa9d5490852a0616c (patch) | |
tree | 5a5b97b6dc4fd19c14ac96f09dc5eca265f1c682 | |
parent | 7a0f23c3ed70f9d05cec96fdc2176adc4a0ad57a (diff) | |
download | arabluatex-7513acbbdec16be2eea6bc6fa9d5490852a0616c.tar.gz |
\uc{}: rule for initial ʿayn missing from loc
-rw-r--r-- | arabluatex.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index b539484..2466093 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -690,6 +690,12 @@ function uc(str) | |||
690 | str = string.gsub(str, "(%s[%(%<%[]?)([%S]-%-ʾ)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") | 690 | str = string.gsub(str, "(%s[%(%<%[]?)([%S]-%-ʾ)"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") |
691 | end | 691 | end |
692 | for i = 1,#lcuc do | 692 | for i = 1,#lcuc do |
693 | str = string.gsub(str, "^([`'])"..lcuc[i].a, "{%1"..lcuc[i].b.."}") | ||
694 | end | ||
695 | for i = 1,#lcuc do | ||
696 | str = string.gsub(str, "(%s[%(%<%[]?)([`'])"..lcuc[i].a, "%1{%2"..lcuc[i].b.."}") | ||
697 | end | ||
698 | for i = 1,#lcuc do | ||
693 | str = string.gsub(str, "^(ʾ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") | 699 | str = string.gsub(str, "^(ʾ)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") |
694 | end | 700 | end |
695 | for i = 1,#lcuc do | 701 | for i = 1,#lcuc do |