Fix bug #8666. Parts should have toclevel -1.

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 b9f48eb945)

Conflicts:

	lib/layouts/beamer.layout
	lib/layouts/memoir.layout
	lib/layouts/scrartcl.layout
	lib/layouts/stdsections.inc
This commit is contained in:
Richard Heck 2013-05-10 13:17:47 -04:00
parent e1610a86c4
commit 4492a4a0f1
12 changed files with 8 additions and 40 deletions

View File

@ -15,7 +15,6 @@ Style Part
InnerTag head InnerTag head
LabelTag label LabelTag label
CommandDepth 0 CommandDepth 0
TocLevel 0
End End
@ -25,7 +24,6 @@ Style Chapter
InnerTag head InnerTag head
LabelTag label LabelTag label
CommandDepth 1 CommandDepth 1
TocLevel 0
End End
@ -36,7 +34,6 @@ Style Section
LabelTag label LabelTag label
CommandDepth 2 CommandDepth 2
LatexParam "id=<s#>" LatexParam "id=<s#>"
TocLevel 1
End End
@ -47,7 +44,6 @@ Style Subsection
LabelTag label LabelTag label
CommandDepth 3 CommandDepth 3
LatexParam "id=<s#>" LatexParam "id=<s#>"
TocLevel 2
End End
@ -58,7 +54,6 @@ Style Subsubsection
LabelTag label LabelTag label
CommandDepth 4 CommandDepth 4
LatexParam "id=<s#>" LatexParam "id=<s#>"
TocLevel 3
End End
@ -69,7 +64,6 @@ Style Paragraph
LabelTag label LabelTag label
CommandDepth 5 CommandDepth 5
LatexParam "id=<s#>" LatexParam "id=<s#>"
TocLevel 4
End End
@ -80,7 +74,6 @@ Style Subparagraph
LabelTag label LabelTag label
CommandDepth 6 CommandDepth 6
LatexParam "id=<s#>" LatexParam "id=<s#>"
TocLevel 5
End End
Style Subsubparagraph Style Subsubparagraph

View File

@ -24,7 +24,6 @@ Style Part
Font Font
Size Larger Size Larger
EndFont EndFont
TocLevel 0
End End

View File

@ -134,7 +134,7 @@ Style Part
LabelFont LabelFont
Color Latex Color Latex
EndFont EndFont
TocLevel 0 TocLevel -1
End End
# Section style definition # Section style definition

View File

@ -14,7 +14,6 @@ Style Part
LatexName part LatexName part
InnerTag "title" InnerTag "title"
CommandDepth 0 CommandDepth 0
TocLevel 0
End End
@ -23,7 +22,6 @@ Style Chapter
LatexName chapter LatexName chapter
InnerTag "title" InnerTag "title"
CommandDepth 1 CommandDepth 1
TocLevel 0
End End
@ -32,7 +30,6 @@ Style Section
LatexName sect1 LatexName sect1
InnerTag "title" InnerTag "title"
CommandDepth 2 CommandDepth 2
TocLevel 1
End End
@ -41,7 +38,6 @@ Style Subsection
LatexName sect2 LatexName sect2
InnerTag "title" InnerTag "title"
CommandDepth 3 CommandDepth 3
TocLevel 2
End End
@ -50,7 +46,6 @@ Style Subsubsection
LatexName sect3 LatexName sect3
InnerTag "title" InnerTag "title"
CommandDepth 4 CommandDepth 4
TocLevel 3
End End
@ -59,7 +54,6 @@ Style Paragraph
LatexName sect4 LatexName sect4
InnerTag "title" InnerTag "title"
CommandDepth 5 CommandDepth 5
TocLevel 4
End End
@ -68,6 +62,5 @@ Style Subparagraph
LatexName sect5 LatexName sect5
InnerTag "title" InnerTag "title"
CommandDepth 6 CommandDepth 6
TocLevel 5
End End

View File

@ -51,14 +51,12 @@ Input numreport.inc
Style Part Style Part
OptionalArgs 1 OptionalArgs 1
TocLevel -1
End End
Style Chapter Style Chapter
OptionalArgs 2 OptionalArgs 2
TocLevel 0
End End
@ -69,31 +67,26 @@ End
Style Section Style Section
OptionalArgs 2 OptionalArgs 2
TocLevel 1
End End
Style Subsection Style Subsection
OptionalArgs 2 OptionalArgs 2
TocLevel 2
End End
Style Subsubsection Style Subsubsection
OptionalArgs 2 OptionalArgs 2
TocLevel 3
End End
Style Paragraph Style Paragraph
OptionalArgs 2 OptionalArgs 2
TocLevel 4
End End
Style Subparagraph Style Subparagraph
OptionalArgs 2 OptionalArgs 2
TocLevel 5
End End

View File

@ -8,9 +8,9 @@
Format 35 Format 35
Input stdclass.inc Input stdclass.inc
NoStyle Chapter NoStyle Chapter
NoCounter chapter NoCounter chapter
NoStyle Chapter* NoStyle Chapter*
SecNumDepth 3 SecNumDepth 3
TocDepth 3 TocDepth 3
@ -28,7 +28,6 @@ Style Part
Font Font
Size Larger Size Larger
EndFont EndFont
TocLevel 0
End End

View File

@ -3,10 +3,6 @@
Format 35 Format 35
Style Part
TocLevel -1
End
Counter chapter Counter chapter
Within "" Within ""
LabelString "\arabic{chapter}" LabelString "\arabic{chapter}"

View File

@ -39,7 +39,7 @@ Input stdciteformats.inc
# There are no chapters in a paper. # There are no chapters in a paper.
NoStyle Chapter NoStyle Chapter
NoCounter chapter NoCounter chapter
NoStyle Chapter* NoStyle Chapter*
# All the section headings now use sans serif # All the section headings now use sans serif

View File

@ -25,7 +25,6 @@ Style Part
Font Font
Size Larger Size Larger
EndFont EndFont
TocLevel 0
End End
Style Part* Style Part*

View File

@ -52,7 +52,6 @@ Style Part
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 0
End End
@ -61,7 +60,6 @@ Style Chapter
Family Sans Family Sans
Size Largest Size Largest
EndFont EndFont
TocLevel 0
End End
@ -69,7 +67,6 @@ Style Section
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 1
End End
@ -77,7 +74,6 @@ Style Subsection
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 2
End End
@ -85,7 +81,6 @@ Style Subsubsection
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 3
End End
@ -93,7 +88,6 @@ Style Paragraph
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 4
End End
@ -102,7 +96,6 @@ Style Subparagraph
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 5
End End
Input stdstarsections.inc Input stdstarsections.inc

View File

@ -23,7 +23,7 @@ Style Part
Category Section Category Section
Margin Dynamic Margin Dynamic
LabelType No_Label LabelType No_Label
TocLevel 0 TocLevel -1
LatexType Command LatexType Command
LatexName part LatexName part
NeedProtect 1 NeedProtect 1

View File

@ -63,8 +63,11 @@ What's new
- Fix activation of branches from command line (bug 8627). - 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. - Handle correctly undo when a branch is (de)activated.
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION