From 0d8416497fa7977a160dff8f63214ec6ebac1ac8 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 30 Oct 2009 12:55:48 +0100 Subject: [PATCH] Fix lua reference to ctxcatcodes. Apparently something changed in context, making the old code not work (in a weird and unexpected way). --- pret-haskell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2