]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/db_stdtitle.inc
Update all layout files to format 21.
[lyx.git] / lib / layouts / db_stdtitle.inc
index 422bc3f0e1d663bcb54739e9a712f21e7730766e..5f57be17fb1daec00b762d51ba7f2c1b8911135a 100644 (file)
@@ -1,72 +1,51 @@
 # Textclass definition file for docbook.
-# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
-
-# This file is the counterpart of stdstile.inc
-# It is desireable, as far as possible, to have the same look and feeling for
+# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
+# Modified Martin Vermeer <martin.vermeer@hut.fi>
+#
+# This file is the counterpart of stdstyle.inc
+# It is desirable, as far as possible, to have the same look and feel for
 # related layouts in latex and docbook.
 
+Format 21
 Input stdtitle.inc
 
-# Title style definition
+
 Style Title
        LatexType             Command
        LatexName             articleinfo
-       LatexParam            "2|"
+       CommandDepth          2
+       InnerTag              title
 End
 
-# Author style definition
+
 Style Author
        LatexType             Environment
        LatexName             author
-       KeepEmpty             1
 End
 
-# Authorgroup
+
 Style Authorgroup
        CopyStyle             Author
        LatexType             Environment
        LatexName             authorgroup
-       LatexParam            author
+       InnerTag              author
 End
 
-# first name style definition
-Style FirstName
-       Margin                Static
-       LatexType             Paragraph
-       LatexName             firstname
-       ParIndent             MM
-       ParSkip               0.4
-       Align                 Center
-       AlignPossible         Center
-       LabelType             No_Label
-End
 
-# surname style definition
-Style Surname
-       Margin                Static
-       LatexType             Paragraph
-       LatexName             surname
-       ParIndent             MM
-       ParSkip               0.4
-       Align                 Center
-       AlignPossible         Center
-       LabelType             No_Label
-End
-
-# Date style definition
 Style Date
        LatexType             Paragraph
        LatexName             date
-       Align                 Left
+       Align                 Center
        AlignPossible         Left,Center
 End
 
-# Revision History style definition
+
 Style RevisionHistory
        Margin                Static
        LatexType             Command
        LatexName             revhistory
-       LatexParam            "3|!-- --"
+       CommandDepth          3
+       InnerTag              "!-- --"
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -74,31 +53,28 @@ Style RevisionHistory
        BottomSep             0
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        KeepEmpty             1
        LabelType             Centered_Top_Environment
        LabelString           "Revision History"
        LabelBottomSep        0.5
 End
 
-# Revision style definition
+
 Style Revision
        Margin                Dynamic
        LatexType             Command
        LatexName             revision
-       LatexParam            "4|revnumber"
+       CommandDepth          4
+       InnerTag              revnumber
        LabelSep              xxx
        ParSkip               0.4
        TopSep                0.9
        BottomSep             0.5
        ParSep                0.5
        Align                 Block
-       AlignPossible         Block
 End
 
-# RevisionRemark style definition
+
 Style RevisionRemark
        Margin                Static
        LatexType             Paragraph
@@ -111,7 +87,14 @@ Style RevisionRemark
        BottomSep             0.0
        ParSep                1
        Align                 Block
-       AlignPossible         Block
        LabelType             No_Label
+End
+
+
+Style FirstName
+        ObsoletedBy   Standard
+End
+
+Style Surname
+       ObsoletedBy   Standard
 End