DocBook: implement Hollywood layout.

This commit is contained in:
Thibaut Cuvelier 2020-11-01 02:51:49 +01:00
parent f0fdf5ebb3
commit d8e097686a
2 changed files with 18 additions and 0 deletions

View File

@ -440,6 +440,9 @@ export/templates/Books/Springer_Monographs_%28svmono%29/.*_docbook5
export/export/docbook/svmono_docbook5
# - scrbook with too many customisations.
export/templates/Theses/PhD_Thesis/.*_docbook5
# - Hollywood, too much formatting in elements DocBook does not allow to be formatted (like address).
export/templates/Scripts/Hollywood_docbook5
export/export/docbook/Hollywood_docbook5
# - Branches may cause problems (especially when mixing with parts that must go in <info>).
export/export/latex/languages/supported-languages_docbook5

View File

@ -222,6 +222,8 @@ Style Narrative
RightMargin MMMMM
Align Left
LabelType No_Label
DocBookTag para
DocBookAttr role='narrative'
End
@ -294,6 +296,8 @@ Style General
Align Left
AlignPossible Block, Left, Right, Center
Labeltype No_Label
DocBookTag para
DocBookAttr role='general'
End
@ -307,6 +311,15 @@ Style Scene
TopSep 0.25
Align Left
LabelType No_Label
# This style is a NOT_IN_TOC-level section, hence it cannot be output as a real section in DocBook.
DocBookTag bridgehead
DocBookAttr renderas='sect1'
DocBookTagType paragraph
# DocBookTag title
# DocBookTagType paragraph
# DocBookSection true
# DocBookSectionTag section
# DocBookInInfo maybe
End
@ -320,6 +333,8 @@ Style Right_Address
ParSep 1.5
Align Left
AlignPossible Left, Right
DocBookTag address
DocBookInInfo always
End