aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 4db23a2..ab92174 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -832,8 +832,11 @@ function al_closestream()
832 end) 832 end)
833 if string.find(t, "\\begin%s?{document}.-\\arb%s?[%[%{]") or 833 if string.find(t, "\\begin%s?{document}.-\\arb%s?[%[%{]") or
834 string.find(t, "\\begin%s?{document}.-\\[Uu]c%s?%b{}") 834 string.find(t, "\\begin%s?{document}.-\\[Uu]c%s?%b{}")
835 then 835 then
836 tex.print([[\unexpanded{\PackageWarningNoLine{arabluatex}{There are still 'arabtex' strings to be converted. Please open ]]..tex.jobname..utffilesuffix..".tex"..[[ and compile it one more time}}]]) 836 tex.print([[\unexpanded{\PackageWarningNoLine{arabluatex}{
837 There are still 'arabtex' strings to be converted.
838 Please open ]] .. tex.jobname .. utffilesuffix .. ".tex" ..
839 [[ and compile it one more time}}]])
837 else end 840 else end
838 t = t.."\n\\end{document}" 841 t = t.."\n\\end{document}"
839 io.write(t) 842 io.write(t)