diff options
author | Thomas White <taw@bitwiz.me.uk> | 2020-01-13 22:53:46 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2020-01-13 22:53:46 +0100 |
commit | 588d51ef1e462eefc3761e55dc9ae87f75a3115c (patch) | |
tree | 1a1bad48c8064fce743162be1d3cf7bfd44a3035 /libstorycode/storycode.y | |
parent | 1f2629403b9d62ecf44420f789b5c679a8ae1c98 (diff) |
Styling for segment start markers
Diffstat (limited to 'libstorycode/storycode.y')
-rw-r--r-- | libstorycode/storycode.y | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstorycode/storycode.y b/libstorycode/storycode.y index eec1abb..6bb0e85 100644 --- a/libstorycode/storycode.y +++ b/libstorycode/storycode.y @@ -153,6 +153,7 @@ %type <ss> stylesheet %type <style> style_narrative_bp %type <style> style_narrative_prestitle +%type <style> style_narrative_segstart %type <style> styledefs %type <style> styledef %type <style> slide_geom @@ -556,6 +557,7 @@ style_slide_defs: style_narrative_def: style_narrative_prestitle { set_stylesheet(n, &$1, "NARRATIVE.PRESTITLE"); } | style_narrative_bp { set_stylesheet(n, &$1, "NARRATIVE.BP"); } +| style_narrative_segstart { set_stylesheet(n, &$1, "NARRATIVE.SEGMENT_START"); } | styledef { set_stylesheet(n, &$1, "NARRATIVE"); } ; @@ -576,6 +578,10 @@ style_narrative_bp: BP '{' styledefs '}' { $$ = $3; } ; +style_narrative_segstart: + SEG_START '{' styledefs '}' { $$ = $3; } +; + background: BGCOL colour { copy_col(&$$.bgcol, $2); $$.bggrad = GRAD_NONE; |