X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fsvcommon.inc;h=3ef9416dc101862a68a8fa68028b7048f928bfdc;hb=9ca91b25664221978c336527002e66a7d18c95ef;hp=2eb1cfea7bcf049e626f9098e1bd52d7483a19bc;hpb=3b1a026a934e5e20aba4b6e6b9ae5723b153b004;p=features.git diff --git a/lib/layouts/svcommon.inc b/lib/layouts/svcommon.inc index 2eb1cfea7b..3ef9416dc1 100644 --- a/lib/layouts/svcommon.inc +++ b/lib/layouts/svcommon.inc @@ -5,7 +5,7 @@ # Taken from initial LyX source code # Author : Matthias Ettrich # Transposed by Pascal André -# Heavily modified and enhanced by serveral developers. +# Heavily modified and enhanced by several developers. # -------- # ejour2 made originally by Martin Vermeer based on article.layout. # Modified for LyX 1.2 by Jean-Marc Lasgouttes and MV. @@ -19,11 +19,12 @@ # see http://www.springer.com/authors for class files and further instructions -Format 40 +Format 95 PageStyle Plain Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -32,6 +33,7 @@ Style Standard Align Block AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End Input stdcounters.inc @@ -60,6 +62,9 @@ Style Title Family Sans Series Bold EndFont + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End @@ -86,7 +91,7 @@ Style Front_Matter Family Sans Series Bold Size Largest - Color Blue + Color textlabel1 EndFont End @@ -107,16 +112,21 @@ End Style Part Margin Static Align Right + DocBookTag title + DocBookTagType paragraph + DocBookSectionTag part + DocBookInInfo maybe + DocBookForceAbstractTag partintro End ## The following is a variant of style Part. It allows to place some ## text on the following page which would otherwise be blank. Style PartBacktext - Category Section + Category Sectioning Margin First_Dynamic LabelString "Part \thepart" - LabelType Counter + LabelType Static TocLevel 0 LabelCounter part Labelsep xx @@ -136,50 +146,65 @@ Style PartBacktext Size normal EndFont Argument 1 - Mandatory 1 - LabelString "Part Title" - Tooltip "The title of this part" + Mandatory 1 + LabelString "Part Title" + Tooltip "Title of this part" + IsTocCaption 1 + DocBookTag title EndArgument Preamble \newenvironment{svmultpartbacktext}[1]{\begin{partbacktext} \part{#1}}{\end{partbacktext}} EndPreamble HTMLTag h1 + DocBookTag NONE + DocBookSection true + DocBookSectionTag part + # A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement). This ought to be enough for now, even though the document cannot be valid. End Style Chapter Align Left + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe + DocBookSectionTag chapter End Style ChapSubtitle LatexName chapsubtitle LatexType Command - Category Section + Category Sectioning TopSep 0.7 Font Series Bold Shape Up Size large EndFont + DocBookTag subtitle End Style ChapAuthor LatexName chapauthor LatexType Command - Category Section + Category Sectioning TopSep 0.7 Font Series Bold Shape Up Size normal EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookInInfo always End Style ChapMotto LatexName motto LatexType Command - Category Section + Category Sectioning TopSep 0.7 BottomSep 0.7 Align Left @@ -337,6 +362,9 @@ Style Subtitle Font Size Large EndFont + DocBookTag subtitle + DocBookTagType paragraph + DocBookInInfo maybe End Style Author @@ -346,6 +374,11 @@ Style Author Series Bold Shape Italic EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End Style Institute @@ -359,10 +392,15 @@ Style Institute LabelString "Author data:" LabelFont Family Typewriter - Color Blue + Color textlabel1 EndFont Requires url Align Left + # TODO: should rather be merged with the list of authors, but this would require a lot of specific code... + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookInInfo always End Style Date @@ -386,7 +424,7 @@ Style TOC_Title LabelString "TOC title:" LabelFont Family Typewriter - Color Blue + Color textlabel1 EndFont End @@ -401,26 +439,42 @@ Style Running_Title LatexName titlerunning InTitle 1 LabelString "Running title:" + DocBookTag titleabbrev + DocBookTagType paragraph + DocBookInInfo maybe End Style Running_Author CopyStyle Running_Title LatexName authorrunning LabelString "Running author:" + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperAttr role='abbrev' + DocBookWrapperTagType block + DocBookInInfo always End Style Running_Chapter CopyStyle Running_Title - Category Section + Category Sectioning InTitle 0 LatexName chaptermark LabelString "Running chapter:" + DocBookTag titleabbrev + DocBookTagType paragraph + DocBookInInfo maybe + DocBookSection false End Style Running_Section CopyStyle Running_Chapter LatexName sectionmark LabelString "Running section:" + DocBookTag titleabbrev + DocBookTagType paragraph + DocBookInInfo maybe End Style Abstract @@ -442,6 +496,11 @@ Style Abstract ParSep 0 Align Block AlignPossible Block, Left + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para End Style Abstract* @@ -450,11 +509,17 @@ Style Abstract* LatexName abstract* LabelString "Abstract* (not printed)" LabelFont - Color Blue + Color textlabel1 EndFont TextFont - Color Blue + Color textlabel1 EndFont + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperAttr role='not-printed' + DocBookWrapperMergeWithPrevious true + DocBookTag para End Style Keywords @@ -476,6 +541,10 @@ Style Keywords LabelFont Series Bold EndFont + DocBookTag keyword + DocBookTagType paragraph + DocBookWrapperTag keywordset + DocBookInInfo always End Style Dedication @@ -496,6 +565,12 @@ Style Dedication Shape Italic Size large EndFont + DocBookTag para + DocBookTagType paragraph + DocBookWrapperTag dedication + DocBookWrapperTagType block + DocBookWrapperMergeWithPrevious true + DocBookInInfo never End Style Foreword @@ -515,14 +590,17 @@ Style Foreword ParSep 0.8 Align Block Argument 1 - LabelString "Alternative Foreword Heading" - Tooltip "Alternative foreword heading" + LabelString "Alternative Name" + Tooltip "Alternative name" EndArgument Font Series Bold Size Huge EndFont - HTMLTag h1 + DocBookTag title + DocBookTagType paragraph + DocBookSection true + DocBookSectionTag preface End Style Preface @@ -537,6 +615,10 @@ Style Preface LabelString "Preface" LabelSep xx Align Left + DocBookTag title + DocBookTagType paragraph + DocBookSection true + DocBookSectionTag preface End Style Acknowledgement @@ -563,6 +645,8 @@ Style Acknowledgement Shape Up Size Small EndFont + DocBookTag para + DocBookWrapperTag acknowledgements End Style Acknowledgements @@ -576,6 +660,7 @@ Style Bibliography LatexName thebibliography Category BackMatter NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -590,16 +675,34 @@ Style Bibliography LabelFont Series Bold EndFont + TocLevel 0 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End Style Description Argument 1 - LabelString "Longest Description Label" - Tooltip "Longest description label" + LabelString "Longest Description Label" + Tooltip "Longest description label" EndArgument LabelFont Series Medium EndFont + DocBookTag variablelist + DocBookItemWrapperTag varlistentry + DocBookItemTag listitem + DocBookItemInnerTag para + DocBookItemLabelTag term + DocBookItemLabelTagType paragraph End Style Petit @@ -633,7 +736,7 @@ Style Svgraybox End Style Proof - Category Theorem + Category Reasoning LatexType Environment LatexName proof Margin First_Dynamic @@ -647,7 +750,7 @@ Style Proof Shape Italic EndFont LangPreamble - \providecommand{\proofname}{_(Proof)} + \providecommand{\proofname}{_(Proof)} EndLangPreamble BabelPreamble \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}} @@ -659,7 +762,7 @@ Style Proof(QED) LatexName svmultproof EndLabelType Box Preamble - \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}} + \newenvironment{svmultproof}{\begin{proof}}{\qed\end{proof}} EndPreamble End @@ -668,7 +771,7 @@ Style Proof(smartQED) LatexName svmultproof2 EndLabelType Box Preamble - \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}} + \newenvironment{svmultproof2}{\begin{proof}}{\smartqed\qed\end{proof}} EndPreamble End @@ -692,5 +795,6 @@ InsetLayout Flex:Email Color urltext Size Small EndFont + ResetsFont true End