summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--luatexbase-mcb.dtx5
2 files changed, 4 insertions, 4 deletions
diff --git a/TODO b/TODO
index 6c43e1a..b0d0901 100644
--- a/TODO
+++ b/TODO
@@ -15,11 +15,10 @@ modutils
mcallbacks
----------
-- Compatibility : tex.luaversion not available in 0.25.4 :'(
-- Incorporate remaining bits from luatextra?
- Make more Lua objects local.
- Stop creating functions in the callback table ?!
- Make a decision about names of public functions.
+- Incorporate remaining bits from luatextra?
- General review of code and comments.
- Update user documentation.
diff --git a/luatexbase-mcb.dtx b/luatexbase-mcb.dtx
index 4abe6db..7897822 100644
--- a/luatexbase-mcb.dtx
+++ b/luatexbase-mcb.dtx
@@ -397,10 +397,11 @@ callbacktypes = callbacktypes or {
% \end{macrocode}
%
% In Lua\TeX\ version 0.43, a new callback called |process_output_buffer|
-% appeared, so we enable it.
+% appeared, so we enable it. Test the version using the compat package for,
+% well, compatibility.
%
% \begin{macrocode}
-if tex.luatexversion > 42 then
+if luatexbase.luatexversion > 42 then
callbacktypes["process_output_buffer"] = data
end
% \end{macrocode}