]> 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:27:47 +0000 (13:27 -0400)
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.

(cherry picked from commit b9f48eb945028d835ee93936a48b5fe611c6e4f9)

Conflicts:

lib/layouts/beamer.layout
lib/layouts/memoir.layout
lib/layouts/scrartcl.layout
lib/layouts/stdsections.inc

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/tufte-handout.layout
status.20x

index 30f6adb9a13b3f9d054291f93e262fd737d97ba4..89541f4e1f6134ba21eaa29671ccf5f309ebe7eb 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 b3d7fea05e2004272203784856409e28c2eae955..bd3d035593df934a80008058103ae18177eee4e6 100644 (file)
@@ -24,7 +24,6 @@ Style Part
        Font
          Size                Larger
        EndFont
-       TocLevel 0
 End
 
 
index 28c52849904a7ab9502135518b2963bd6ff91a22..08ba18548c9a4dab8c1df53ced1f7478004c0196 100644 (file)
@@ -134,7 +134,7 @@ Style Part
   LabelFont
     Color          Latex
   EndFont
-       TocLevel 0
+  TocLevel         -1
 End
 
 # Section style definition
index 4b0b27392b73ed40287ce1b27b5b72a1dd25183f..f110f895b65fb6c45073f8e50ad471eeed231b48 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 938cb26e28d9d5b22663afd90fb3978159cf4c0b..e823229444f1cfad65b54c6444a37f3c6b9fcc21 100644 (file)
@@ -51,14 +51,12 @@ Input numreport.inc
 
 Style Part
        OptionalArgs         1
-       TocLevel             -1
 End
        
 
 
 Style Chapter
        OptionalArgs         2
-       TocLevel             0
 End
 
 
@@ -69,31 +67,26 @@ End
 
 Style Section
        OptionalArgs         2
-       TocLevel 1
 End
 
 
 Style Subsection
        OptionalArgs         2
-       TocLevel 2
 End
 
 
 Style Subsubsection
        OptionalArgs         2
-       TocLevel 3
 End
 
 
 Style Paragraph
        OptionalArgs         2
-       TocLevel 4
 End
 
 
 Style Subparagraph
        OptionalArgs         2
-       TocLevel 5
 End
 
 
index bb076f4a09dfb52007782b8125a948b4ecb1c18a..f527d51ee5fa3b9fb66a7d0d80acca1d06efa6b8 100644 (file)
@@ -8,9 +8,9 @@
 Format 35
 Input stdclass.inc
 
-NoStyle Chapter
+NoStyle   Chapter
 NoCounter chapter
-NoStyle Chapter*
+NoStyle   Chapter*
 
 SecNumDepth             3
 TocDepth                3
@@ -28,7 +28,6 @@ Style Part
        Font
          Size                Larger
        EndFont
-       TocLevel 0
 End
 
 
index 005c7a73cc5e3e113bf3864a7685618311414ea5..264cde04909921750aedabf205f6fa75b7ccfb3a 100644 (file)
@@ -3,10 +3,6 @@
 
 Format 35
 
-Style Part
-       TocLevel              -1
-End
-
 Counter chapter
        Within                ""
        LabelString           "\arabic{chapter}"
index 192db97a89f98344b01633d90d1cb71bcedf3409..bd4864e583185537a7c098848ee88844d8eacf11 100644 (file)
@@ -39,7 +39,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 21277a309988b614d6742e016bbfa7bf16fb4730..a0d3d07537416a2727d55148046d74743920687d 100644 (file)
@@ -25,7 +25,6 @@ Style Part
        Font
          Size                Larger
        EndFont
-       TocLevel 0
 End
 
 Style Part*
index 36ac811580a7fc5871dbe83af68b356e0e6b4c81..226fe275fa134c5b01be8b8f97fd6f6208b93f7a 100644 (file)
@@ -52,7 +52,6 @@ Style Part
        Font
          Family              Sans
        EndFont
-       TocLevel 0
 End
 
 
@@ -61,7 +60,6 @@ Style Chapter
          Family              Sans
          Size                Largest
        EndFont
-       TocLevel 0
 End
 
 
@@ -69,7 +67,6 @@ Style Section
        Font
          Family              Sans
        EndFont
-       TocLevel 1
 End
 
 
@@ -77,7 +74,6 @@ Style Subsection
        Font
          Family              Sans
        EndFont
-       TocLevel 2
 End
 
 
@@ -85,7 +81,6 @@ Style Subsubsection
        Font
          Family              Sans
        EndFont
-       TocLevel 3
 End
 
 
@@ -93,7 +88,6 @@ Style Paragraph
        Font
          Family              Sans
        EndFont
-       TocLevel 4
 End
 
 
@@ -102,7 +96,6 @@ Style Subparagraph
        Font
          Family              Sans
        EndFont
-       TocLevel 5
 End
 
 Input stdstarsections.inc
index 8378e29812798e4bc837be820ed92c4a44bd0363..b875dd97cad1377f753ffe885f9d12ca92378711 100644 (file)
@@ -23,7 +23,7 @@ Style Part
        Category        Section
        Margin          Dynamic
        LabelType       No_Label
-       TocLevel        0
+       TocLevel        -1
        LatexType       Command
        LatexName       part
        NeedProtect     1
index aa9cd83bd86a431e08206175828998041cf0aa26..325876d68f986f1bbeef76a37c9116f2230059c2 100644 (file)
@@ -63,8 +63,11 @@ What's new
 
 - Fix activation of branches from command line (bug 8627).
 
+- Fix display of appendix counters in some classes (bug 8666).
+
 - Handle correctly undo when a branch is (de)activated.
 
+
 * DOCUMENTATION AND LOCALIZATION