From 4ebd1bb559f0e74db3704617dc3b4b6d149f24d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 29 Mar 2010 18:24:04 +0200 Subject: mcb now compatible with luatex 0.25.4 --- TODO | 3 +-- luatexbase-mcb.dtx | 5 +++-- 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} -- cgit v1.2.3