projects
/
matthijs
/
master-project
/
report.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make pret-lam work for \type{} as well.
[matthijs/master-project/report.git]
/
pret-haskell.lua
diff --git
a/pret-haskell.lua
b/pret-haskell.lua
index 483d660dd2c70c577b64ceaf2a7fef9db475f1a6..bf74fe075b6a3e7149922e3398687a2602d47de5 100644
(file)
--- a/
pret-haskell.lua
+++ b/
pret-haskell.lua
@@
-11,7
+11,6
@@
local visualizer = buffers.newvisualizer('haskell')
function visualizer.flush_line(str,nested)
while str ~= '' do
function visualizer.flush_line(str,nested)
while str ~= '' do
- print("Looking at '" .. str .. "'")
if utf.match(str, '^ ') then
tex.sprint('\\obs ')
-- Eat the first character
if utf.match(str, '^ ') then
tex.sprint('\\obs ')
-- Eat the first character