X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fdb_stdtitle.inc;h=17739ea9a377f8257f2bf1260ee912c28f6aa097;hb=051c5f27284f00c20e95c5732bcfb04632c7cb18;hp=e1025fa254a9dd4cba65ffc0a244c0920f4231cb;hpb=93ea4edddfd93fd8209d146350c673088c992f9d;p=lyx.git diff --git a/lib/layouts/db_stdtitle.inc b/lib/layouts/db_stdtitle.inc index e1025fa254..17739ea9a3 100644 --- a/lib/layouts/db_stdtitle.inc +++ b/lib/layouts/db_stdtitle.inc @@ -1,66 +1,26 @@ # Textclass definition file for docbook. -# Author : José Abílio Oliveira Matos -# Modified Martin Vermeer +# Author : José Abílio Oliveira Matos +# Modified Martin Vermeer # # 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 -Style Title - LatexType Command - LatexName articleinfo - CommandDepth 2 - InnerTag "title" -End - - -Style Author - LatexType Environment - LatexName author - KeepEmpty 1 -End - - Style Authorgroup CopyStyle Author LatexType Environment LatexName authorgroup - LatexParam author -End - - -Style FirstName - Margin Static - LatexType Paragraph - LatexName firstname - ParIndent MM - ParSkip 0.4 - Align Center - AlignPossible Center - LabelType No_Label -End - - -Style Surname - Margin Static - LatexType Paragraph - LatexName surname - ParIndent MM - ParSkip 0.4 - Align Center - AlignPossible Center - LabelType No_Label -End - - -Style Date - LatexType Paragraph - LatexName date - Align Left - AlignPossible Left,Center + # TODO: missing a DocBookInnerTag to be valid (authorgroup > author > personname). + DocBookTag author + DocBookTagType paragraph + DocBookInnerTag personname + DocBookInnerTagType inline + DocBookWrapperTag authorgroup + DocBookWrapperTagType paragraph End @@ -68,7 +28,8 @@ Style RevisionHistory Margin Static LatexType Command LatexName revhistory - LatexParam "3|!-- --" + CommandDepth 3 + InnerTag "!-- --" LeftMargin MMM RightMargin MMM ParIndent MM @@ -76,11 +37,12 @@ Style RevisionHistory BottomSep 0 ParSep 0 Align Block - AlignPossible Block KeepEmpty 1 - LabelType Centered_Top_Environment + LabelType Centered LabelString "Revision History" LabelBottomSep 0.5 + DocBookTag revhistory + DocBookTagType paragraph End @@ -88,14 +50,16 @@ 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 + DocBookTag revision + DocBookTagType paragraph End @@ -111,6 +75,16 @@ Style RevisionRemark BottomSep 0.0 ParSep 1 Align Block - AlignPossible Block LabelType No_Label + DocBookTag revremark + DocBookTagType paragraph +End + + +Style FirstName + ObsoletedBy Standard +End + +Style Surname + ObsoletedBy Standard End