]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/svcommon.inc
Revert "Update layouts"
[lyx.git] / lib / layouts / svcommon.inc
index 426b5e3b84d59aef487e3c23291dfec974b59bb0..72941773762122804a79e84e14c2c8bf6dc5ca0e 100644 (file)
@@ -19,7 +19,7 @@
 # see http://www.springer.com/authors for class files and further instructions
 
 
-Format 85
+Format 104
 PageStyle              Plain
 
 
@@ -91,7 +91,7 @@ Style Front_Matter
          Family        Sans
          Series        Bold
          Size          Largest
-         Color         Blue
+         Color         textlabel1
        EndFont
 End
 
@@ -115,6 +115,7 @@ Style Part
        DocBookTag            title
        DocBookTagType        paragraph
        DocBookSectionTag     part
+       DocBookInInfo         maybe
        DocBookForceAbstractTag partintro
 End
 
@@ -147,21 +148,28 @@ Style PartBacktext
        Argument 1
          Mandatory     1
          LabelString   "Part Title"
-         Tooltip       "Title of this part"
+         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
+       TocLevel 0
 End
 
 Style ChapSubtitle
@@ -191,7 +199,6 @@ Style ChapAuthor
        DocBookTag            personname
        DocBookTagType        paragraph
        DocBookWrapperTag     author
-       DocBookWrapperTagType inline
        DocBookInInfo         always
 End
 
@@ -357,6 +364,8 @@ Style Subtitle
          Size          Large
        EndFont
        DocBookTag            subtitle
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 Style Author
@@ -384,10 +393,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
@@ -411,7 +425,7 @@ Style TOC_Title
        LabelString     "TOC title:"
        LabelFont
          Family        Typewriter
-         Color         Blue
+         Color         textlabel1
        EndFont  
 End
 
@@ -426,12 +440,21 @@ 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
@@ -440,12 +463,19 @@ Style Running_Chapter
        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
@@ -480,10 +510,10 @@ Style Abstract*
        LatexName       abstract*
        LabelString     "Abstract* (not printed)"
        LabelFont
-         Color         Blue
+         Color         textlabel1
        EndFont
        TextFont        
-         Color         Blue
+         Color         textlabel1
        EndFont
        DocBookAbstract       true
        DocBookInInfo         always
@@ -541,6 +571,7 @@ Style Dedication
        DocBookWrapperTag      dedication
        DocBookWrapperTagType  block
        DocBookWrapperMergeWithPrevious    true
+       DocBookInInfo          never
 End
 
 Style Foreword
@@ -567,12 +598,10 @@ Style Foreword
          Series        Bold
          Size          Huge
        EndFont
-       HTMLTag         h1
-       DocBookTag             para
+       DocBookTag             title
        DocBookTagType         paragraph
-       DocBookWrapperTag      preface
-       DocBookWrapperTagType  block
-       DocBookWrapperMergeWithPrevious    true
+       DocBookSection         true
+       DocBookSectionTag      preface
 End
 
 Style Preface
@@ -587,9 +616,13 @@ Style Preface
        LabelString     "Preface"
        LabelSep        xx
        Align           Left
+       DocBookTag             title
+       DocBookTagType         paragraph
+       DocBookSection         true
+       DocBookSectionTag      preface
 End
 
-Style Acknowledgement
+Style Acknowledgment
        Category        BackMatter
        Margin          First_Dynamic
        LatexType       Environment
@@ -604,7 +637,7 @@ Style Acknowledgement
        Align           Block
        AlignPossible   Block, Left
        LabelType       Static
-       LabelString     "Acknowledgements"
+       LabelString     "Acknowledgments"
        Font
          Size          Small
        EndFont
@@ -613,10 +646,12 @@ Style Acknowledgement
          Shape         Up
          Size          Small
        EndFont
+       DocBookTag  para
+       DocBookWrapperTag  acknowledgements
 End
 
-Style Acknowledgements
-       CopyStyle       Acknowledgement
+Style Acknowledgments
+       CopyStyle       Acknowledgment
        LatexName       acknowledgements
 End