]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/broadway.layout
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / broadway.layout
index 63ffe9f81cda296e77c6b4d66e03b81842cd24bc..00977e08e0867226cf17e45f084a343c26a3a424 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 35
+Format 99
 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
 
 
@@ -50,7 +55,7 @@ Style Narrative
        LabelType             No_Label
        Font
          Shape               Italic
-         Color               Black
+         Color               foreground
        EndFont
 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}"
@@ -147,10 +152,10 @@ Style Parenthetical
        EndLabelString        ")"
        Font
          Shape               Italic
-         Color               Blue
+         Color               textlabel1
        EndFont
        LabelFont
-         Color               Blue
+         Color               textlabel1
        EndFont
 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
@@ -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
@@ -206,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