]> git.lyx.org Git - features.git/commitdiff
Fix bug #8666. Parts should have toclevel -1.
authorRichard Heck <rgheck@lyx.org>
Fri, 10 May 2013 17:17:47 +0000 (13:17 -0400)
committerRichard Heck <rgheck@lyx.org>
Fri, 10 May 2013 17:19:38 +0000 (13:19 -0400)
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.

12 files changed:
lib/layouts/agu_stdsections.inc
lib/layouts/article.layout
lib/layouts/beamer.layout
lib/layouts/db_stdsections.inc
lib/layouts/memoir.layout
lib/layouts/mwart.layout
lib/layouts/numreport.inc
lib/layouts/paper.layout
lib/layouts/scrartcl.layout
lib/layouts/scrclass.inc
lib/layouts/stdsections.inc
lib/layouts/tufte-handout.layout

index 7ac0e91676c631820f18de709a3614d8e10c48f9..38a8106b7fe91389686f252c948f7db182634bc6 100644 (file)
@@ -15,7 +15,6 @@ Style Part
        InnerTag              head
        LabelTag              label
        CommandDepth          0
-       TocLevel 0
 End
 
 
@@ -25,7 +24,6 @@ Style Chapter
        InnerTag              head
        LabelTag              label
        CommandDepth          1
-       TocLevel 0
 End
 
 
@@ -36,7 +34,6 @@ Style Section
        LabelTag              label
        CommandDepth          2
        LatexParam            "id=<s#>"
-       TocLevel 1
 End
 
 
@@ -47,7 +44,6 @@ Style Subsection
        LabelTag              label
        CommandDepth          3
        LatexParam            "id=<s#>"
-       TocLevel 2
 End
 
 
@@ -58,7 +54,6 @@ Style Subsubsection
        LabelTag              label
        CommandDepth          4
        LatexParam            "id=<s#>"
-       TocLevel 3
 End
 
 
@@ -69,7 +64,6 @@ Style Paragraph
        LabelTag              label
        CommandDepth          5
        LatexParam            "id=<s#>"
-       TocLevel 4
 End
 
 
@@ -80,7 +74,6 @@ Style Subparagraph
        LabelTag              label
        CommandDepth          6
        LatexParam            "id=<s#>"
-       TocLevel 5
 End
 
 Style Subsubparagraph
index 06da371e77398b9735195145173a834c9ac60720..0b2b36d9f94a97d0ec733eba712abf273e786beb 100644 (file)
@@ -25,7 +25,6 @@ Style Part
        Font
          Size                Larger
        EndFont
-       TocLevel 0
 End
 
 
index 6e0be1b64cc08b73d7a3c020a831c58416fd984b..2c0ff8b5e17fca7e8e467b7093b9c32a0a62e0ab 100644 (file)
@@ -226,7 +226,7 @@ Style Part
   LabelFont
     Color          Latex
   EndFont
-  TocLevel         0
+  TocLevel         -1
 End
 
 Style Section
index c5ec507bdb9f2ac2b0e17ebb252aa2154447494b..d78b8540f9d0f9d9d24d1d2a0d3c775289371fb1 100644 (file)
@@ -14,7 +14,6 @@ Style Part
        LatexName             part
        InnerTag              "title"
        CommandDepth          0
-       TocLevel 0
 End
 
 
@@ -23,7 +22,6 @@ Style Chapter
        LatexName             chapter
        InnerTag              "title"
        CommandDepth          1
-       TocLevel 0
 End
 
 
@@ -32,7 +30,6 @@ Style Section
        LatexName             sect1
        InnerTag              "title"
        CommandDepth          2
-       TocLevel 1
 End
 
 
@@ -41,7 +38,6 @@ Style Subsection
        LatexName             sect2
        InnerTag              "title"
        CommandDepth          3
-       TocLevel 2
 End
 
 
@@ -50,7 +46,6 @@ Style Subsubsection
        LatexName             sect3
        InnerTag              "title"
        CommandDepth          4
-       TocLevel 3
 End
 
 
@@ -59,7 +54,6 @@ Style Paragraph
        LatexName             sect4
        InnerTag              "title"
        CommandDepth          5
-       TocLevel 4
 End
 
 
@@ -68,6 +62,5 @@ Style Subparagraph
        LatexName             sect5
        InnerTag              "title"
        CommandDepth          6
-       TocLevel 5
 End
 
index 28b690337e6430966c71301c54ea9aaded0d2c71..4034adaafc5a9488616892a464501df5facd1db8 100644 (file)
@@ -56,7 +56,6 @@ Style Part
                LabelString   "Short Title|S"
                Tooltip       "The part as it appears in the table of contents/running headers"
        EndArgument
-       TocLevel             -1
 End
        
 
@@ -71,7 +70,6 @@ Style Chapter
                Tooltip       "The chapter as it appears in the running headers"
                Requires      1
        EndArgument
-       TocLevel             0
 End
 
 
@@ -93,7 +91,6 @@ Style Section
                Tooltip       "The section as it appears in the running headers"
                Requires      1
        EndArgument
-       TocLevel 1
 End
 
 
@@ -107,7 +104,6 @@ Style Subsection
                Tooltip       "The subsection as it appears in the running headers"
                Requires      1
        EndArgument
-       TocLevel 2
 End
 
 
@@ -121,7 +117,6 @@ Style Subsubsection
                Tooltip       "The subsubsection as it appears in the running headers"
                Requires      1
        EndArgument
-       TocLevel 3
 End
 
 
@@ -135,7 +130,6 @@ Style Paragraph
                Tooltip       "The paragraph as it appears in the running headers"
                Requires      1
        EndArgument
-       TocLevel 4
 End
 
 
@@ -149,7 +143,6 @@ Style Subparagraph
                Tooltip       "The subparagraph as it appears in the running headers"
                Requires      1
        EndArgument
-       TocLevel 5
 End
 
 
index b5bf8e2aa49cef895f1ecb4fba52ea53bfc05deb..2ddaf355cc9698bfe3df20cdab6c3b446997626c 100644 (file)
@@ -9,9 +9,9 @@
 Format 45
 Input stdclass.inc
 
-NoStyle Chapter
+NoStyle   Chapter
 NoCounter chapter
-NoStyle Chapter*
+NoStyle   Chapter*
 
 SecNumDepth             3
 TocDepth                3
@@ -29,7 +29,6 @@ Style Part
        Font
          Size                Larger
        EndFont
-       TocLevel 0
 End
 
 
index c88fab8fbc3d81d3568e4030d9c32f7fe41bb76b..08fc0629654f4a92aaa682a5f09fe115c3d4ee90 100644 (file)
@@ -3,10 +3,6 @@
 
 Format 45
 
-Style Part
-       TocLevel              -1
-End
-
 Counter chapter
        Within                ""
        LabelString           "\arabic{chapter}"
index ac003d8f6682f89ead0f0bead664bd64c3d7ff42..160a9bae2b39dbe709abf259529da8039445f901 100644 (file)
@@ -41,7 +41,7 @@ Input stdciteformats.inc
 
 # There are no chapters in a paper.
 NoStyle                 Chapter
-NoCounter                 chapter
+NoCounter               chapter
 NoStyle                 Chapter*
 
 # All the section headings now use sans serif
index 3ee87511394091f1584d187b1a99924d2313dac2..403fc907762f1d56227d9f6632c8607108fd3a57 100644 (file)
@@ -26,7 +26,6 @@ Style Part
        Font
          Size          Larger
        EndFont
-       TocLevel        0
 End
 
 Style Part*
index 670bb95845b3dd10e4848a67458c56f556a436fe..f8fbde53b1beb9bd054da6c690b2a0966ab48ede 100644 (file)
@@ -54,7 +54,6 @@ Style Part
        Font
          Family              Sans
        EndFont
-       TocLevel 0
 End
 
 
@@ -67,7 +66,6 @@ Style Chapter
          Family              Sans
          Size                Largest
        EndFont
-       TocLevel 0
 End
 
 
@@ -76,7 +74,6 @@ Style Section
        Font
          Family              Sans
        EndFont
-       TocLevel 1
 End
 
 
@@ -85,7 +82,6 @@ Style Subsection
        Font
          Family              Sans
        EndFont
-       TocLevel 2
 End
 
 
@@ -94,7 +90,6 @@ Style Subsubsection
        Font
          Family              Sans
        EndFont
-       TocLevel 3
 End
 
 
@@ -103,7 +98,6 @@ Style Paragraph
        Font
          Family              Sans
        EndFont
-       TocLevel 4
 End
 
 
@@ -113,7 +107,6 @@ Style Subparagraph
        Font
          Family              Sans
        EndFont
-       TocLevel 5
 End
 
 Input stdstarsections.inc
index 12d68e38dc31d5e67e8e897123e792c9a3677f5f..3b330c215810004b8fe796a19ae46ecefbea966e 100644 (file)
@@ -14,7 +14,7 @@ Style Part
        Margin                Dynamic
        LabelString           "Part \thepart"
        LabelType             Static
-       TocLevel              0
+       TocLevel              -1
        LabelCounter          part
        LatexType             Command
        LatexName             part
index 2cf3abd323c75205f98ed604f69b1db62f0ecb60..d456736c9e9ac592b44b7db2b08bbd463f56134d 100644 (file)
@@ -24,7 +24,7 @@ Style Part
        Category        Sectioning
        Margin          Dynamic
        LabelType       No_Label
-       TocLevel        0
+       TocLevel        -1
        LatexType       Command
        LatexName       part
        NeedProtect     1