]> 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 ade19c3943962f14826c1ec9f75c3e754f9163db..62cb9691ecaf1ea48be10b96fbd709c60b17f22e 100644 (file)
@@ -4,7 +4,7 @@
 
 # For theater plays
 
-Format 36
+Format 85
 Columns                 1
 Sides                   1
 SecNumDepth             2
@@ -21,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
 
 
@@ -65,7 +69,7 @@ Style ACT
        TopSep                1.0
 #  KeepEmpty            1
        Align                 Center
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          act
        LabelSep              M
        LabelString           "ACT \arabic{act}"
@@ -81,7 +85,7 @@ Style SCENE
        TopSep                1.0
 #  KeepEmpty            1
        Align                 Center
-       LabelType             Counter
+       LabelType             Static
        LabelCounter          scene
        LabelSep              M
        LabelString           "SCENE \arabic{scene}"
@@ -172,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
@@ -180,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
@@ -194,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