diff options
author | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2011-09-11 13:43:36 +0200 |
---|---|---|
committer | Philipp Gesang <pgesang@ix.urz.uni-heidelberg.de> | 2011-09-11 13:43:36 +0200 |
commit | 74fe70d9c096bb95642603979ab14cc2e00b585d (patch) | |
tree | 043286d192985966f70651bee240ece058fead2f /mod/tex/context/third/rst | |
parent | 6dbdb0d88d1a8c33cac53046369973cd070f7cec (diff) | |
download | context-rst-74fe70d9c096bb95642603979ab14cc2e00b585d.tar.gz |
allow literal blocks after single-line paragraphs
Diffstat (limited to 'mod/tex/context/third/rst')
-rw-r--r-- | mod/tex/context/third/rst/rst_parser.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/tex/context/third/rst/rst_parser.lua b/mod/tex/context/third/rst/rst_parser.lua index 646d972..43694ce 100644 --- a/mod/tex/context/third/rst/rst_parser.lua +++ b/mod/tex/context/third/rst/rst_parser.lua @@ -1103,7 +1103,10 @@ local parser = P{ * V"reset_depth" , - par_first = V"par_setindent" * C((1 - V"literal_block_shorthand" - V"eol")^1) * V"eol", + par_first = V"par_setindent" + * C((1 - V"literal_block_shorthand" - V"eol")^1) + * (V"included_literal_block" + V"eol") + , par_other = V"par_matchindent" * C((1 - V"literal_block_shorthand" - V"eol")^1) |