X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=pret-haskell.lua;h=4ce8d3e524670d51077b56b4f3967553cb93e6c0;hp=f1dc31bdc421aea7cf2dbd0842463a98cb963432;hb=7095d53c2ec805554837714da3df3a458ebfb2bb;hpb=9c83d108049c6187f1e53e632ebd1e0e3f9196b5 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