aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.dtx6
-rw-r--r--arabluatex.lua3
2 files changed, 4 insertions, 5 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 4173695..23a4f38 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/10/09 v1.15 An ArabTeX-like interface for LuaLaTeX] 30 [2018/10/11 v1.15.1 An ArabTeX-like interface for LuaLaTeX]
31%</package-info> 31%</package-info>
32% 32%
33%<*driver> 33%<*driver>
@@ -158,7 +158,7 @@
158\usepackage{newunicodechar} 158\usepackage{newunicodechar}
159\newunicodechar{ǧ}{ǧ} % Old Standard does not include ǧ/Ǧ 159\newunicodechar{ǧ}{ǧ} % Old Standard does not include ǧ/Ǧ
160\newunicodechar{Ǧ}{Ǧ} % 160\newunicodechar{Ǧ}{Ǧ} %
161\usepackage{arabluatex}[2018/10/09] 161\usepackage{arabluatex}[2018/10/11]
162\usepackage[nopar]{quran} 162\usepackage[nopar]{quran}
163\usepackage[noindex]{nameauth} 163\usepackage[noindex]{nameauth}
164\usepackage{varioref} 164\usepackage{varioref}
@@ -4299,7 +4299,7 @@ wa-ya.sIru ta.hta 'l-jild-i
4299% \begin{macrocode} 4299% \begin{macrocode}
4300\NeedsTeXFormat{LaTeX2e} 4300\NeedsTeXFormat{LaTeX2e}
4301\ProvidesPackage{arabluatex}% 4301\ProvidesPackage{arabluatex}%
4302[2018/10/09 v1.15 An ArabTeX-like interface for LuaLaTeX] 4302[2018/10/11 v1.15.1 An ArabTeX-like interface for LuaLaTeX]
4303\RequirePackage{ifluatex} 4303\RequirePackage{ifluatex}
4304% \end{macrocode} 4304% \end{macrocode}
4305% \package{arabluatex} requires \hologo{LuaLaTeX} of course. Issue a 4305% \package{arabluatex} requires \hologo{LuaLaTeX} of course. Issue a
diff --git a/arabluatex.lua b/arabluatex.lua
index 58bc584..09c1acb 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -1162,8 +1162,7 @@ end
1162function ayah(str) 1162function ayah(str)
1163 if tonumber(str) ~= nil and str.len(str) < 4 then 1163 if tonumber(str) ~= nil and str.len(str) < 4 then
1164 if tex.textdir == "TRT" then 1164 if tex.textdir == "TRT" then
1165-- str = "\\arb[novoc]{"..str.."^^^^06dd}" 1165 str = indnum(str).."^^^^06dd"
1166 str = str.."^^^^06dd"
1167 elseif tex.textdir == "TLT" then 1166 elseif tex.textdir == "TLT" then
1168 str = "\\arb[trans]{("..str..")}" 1167 str = "\\arb[trans]{("..str..")}"
1169 end 1168 end