X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fdb_stdtitle.inc;h=c8fbb2e9d2c84359f73e5005729f4f819423412a;hb=69a6c41b9417c0f069f4eeae2b0f2e932ee39be4;hp=e42b42fbb23647e7e1d1be19fa21763fe79873ab;hpb=e7ac80f17d7012e1853d95761217106d5e20e508;p=lyx.git diff --git a/lib/layouts/db_stdtitle.inc b/lib/layouts/db_stdtitle.inc index e42b42fbb2..c8fbb2e9d2 100644 --- a/lib/layouts/db_stdtitle.inc +++ b/lib/layouts/db_stdtitle.inc @@ -1,115 +1,90 @@ # Textclass definition file for docbook. -# Author : José Abílio Oliveira Matos - -# 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 +# 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 96 Input stdtitle.inc -# Title style definition -Style Title - LatexType Command - LatexName artheader - LatexParam "2|" -End -# Author style definition -Style Author - LatexType Environment - LatexName author - KeepEmpty 1 -End - -# Authorgroup Style Authorgroup - CopyStyle Author - LatexType Environment - LatexName authorgroup - LatexParam author + 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 -# 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 +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 -# Date style definition -Style Date - LatexType Paragraph - LatexName date + +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 -# Revision History style definition -Style RevisionHistory - Margin Static - LatexType Command - LatexName revhistory - LatexParam "3|!-- --" - LeftMargin MMM - RightMargin MMM - ParIndent MM - TopSep 0.7 - BottomSep 0 - ParSep 0 - Align Block - AlignPossible Block - KeepEmpty 1 - LabelType Centered_Top_Environment - LabelString "Revision History" - LabelBottomSep 0.5 - + +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 -# Revision style definition -Style Revision - Margin Dynamic - LatexType Command - LatexName revision - LatexParam "4|revnumber" - LabelSep xxx - ParSkip 0.4 - TopSep 0.9 - BottomSep 0.5 - ParSep 0.5 - Align Block - AlignPossible Block - + +Style FirstName + ObsoletedBy Standard End -# RevisionRemark style definition -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 - AlignPossible Block - LabelType No_Label - +Style Surname + ObsoletedBy Standard End