aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-01-02 17:32:33 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-01-02 17:32:33 +0100
commit7513acbbdec16be2eea6bc6fa9d5490852a0616c (patch)
tree5a5b97b6dc4fd19c14ac96f09dc5eca265f1c682
parent7a0f23c3ed70f9d05cec96fdc2176adc4a0ad57a (diff)
downloadarabluatex-7513acbbdec16be2eea6bc6fa9d5490852a0616c.tar.gz
\uc{}: rule for initial ʿayn missing from loc
-rw-r--r--arabluatex.lua6
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