X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=pret-lam.lua;h=aff6988d8af774ef8f1e1021f954ed3f34e786d9;hp=eb7d3530395529a0b6ce1b934a4aa6ce4b38c467;hb=36a673fe5851ad9d3dd40eacbfd36349bf87024b;hpb=3c14ee282540b94500b519e411d2326851e122ba diff --git a/pret-lam.lua b/pret-lam.lua index eb7d353..aff6988 100644 --- 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