]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/broadway.layout
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / broadway.layout
index 82ccaec4fc7dd8b732825989c32ff58ed0949ee4..00977e08e0867226cf17e45f084a343c26a3a424 100644 (file)
@@ -1,8 +1,10 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[broadway]{broadway}
+#  \DeclareLaTeXClass[broadway,extramarks.sty,fancyhdr.sty,lastpage.sty]{Broadway}
+#  \DeclareCategory{Scripts}
 
 # For theater plays
 
+Format 99
 Columns                 1
 Sides                   1
 SecNumDepth             2
@@ -12,14 +14,22 @@ ClassOptions
 FontSize                12
 End
 
+Input stdinsets.inc
+#Input stdtitle.inc
+Input stdstruct.inc
+Input stdfloats.inc
+Input stdcounters.inc
+# Input lyxmacros.inc
 
-Counter
-       Name                  act
+DefaultStyle Dialogue
+
+Counter act
+       GuiName "Act Number"
 End
 
 
-Counter
-       Name                  scene
+Counter scene
+       GuiName "Scene Number"
 End
 
 
@@ -30,7 +40,6 @@ Style Dialogue
        LeftMargin            MMMMMMM
        RightMargin           MMMMMMM
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
@@ -43,11 +52,10 @@ Style Narrative
        ParSkip               0.8
        TopSep                1.0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Shape               Italic
-         Color               Black
+         Color               foreground
        EndFont
 End
 
@@ -61,9 +69,9 @@ Style ACT
        TopSep                1.0
 #  KeepEmpty            1
        Align                 Center
-       AlignPossible         Center
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          act
+       LabelSep              M
        LabelString           "ACT \arabic{act}"
 End
 
@@ -77,9 +85,9 @@ Style SCENE
        TopSep                1.0
 #  KeepEmpty            1
        Align                 Center
-       AlignPossible         Center
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          scene
+       LabelSep              M
        LabelString           "SCENE \arabic{scene}"
 End
 
@@ -93,9 +101,9 @@ Style SCENE*
        TopSep                1.0
        KeepEmpty             1
        Align                 Center
-       AlignPossible         Center
        LabelType             Static
-       LabelString           "SCENE "
+       LabelSep              M
+       LabelString           "SCENE"
 End
 
 
@@ -107,10 +115,10 @@ Style AT_RISE:
        ParSkip               0.8
        TopSep                1.0
        Align                 Left
-       AlignPossible         Left
        KeepEmpty             1
        LabelType             Static
-       LabelString           "AT RISE: "
+       LabelSep              M
+       LabelString           "AT RISE:"
 End
 
 
@@ -122,7 +130,6 @@ Style Speaker
        ParSkip               0.4
        TopSep                0.4
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
 End
 
@@ -139,17 +146,16 @@ Style Parenthetical
        BottomSep             0.0
        ParSkip               0.0
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "("
        EndLabelType          Static
        EndLabelString        ")"
        Font
          Shape               Italic
-         Color               Blue
+         Color               textlabel1
        EndFont
        LabelFont
-         Color               Blue
+         Color               textlabel1
        EndFont
 End
 
@@ -163,7 +169,6 @@ Style CURTAIN
        TopSep                1.0
        KeepEmpty             1
        Align                 Center
-       AlignPossible         Center
        LabelType             Static
        LabelString           "CURTAIN"
 End
@@ -171,6 +176,7 @@ End
 
 # Standard style definition (I kept this one to provide a general case)
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -179,10 +185,12 @@ Style Standard
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        Labeltype             No_Label
+       DocBookTag            para
 End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -192,10 +200,15 @@ Style Title
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
+       HTMLTitle             true
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -205,6 +218,11 @@ Style Author
        ParSep                1.5
        Align                 Center
        AlignPossible         Left, Right, Center
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -221,12 +239,5 @@ Style Right_Address
 End
 
 
-Input stdtitle.inc
-Input stdstruct.inc
-Input stdfloats.inc
-Input stdcounters.inc
-# Input lyxmacros.inc
-
-NoStyle Abstract
 NoStyle Bibliography
-NoStyle Date
+