summaryrefslogtreecommitdiff
path: root/luatexbase-modutils.dtx
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-11-04 23:11:37 +0100
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-11-11 15:49:40 +0100
commita206bf7f00e669c5b0530766f7666dd4addbec6b (patch)
tree347d94f1c382801dda3f5d4b1206e3784b0d1de2 /luatexbase-modutils.dtx
parent0d1b9ec3845cd63eb16c5bb58e37d563973803df (diff)
downloadluatexbase-a206bf7f00e669c5b0530766f7666dd4addbec6b.tar.gz
Don't use tex.error() after all.
Diffstat (limited to 'luatexbase-modutils.dtx')
-rw-r--r--luatexbase-modutils.dtx4
1 files changed, 3 insertions, 1 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index a21d3cf..054d80d 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -428,7 +428,9 @@ end
% Here are the reporting functions for the modules. For errors, Lua's
% |error()| is used. For now, the error reports look less good than with
% \tex's |\errmessage|, but hopefully it will be improved in future
-% versions of \luatex. We could invoke |\errmessage| using |tex.sprint()|,
+% versions of \luatex.\footnote{Actually, \luatex 0.61 and higher provides
+% |tex.error| but it's less usefull, since only the current line in the
+% TeX file is reported.} We could invoke |\errmessage| using |tex.sprint()|,
% but it may cause problems on the \tex end,\footnote{Eg, it will not work
% inside an \cs{edef}.} and moreover |error()| will still be used by Lua
% for other errors, so it makes messages more consistent.