diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-11-06 05:58:07 +0100 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2010-11-11 15:52:25 +0100 |
commit | 75372f1f9e31412db0b09d719e1220fac9cfd6c4 (patch) | |
tree | f33564a90f8b642eadaf6bddd5f580da3afcb217 | |
parent | 4bea321e068d0efc53fe4cd50d07ca53900ec2d2 (diff) | |
download | luatexbase-75372f1f9e31412db0b09d719e1220fac9cfd6c4.tar.gz |
fix datahandler
bug introduced in e83fde09346d4706f0b5d262b7950c0d05389757
-rw-r--r-- | luatexbase-mcb.dtx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/luatexbase-mcb.dtx b/luatexbase-mcb.dtx index 4bbbcb7..bace1f9 100644 --- a/luatexbase-mcb.dtx +++ b/luatexbase-mcb.dtx @@ -592,6 +592,7 @@ local function datahandler (name) for _, f in ipairs(callbacklist[name]) do data = f.func(data, ...) end + return data end end % \end{macrocode} @@ -1017,12 +1018,10 @@ end % \begin{macrocode} function add_process_input_buffer() luatexbase.add_to_callback('process_input_buffer', function(buffer) - texio.write_nl("I'm a dummy process_input_buffer") return buffer.."\\msg{dummy}" end, 'dummy process_input_buffer') luatexbase.add_to_callback('process_input_buffer', function(buffer) - texio.write_nl("I'm an other dummy process_input_buffer") return buffer.."\\msg{otherdummy}" end, 'other dummy process_input_buffer') |