]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hollywood.layout
DocBook: implement modern CV.
[lyx.git] / lib / layouts / hollywood.layout
index 844c3b1c8f0c76382c144b845c0b0861e32fb6df..da5a85e9316759e0a19097f60306037b61d5b7cf 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
 # Contributed by Garst R. Reese with lots of help from the LyX Team
 # 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
@@ -36,7 +36,8 @@ EndFont
 
 DefaultStyle   Dialogue
 
-# Dialogue style definition. Actor dialog
+
+# Actor dialog
 Style Dialogue
        Margin                Static
        LatexType             Command
@@ -47,10 +48,10 @@ Style Dialogue
        TopSep                0.0
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
+
 # More: Use to break a long Dialogue
 Style More
        Margin                Static
@@ -62,22 +63,18 @@ 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
 
 
-
 # FADE_IN: and FADE_OUT: usually stand alone. If you want a more complicated
 # FADE_IN e.g. FADE_IN on STELLA:, use the Narrative Style.
 Style FADE_IN:
@@ -88,12 +85,13 @@ 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
 
+
 # Scene headings (ALL CAPS) This is a general case, probably not needed
 # example:
 # INT. LOG CABIN - NIGHT
@@ -107,11 +105,12 @@ Style INT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "INT. "
+       LabelSep              M
+       LabelString           "INT."
 End
 
+
 Style EXT.
        Margin                Dynamic
        LatexType             Command
@@ -120,9 +119,9 @@ Style EXT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "EXT. "
+       LabelSep              M
+       LabelString           "EXT."
 End
 
 
@@ -137,10 +136,16 @@ 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
 
+
 # Speaker style definition, identifies speaker  ALL CAPS
 # Use this also for THE END
 Style Speaker
@@ -152,10 +157,10 @@ Style Speaker
        TopSep                0.25
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
+
 # Parenthetical instruction to speaker (in parenthises, l.c.)
 # The ( and ) will automatically appear on screen, so don't type any.
 Style Parenthetical
@@ -168,22 +173,20 @@ Style Parenthetical
        BottomSep             0.0
        ParSkip               0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           (
+       LabelString           "("
        EndLabelType          Static
-       EndLabelString        )
-
-Font
-       Family                Typewriter
-       Series                Medium
-       Shape                 Up
-       Size                  Normal
-       Color                 Blue
-EndFont
-
+       EndLabelString        ")"
+       Font
+         Family              Typewriter
+         Series              Medium
+         Shape               Up
+         Size                Normal
+         Color               Blue
+       EndFont
 End
 
+
 # Used when the same speaker continues after a narrative. Don't type
 # anything.
 Style Continuing
@@ -196,20 +199,18 @@ 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
-EndFont
-
+       Font
+         Family              Typewriter
+         Series              Medium
+         Shape               Up
+         Size                Normal
+         Color               Green
+       EndFont
 End
 
+
 # Narrative description of action
 Style Narrative
        Margin                Static
@@ -220,13 +221,12 @@ Style Narrative
        TopSep                0.25
        RightMargin           MMMMM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
+       DocBookTag            para
+       DocBookAttr           role='narrative'
 End
 
 
-
-
 # Transition style definition ALL CAPS
 Style Transition
        Margin                Static
@@ -236,10 +236,10 @@ Style Transition
        TopSep                0.5
        ParSkip               0.4
        Align                 Right
-       AlignPossible         Right
        LabelType             No_Label
 End
 
+
 Style TITLE_OVER:
        Margin                Dynamic
        LatexType             Command
@@ -248,12 +248,13 @@ 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
 
+
 Style INTERCUT
        Margin                Dynamic
        LatexType             Command
@@ -262,12 +263,13 @@ 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
 
+
 Style FADE_OUT
        Margin                Dynamic
        LatexType             Command
@@ -276,14 +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
@@ -292,8 +296,11 @@ Style General
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        Labeltype             No_Label
+       DocBookTag            para
+       DocBookAttr           role='general'
 End
 
+
 # General Left aligned CAPS
 Style Scene
        Margin                Dynamic
@@ -303,11 +310,19 @@ 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
 
-# Right Address style
+
 Style Right_Address
        Margin                Right_Address_Box
        LatexType             Command
@@ -318,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
@@ -330,9 +348,9 @@ Style Author
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
-
 End
 
+
 Style Title
        Margin                Static
        LatexType             Command
@@ -343,22 +361,20 @@ Style Title
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
-
 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
 
+
 # For shooting scripts only, puts CONTINUED in rfoot, CONTINUED: in
 # 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
@@ -368,14 +384,13 @@ End
 #  LatexType            Command
 #  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
-
-