projects
/
matthijs
/
master-project
/
report.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9258d5
)
Fix lua reference to ctxcatcodes.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 30 Oct 2009 11:55:48 +0000
(12:55 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 30 Oct 2009 11:55:48 +0000
(12:55 +0100)
Apparently something changed in context, making the old code not work (in
a weird and unexpected way).
pret-haskell.lua
patch
|
blob
|
history
diff --git
a/pret-haskell.lua
b/pret-haskell.lua
index f1dc31bdc421aea7cf2dbd0842463a98cb963432..4ce8d3e524670d51077b56b4f3967553cb93e6c0 100644
(file)
--- 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