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:
b1e2ed1
)
Make pret-lam work for \type{} as well.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 25 Aug 2009 15:36:19 +0000
(17:36 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 25 Aug 2009 15:36:19 +0000
(17:36 +0200)
pret-lam.lua
patch
|
blob
|
history
diff --git
a/pret-lam.lua
b/pret-lam.lua
index eb7d3530395529a0b6ce1b934a4aa6ce4b38c467..aff6988d8af774ef8f1e1021f954ed3f34e786d9 100644
(file)
--- a/
pret-lam.lua
+++ b/
pret-lam.lua
@@
-107,6
+107,10
@@
function vis.begin_of_display()
bases = {}
end
+-- Make things work for inline typeing (e.g., \type{}) as well.
+vis.begin_of_inline = vis.begin_of_display
+vis.end_of_inline = vis.end_of_display
+
function vis.flush_line(str,nested)
local result, state = { }, 0
local finish, change = buffers.finish_state, buffers.change_state