diff options
Diffstat (limited to 'rst_context.lua')
-rw-r--r-- | rst_context.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rst_context.lua b/rst_context.lua index d8b8516..0abcdc6 100644 --- a/rst_context.lua +++ b/rst_context.lua @@ -768,6 +768,7 @@ function rst_context.literal_block (str) end function rst_context.line_block (str) + rst_context.addsetups("lines") return [[ \\startlines @@ -1207,4 +1208,19 @@ function optional_setups.deflist () ]] end +function optional_setups.lines () + return [[ + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Lines environment (line blocks) % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\setuplines[% + space=on,% + before={\startlinecorrection\blank[small]},% + after={\blank[small]\stoplinecorrection},% +] +]] +end + return rst_context |