]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/hollywood.layout
DocBook: implement modern CV.
[lyx.git] / lib / layouts / hollywood.layout
index ca294d0f80f5eb0c54897d15f8b74f05d2a11324..da5a85e9316759e0a19097f60306037b61d5b7cf 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,6 +16,7 @@
 # Based on course given by Lars Davidson
 
 
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             2
@@ -46,7 +48,6 @@ Style Dialogue
        TopSep                0.0
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -62,7 +63,6 @@ Style More
        BottomSep             0.0
        KeepEmpty             1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "(MORE)"
        Font
@@ -85,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
 
 
@@ -105,9 +105,9 @@ Style INT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "INT. "
+       LabelSep              M
+       LabelString           "INT."
 End
 
 
@@ -119,9 +119,9 @@ Style EXT.
        ParSkip               0.25
        TopSep                0.25
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "EXT. "
+       LabelSep              M
+       LabelString           "EXT."
 End
 
 
@@ -136,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
 
 
@@ -152,7 +157,6 @@ Style Speaker
        TopSep                0.25
        BottomSep             0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -169,11 +173,10 @@ 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
@@ -196,7 +199,6 @@ Style Continuing
        ParSkip               0.0
        KeepEmpty             1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "(continuing)"
        Font
@@ -219,8 +221,9 @@ Style Narrative
        TopSep                0.25
        RightMargin           MMMMM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
+       DocBookTag            para
+       DocBookAttr           role='narrative'
 End
 
 
@@ -233,7 +236,6 @@ Style Transition
        TopSep                0.5
        ParSkip               0.4
        Align                 Right
-       AlignPossible         Right
        LabelType             No_Label
 End
 
@@ -246,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
 
 
@@ -261,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
 
 
@@ -276,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
 Style General
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -293,6 +296,8 @@ Style General
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        Labeltype             No_Label
+       DocBookTag            para
+       DocBookAttr           role='general'
 End
 
 
@@ -305,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
 
 
@@ -320,6 +333,8 @@ Style Right_Address
        ParSep                1.5
        Align                 Left
        AlignPossible         Left, Right
+       DocBookTag            address
+       DocBookInInfo         always
 End
 
 
@@ -370,6 +385,7 @@ End
 #  LatexName            endcontinued
 #End
 
+Input stdinsets.inc
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdfloats.inc