]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hollywood.layout
DocBook: implement title for layouts that previously missed it.
[lyx.git] / lib / layouts / hollywood.layout
index c75482f2304336a3c589920e77bd53d48ee30947..f15ae0e5a0dc8d9a9d46cf100b2d61ec65cb6166 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[hollywood,calc.sty,fancyhdr.sty,ulem.sty]{hollywood}
+#  \DeclareLaTeXClass[hollywood,calc.sty,fancyhdr.sty,ulem.sty]{Hollywood}
+#  \DeclareCategory{Scripts}
 # This layout follows the current Hollywood standard for movie scripts
 #
 # Font Courier 12 pts
@@ -15,7 +16,7 @@
 # Based on course given by Lars Davidson
 
 
-Format 32
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             2
@@ -136,6 +137,12 @@ Style Description
        RightMargin           MMMMM
        Align                 Left
        LabelType             No_Label
+       DocBookTag            variablelist
+       DocBookItemWrapperTag varlistentry
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
+       DocBookItemLabelTag   term
+       DocBookItemLabelTagType   paragraph
 End
 
 
@@ -215,6 +222,8 @@ Style Narrative
        RightMargin           MMMMM
        Align                 Left
        LabelType             No_Label
+       DocBookTag            para
+       DocBookAttr           role='narrative'
 End
 
 
@@ -278,6 +287,7 @@ End
 
 # Same as Standard, Standard deprecated
 Style General
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -286,6 +296,8 @@ Style General
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        Labeltype             No_Label
+       DocBookTag            para
+       DocBookAttr           role='general'
 End
 
 
@@ -299,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
 
 
@@ -312,6 +333,8 @@ Style Right_Address
        ParSep                1.5
        Align                 Left
        AlignPossible         Left, Right
+       DocBookTag            address
+       DocBookInInfo         always
 End
 
 
@@ -338,6 +361,9 @@ Style Title
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End