diff options
Diffstat (limited to 'rst_context.lua')
-rw-r--r-- | rst_context.lua | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/rst_context.lua b/rst_context.lua index 05ed14f..71e9e09 100644 --- a/rst_context.lua +++ b/rst_context.lua @@ -537,7 +537,9 @@ end -- Prime time for the fancybreak module. function rst_context.transition (str) - return "\n\\hrule\n" + rst_context.addsetups("breaks") + --return "\\fancybreak\n" + return "\\fancybreak{$* * *$}\n" end function rst_context.bullet_marker(str) @@ -1253,4 +1255,16 @@ function optional_setups.lines () ]] end +function optional_setups.breaks () + return [[ + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Fancy transitions % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\usemodule[fancybreak] +\setupfancybreak[symbol=star] +]] +end + return rst_context |