summaryrefslogtreecommitdiff
path: root/luatexbase-mcb.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'luatexbase-mcb.dtx')
-rw-r--r--luatexbase-mcb.dtx5
1 files changed, 3 insertions, 2 deletions
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}