From 548680f72e477c760bc5f94ae86a4eaa858d4771 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 22 Jan 2018 19:50:48 +0100 Subject: \prname{} two rules were to be switched round --- arabluatex.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) return string.format("%s", body) end) -- Allah and ibn - str = string.gsub(str, "([%'%-]?)(l%-lāh)([uai]?)", "%1{Llāh%3}") str = string.gsub(str, "(al%-lāh)([uai]?)", "{Allāh%2}") + str = string.gsub(str, "([%'%-]?)(l%-lāh)([uai]?)", "%1{Llāh%3}") str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}") for i = 1,#lcuc do str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") -- cgit v1.2.3