]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/db_stdtitle.inc
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / db_stdtitle.inc
index 365da4177fea344e554091358cd460768a4faac6..17739ea9a377f8257f2bf1260ee912c28f6aa097 100644 (file)
@@ -1,52 +1,90 @@
 # 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 99
 Input stdtitle.inc
 
-# Title style definition
-Style Title
-  LatexType            Command
-  LatexName            artheader
-  LatexParam           "2|"
+
+Style Authorgroup
+       CopyStyle             Author
+       LatexType             Environment
+       LatexName             authorgroup
+       # TODO: missing a DocBookInnerTag to be valid (authorgroup > author > personname). 
+       DocBookTag            author
+       DocBookTagType        paragraph
+       DocBookInnerTag       personname
+       DocBookInnerTagType   inline
+       DocBookWrapperTag     authorgroup
+       DocBookWrapperTagType paragraph
 End
 
-# Author style definition
-Style Author
-  LatexType            Environment
-  LatexName            author
-  KeepEmpty            1
+
+Style RevisionHistory
+       Margin                Static
+       LatexType             Command
+       LatexName             revhistory
+       CommandDepth          3
+       InnerTag              "!-- --"
+       LeftMargin            MMM
+       RightMargin           MMM
+       ParIndent             MM
+       TopSep                0.7
+       BottomSep             0
+       ParSep                0
+       Align                 Block
+       KeepEmpty             1
+       LabelType             Centered
+       LabelString           "Revision History"
+       LabelBottomSep        0.5
+       DocBookTag            revhistory
+       DocBookTagType        paragraph
 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
+
+Style Revision
+       Margin                Dynamic
+       LatexType             Command
+       LatexName             revision
+       CommandDepth          4
+       InnerTag              revnumber
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                0.9
+       BottomSep             0.5
+       ParSep                0.5
+       Align                 Block
+       DocBookTag            revision
+       DocBookTagType        paragraph
 End
 
-# surname style definition
-Style Surname
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            surname
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Center
-  AlignPossible        Center
-  LabelType            No_Label
+
+Style RevisionRemark
+       Margin                Static
+       LatexType             Paragraph
+       InTitle               1
+       LatexName             revremark
+       LabelSep              xxx
+       ParIndent             MM
+       ParSkip               0.0
+       TopSep                0.0
+       BottomSep             0.0
+       ParSep                1
+       Align                 Block
+       LabelType             No_Label
+       DocBookTag            revremark
+       DocBookTagType        paragraph
+End
+
+
+Style FirstName
+       ObsoletedBy   Standard
 End
 
-# Date style definition
-Style Date
-  LatexType            Paragraph
-  LatexName            date
+Style Surname
+       ObsoletedBy   Standard
 End