diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-29 18:24:04 +0200 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-03-29 18:24:04 +0200 |
commit | 4ebd1bb559f0e74db3704617dc3b4b6d149f24d1 (patch) | |
tree | a2017f212727cd6bb29b8ee427ed328ee8a84a55 | |
parent | e4a0575aa7854548b4f881925f7477f12f3bc696 (diff) | |
download | luatexbase-4ebd1bb559f0e74db3704617dc3b4b6d149f24d1.tar.gz |
mcb now compatible with luatex 0.25.4
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | luatexbase-mcb.dtx | 5 |
2 files changed, 4 insertions, 4 deletions
@@ -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} |