Make pret-lam work for \type{} as well.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 25 Aug 2009 15:36:19 +0000 (17:36 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 25 Aug 2009 15:36:19 +0000 (17:36 +0200)
pret-lam.lua

index eb7d353..aff6988 100644 (file)
@@ -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