From: Matthijs Kooijman Date: Fri, 30 Oct 2009 11:55:48 +0000 (+0100) Subject: Fix lua reference to ctxcatcodes. X-Git-Tag: final-thesis~186 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0d8416497fa7977a160dff8f63214ec6ebac1ac8;p=matthijs%2Fmaster-project%2Freport.git Fix lua reference to ctxcatcodes. Apparently something changed in context, making the old code not work (in a weird and unexpected way). --- diff --git a/pret-haskell.lua b/pret-haskell.lua index f1dc31b..4ce8d3e 100644 --- a/pret-haskell.lua +++ b/pret-haskell.lua @@ -14,7 +14,7 @@ local visualizer = buffers.newvisualizer('haskell') -- macro's that should be interpreted. Does not insert any automatic -- linebreaking. local function ctxsprint(str) - tex.sprint(ctxcatcodes, str) + tex.sprint(tex.ctxcatcodes, str) end -- Print a string or table of strings almost literal. Each character in the