]> 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 57c567756787ca637aec9a6983afc7aceab48646..f15ae0e5a0dc8d9a9d46cf100b2d61ec65cb6166 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[hollywood]{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 5
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             2
@@ -47,7 +48,6 @@ Style Dialogue
        TopSep                0.0
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -63,7 +63,6 @@ Style More
        BottomSep             0.0
        KeepEmpty             1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "(MORE)"
        Font
@@ -86,7 +85,6 @@ Style FADE_IN:
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
        LabelSep              M
@@ -107,7 +105,6 @@ Style INT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelSep              M
        LabelString           "INT."
@@ -122,7 +119,6 @@ Style EXT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelSep              M
        LabelString           "EXT."
@@ -140,8 +136,13 @@ Style Description
        TopSep                0.25
        RightMargin           MMMMM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
+       DocBookTag            variablelist
+       DocBookItemWrapperTag varlistentry
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
+       DocBookItemLabelTag   term
+       DocBookItemLabelTagType   paragraph
 End
 
 
@@ -156,7 +157,6 @@ Style Speaker
        TopSep                0.25
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -173,7 +173,6 @@ Style Parenthetical
        BottomSep             0.0
        ParSkip               0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "("
        EndLabelType          Static
@@ -200,7 +199,6 @@ Style Continuing
        ParSkip               0.0
        KeepEmpty             1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "(continuing)"
        Font
@@ -223,8 +221,9 @@ Style Narrative
        TopSep                0.25
        RightMargin           MMMMM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
+       DocBookTag            para
+       DocBookAttr           role='narrative'
 End
 
 
@@ -237,7 +236,6 @@ Style Transition
        TopSep                0.5
        ParSkip               0.4
        Align                 Right
-       AlignPossible         Right
        LabelType             No_Label
 End
 
@@ -250,7 +248,6 @@ Style TITLE_OVER:
        ParSkip               0.5
        TopSep                0.5
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
        LabelSep              M
@@ -266,7 +263,6 @@ Style INTERCUT
        ParSkip               0.25
        TopSep                0.5
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
        LabelSep              M
@@ -282,7 +278,6 @@ Style FADE_OUT
        ParSkip               0.8
        TopSep                1.0
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
        LabelSep              M
@@ -292,6 +287,7 @@ End
 
 # Same as Standard, Standard deprecated
 Style General
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -300,6 +296,8 @@ Style General
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        Labeltype             No_Label
+       DocBookTag            para
+       DocBookAttr           role='general'
 End
 
 
@@ -312,8 +310,16 @@ Style Scene
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         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
 
 
@@ -327,6 +333,8 @@ Style Right_Address
        ParSep                1.5
        Align                 Left
        AlignPossible         Left, Right
+       DocBookTag            address
+       DocBookInInfo         always
 End
 
 
@@ -353,6 +361,9 @@ Style Title
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End