aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-01-04 20:21:04 +0100
committerRobert Alessi <alessi@robertalessi.net>2018-01-04 20:21:04 +0100
commit70de29d460ac561a2e707a37888f6336d564bdd9 (patch)
tree64adb7ce958b14e658b70706dd714dace72a132d
parenteaa312973551c9f7d798035c854c5083f21fa047 (diff)
downloadarabluatex-70de29d460ac561a2e707a37888f6336d564bdd9.tar.gz
\prname{} something was still missing for ibn to be processed properly
-rw-r--r--arabluatex.dtx4
-rw-r--r--arabluatex.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 375d619..d2e1be7 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -27,7 +27,7 @@
27%<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01] 27%<package-info>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
28%<package-info>\ProvidesPackage{arabluatex} 28%<package-info>\ProvidesPackage{arabluatex}
29%<*package-info> 29%<*package-info>
30 [2018/01/04 v1.10.1 An ArabTeX-like interface for LuaLaTeX] 30 [2018/01/04 v1.10.2 An ArabTeX-like interface for LuaLaTeX]
31%</package-info> 31%</package-info>
32% 32%
33%<*driver> 33%<*driver>
@@ -3423,7 +3423,7 @@ wa-ya.sIru ta.hta 'l-jild-i
3423% \begin{macrocode} 3423% \begin{macrocode}
3424\NeedsTeXFormat{LaTeX2e} 3424\NeedsTeXFormat{LaTeX2e}
3425\ProvidesPackage{arabluatex}% 3425\ProvidesPackage{arabluatex}%
3426[2018/01/04 v1.10.1 An ArabTeX-like interface for LuaLaTeX] 3426[2018/01/04 v1.10.2 An ArabTeX-like interface for LuaLaTeX]
3427\RequirePackage{ifluatex} 3427\RequirePackage{ifluatex}
3428% \end{macrocode} 3428% \end{macrocode}
3429% \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning 3429% \package{arabluatex} requires \LuaLaTeX\ of course. Issue a warning
diff --git a/arabluatex.lua b/arabluatex.lua
index 523eece..088d241 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -670,7 +670,7 @@ function uc(str)
670 body = string.sub(body, 2, -2) 670 body = string.sub(body, 2, -2)
671 return string.format("%s", body) 671 return string.format("%s", body)
672 end) 672 end)
673 str = string.gsub(str, "(%s[%(%<%[]?)(i?b[n%.])", "%1{%2}") 673 str = string.gsub(str, "(%s[%(%<%[]?)([i%']?b[n%.])", "%1{%2}")
674 for i = 1,#lcuc do 674 for i = 1,#lcuc do
675 str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}") 675 str = string.gsub(str, "^([%S]-%-[`']?)"..lcuc[i].a, "{%1"..lcuc[i].b.."}")
676 end 676 end