]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/kluwer.layout
Fix bug #10273
[lyx.git] / lib / layouts / kluwer.layout
index 19a8a09df1f5c335a5f44a5887eeca502f11c7ee..af13751e7e5d031b96db97bf584cb9e65e186137 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[kluwer]{article (Kluwer)}
+#  \DeclareLaTeXClass[kluwer]{Kluwer}
+#  \DeclareCategory{Articles}
 # Textclass definition file for kluwer.cls
 # For Kluwer Academic publications:
 # Astrophysics & Space Science, Solar Physics, etc.
@@ -14,7 +15,7 @@
 # 2003-03-03  Updated for lyx 1.3.0.
 
 
-Format 7
+Format 60
 Columns                 1
 Sides                   2
 SecNumDepth             4
@@ -31,6 +32,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -42,16 +44,18 @@ Style Standard
 End
 
 
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdinsets.inc
 Input stdsections.inc
 Input stdstruct.inc
 Input stdlists.inc
-Input stdfloats.inc
-Input stdcounters.inc
 Input stdlayouts.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Part
+NoCounter part
 NoStyle Verse
 
 
@@ -60,6 +64,7 @@ Style Section
        Font
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -69,6 +74,7 @@ Style Subsection
          Size                Normal
          Shape               SmallCaps
        EndFont
+       TocLevel 2
 End
 
 
@@ -78,6 +84,7 @@ Style Subsubsection
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 3
 End
 
 
@@ -87,6 +94,7 @@ Style Paragraph
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 4
 End
 
 
@@ -98,10 +106,12 @@ Style Subparagraph
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 5
 End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -115,6 +125,7 @@ Style Title
        Font
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -155,6 +166,7 @@ End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -291,6 +303,7 @@ End
 
 
 Style Acknowledgements
+       Category              BackMatter
        Margin                Static
        LatexType             Environment
        LatexName             acknowledgements
@@ -300,7 +313,7 @@ Style Acknowledgements
        BottomSep             1
        ParSep                0
        Align                 Block
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Acknowledgements"
        LabelBottomSep        0.5
        LabelFont
@@ -322,7 +335,7 @@ Style Appendix
        ParSep                1
 #  Align                 Block
 #  AlignPossible         Block, Left, Right, Center
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Appendix"
        Font
          Series              Bold
@@ -336,6 +349,7 @@ Style References
        LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0