]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/broadway.layout
DocBook: implement title for layouts that previously missed it.
[lyx.git] / lib / layouts / broadway.layout
index a0b633940e25fa7470967d3de2710af9ed203259..62cb9691ecaf1ea48be10b96fbd709c60b17f22e 100644 (file)
@@ -1,9 +1,10 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[broadway,extramarks.sty,fancyhdr.sty,lastpage.sty]{broadway}
+#  \DeclareLaTeXClass[broadway,extramarks.sty,fancyhdr.sty,lastpage.sty]{Broadway}
+#  \DeclareCategory{Scripts}
 
 # For theater plays
 
-Format 27
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             2
@@ -20,11 +21,15 @@ Input stdfloats.inc
 Input stdcounters.inc
 # Input lyxmacros.inc
 
+DefaultStyle Dialogue
+
 Counter act
+       GuiName "Act Number"
 End
 
 
 Counter scene
+       GuiName "Scene Number"
 End
 
 
@@ -64,7 +69,7 @@ Style ACT
        TopSep                1.0
 #  KeepEmpty            1
        Align                 Center
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          act
        LabelSep              M
        LabelString           "ACT \arabic{act}"
@@ -80,7 +85,7 @@ Style SCENE
        TopSep                1.0
 #  KeepEmpty            1
        Align                 Center
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          scene
        LabelSep              M
        LabelString           "SCENE \arabic{scene}"
@@ -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
@@ -193,10 +201,14 @@ Style Title
        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
@@ -222,7 +234,5 @@ Style Right_Address
 End
 
 
-
-NoStyle Abstract
 NoStyle Bibliography
-NoStyle Date
+