diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-01-22 19:50:48 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-01-22 19:50:48 +0100 |
commit | 548680f72e477c760bc5f94ae86a4eaa858d4771 (patch) | |
tree | 4d57786a2424553f57552736f55fedd81d396e4c | |
parent | 79c0fac2e0890107ddc1a0f5e60ef11cba305c3f (diff) | |
download | arabluatex-548680f72e477c760bc5f94ae86a4eaa858d4771.tar.gz |
\prname{} two rules were to be switched round
-rw-r--r-- | arabluatex.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index 2adcdb0..495e6a0 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -671,8 +671,8 @@ function uc(str) | |||
671 | return string.format("%s", body) | 671 | return string.format("%s", body) |
672 | end) | 672 | end) |
673 | -- Allah and ibn | 673 | -- Allah and ibn |
674 | str = string.gsub(str, "([%'%-]?)(l%-lāh)([uai]?)", "%1{Llāh%3}") | ||
675 | str = string.gsub(str, "(al%-lāh)([uai]?)", "{Allāh%2}") | 674 | str = string.gsub(str, "(al%-lāh)([uai]?)", "{Allāh%2}") |
675 | str = string.gsub(str, "([%'%-]?)(l%-lāh)([uai]?)", "%1{Llāh%3}") | ||
676 | str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}") | 676 | str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}") |
677 | for i = 1,#lcuc do | 677 | for i = 1,#lcuc do |
678 | str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") | 678 | str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") |