diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-03-03 18:51:34 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-03-03 18:52:22 +0100 |
commit | acbec489df38e182a8e284095ccd7a0f1d84112e (patch) | |
tree | 1ad22572be6294ae761a2ecba7dea37c26f0b969 /libstorycode/storycode.y | |
parent | f2bfe89481217625f74224289947f7bcd839c55f (diff) |
Styled narrative rendering
Diffstat (limited to 'libstorycode/storycode.y')
-rw-r--r-- | libstorycode/storycode.y | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libstorycode/storycode.y b/libstorycode/storycode.y index 9be6723..f400bec 100644 --- a/libstorycode/storycode.y +++ b/libstorycode/storycode.y @@ -336,11 +336,16 @@ style_narrative: style_narrative_def: %empty | style_narrative_def style_narrative_prestitle -| style_narrative_def styledef +| style_narrative_def style_narrative_bp +| style_narrative_def styledef { set_style(ctx, STYEL_NARRATIVE); } ; style_narrative_prestitle: - PRESTITLE '{' styledefs '}' { } + PRESTITLE '{' styledefs '}' { set_style(ctx, STYEL_NARRATIVE_PRESTITLE); } +; + +style_narrative_bp: + BP '{' styledefs '}' { set_style(ctx, STYEL_NARRATIVE_BP); } ; style_slide: |