]> 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 529d72a2a14eab86a87b1d2aed8632a3eed8a753..f15ae0e5a0dc8d9a9d46cf100b2d61ec65cb6166 100644 (file)
@@ -1,7 +1,8 @@
 #% 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
 # abbreviations used in scripts are as follows:
 # INT. - interior       EXT. - exterior
 # Based on course given by Lars Davidson
 
 
-# General textclass parameters
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             2
 TocDepth                2
 
 ClassOptions
-FontSize                12
+       FontSize              12
 End
 
-
-# This is just to show how to declare the default font.
-# The defaults are exactly those shown here.
 DefaultFont
        Family                Typewriter
        Series                Medium
@@ -50,12 +48,11 @@ Style Dialogue
        TopSep                0.0
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
 
-# Use to break a long Dialogue
+# More: Use to break a long Dialogue
 Style More
        Margin                Static
        LatexType             Command
@@ -66,18 +63,15 @@ Style More
        BottomSep             0.0
        KeepEmpty             1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "(MORE)"
-
-Font
-       Family                Typewriter
-       Series                Medium
-       Shape                 Up
-       Size                  Normal
-       Color                 Green
-EndFont
-
+       Font
+         Family              Typewriter
+         Series              Medium
+         Shape               Up
+         Size                Normal
+         Color               Green
+       EndFont
 End
 
 
@@ -91,10 +85,10 @@ Style FADE_IN:
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
-       LabelString           "FADE IN: "
+       LabelSep              M
+       LabelString           "FADE IN:"
 End
 
 
@@ -111,9 +105,9 @@ Style INT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "INT. "
+       LabelSep              M
+       LabelString           "INT."
 End
 
 
@@ -125,9 +119,9 @@ Style EXT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "EXT. "
+       LabelSep              M
+       LabelString           "EXT."
 End
 
 
@@ -142,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
 
 
@@ -158,7 +157,6 @@ Style Speaker
        TopSep                0.25
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -175,18 +173,16 @@ Style Parenthetical
        BottomSep             0.0
        ParSkip               0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           (
+       LabelString           "("
        EndLabelType          Static
-       EndLabelString        )
-
+       EndLabelString        ")"
        Font
-               Family          Typewriter
-               Series          Medium
-               Shape           Up
-               Size            Normal
-               Color           Blue
+         Family              Typewriter
+         Series              Medium
+         Shape               Up
+         Size                Normal
+         Color               Blue
        EndFont
 End
 
@@ -203,15 +199,14 @@ Style Continuing
        ParSkip               0.0
        KeepEmpty             1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "(continuing)"
        Font
-               Family          Typewriter
-               Series          Medium
-               Shape           Up
-               Size            Normal
-               Color           Green
+         Family              Typewriter
+         Series              Medium
+         Shape               Up
+         Size                Normal
+         Color               Green
        EndFont
 End
 
@@ -226,8 +221,9 @@ Style Narrative
        TopSep                0.25
        RightMargin           MMMMM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
+       DocBookTag            para
+       DocBookAttr           role='narrative'
 End
 
 
@@ -240,7 +236,6 @@ Style Transition
        TopSep                0.5
        ParSkip               0.4
        Align                 Right
-       AlignPossible         Right
        LabelType             No_Label
 End
 
@@ -253,10 +248,10 @@ Style TITLE_OVER:
        ParSkip               0.5
        TopSep                0.5
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
-       LabelString           "TITLE OVER: "
+       LabelSep              M
+       LabelString           "TITLE OVER:"
 End
 
 
@@ -268,10 +263,10 @@ Style INTERCUT
        ParSkip               0.25
        TopSep                0.5
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
-       LabelString           "INTERCUT WITH: "
+       LabelSep              M
+       LabelString           "INTERCUT WITH:"
 End
 
 
@@ -283,15 +278,16 @@ Style FADE_OUT
        ParSkip               0.8
        TopSep                1.0
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
-       LabelString           "FADE OUT "
+       LabelSep              M
+       LabelString           "FADE OUT"
 End
 
 
-# Same as Standard, Standard deprecated 
+# 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,8 +333,11 @@ Style Right_Address
        ParSep                1.5
        Align                 Left
        AlignPossible         Left, Right
+       DocBookTag            address
+       DocBookInInfo         always
 End
 
+
 Style Author
        Margin                Static
        LatexType             Command
@@ -352,15 +361,15 @@ Style Title
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
 # Standard style definition (I kept this one to provide a general case)
 Style Standard
-ObsoletedBy General
-End
-Style FADE_OUT:
-ObsoletedBy "FADE OUT"
+       ObsoletedBy General
 End
 
 
@@ -368,7 +377,7 @@ End
 # nextpage lhead and clears that rfoot. It is used when a scene continues
 # onto the next page. This command is provided in case a production unit
 # wants to convert the spec script into a shooting script.
+
 #Style CONTINUED
 #  LatexType            Command
 #  LatexName            continued
@@ -379,12 +388,12 @@ End
 #  LatexName            endcontinued
 #End
 
+Input stdinsets.inc
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdfloats.inc
 Input stdcounters.inc
-# Input lyxmacros.inc
+
 NoStyle Abstract
 NoStyle Bibliography
 NoStyle Date