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.
This commit is contained in:
Richard Heck 2013-05-10 13:17:47 -04:00
parent 6cfa7feb6d
commit b9f48eb945
12 changed files with 6 additions and 41 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

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

View File

@ -226,7 +226,7 @@ Style Part
LabelFont LabelFont
Color Latex Color Latex
EndFont EndFont
TocLevel 0 TocLevel -1
End End
Style Section Style Section

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

@ -56,7 +56,6 @@ Style Part
LabelString "Short Title|S" LabelString "Short Title|S"
Tooltip "The part as it appears in the table of contents/running headers" Tooltip "The part as it appears in the table of contents/running headers"
EndArgument EndArgument
TocLevel -1
End End
@ -71,7 +70,6 @@ Style Chapter
Tooltip "The chapter as it appears in the running headers" Tooltip "The chapter as it appears in the running headers"
Requires 1 Requires 1
EndArgument EndArgument
TocLevel 0
End End
@ -93,7 +91,6 @@ Style Section
Tooltip "The section as it appears in the running headers" Tooltip "The section as it appears in the running headers"
Requires 1 Requires 1
EndArgument EndArgument
TocLevel 1
End End
@ -107,7 +104,6 @@ Style Subsection
Tooltip "The subsection as it appears in the running headers" Tooltip "The subsection as it appears in the running headers"
Requires 1 Requires 1
EndArgument EndArgument
TocLevel 2
End End
@ -121,7 +117,6 @@ Style Subsubsection
Tooltip "The subsubsection as it appears in the running headers" Tooltip "The subsubsection as it appears in the running headers"
Requires 1 Requires 1
EndArgument EndArgument
TocLevel 3
End End
@ -135,7 +130,6 @@ Style Paragraph
Tooltip "The paragraph as it appears in the running headers" Tooltip "The paragraph as it appears in the running headers"
Requires 1 Requires 1
EndArgument EndArgument
TocLevel 4
End End
@ -149,7 +143,6 @@ Style Subparagraph
Tooltip "The subparagraph as it appears in the running headers" Tooltip "The subparagraph as it appears in the running headers"
Requires 1 Requires 1
EndArgument EndArgument
TocLevel 5
End End

View File

@ -9,9 +9,9 @@
Format 45 Format 45
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
@ -29,7 +29,6 @@ Style Part
Font Font
Size Larger Size Larger
EndFont EndFont
TocLevel 0
End End

View File

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

View File

@ -41,7 +41,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

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

View File

@ -54,7 +54,6 @@ Style Part
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 0
End End
@ -67,7 +66,6 @@ Style Chapter
Family Sans Family Sans
Size Largest Size Largest
EndFont EndFont
TocLevel 0
End End
@ -76,7 +74,6 @@ Style Section
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 1
End End
@ -85,7 +82,6 @@ Style Subsection
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 2
End End
@ -94,7 +90,6 @@ Style Subsubsection
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 3
End End
@ -103,7 +98,6 @@ Style Paragraph
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 4
End End
@ -113,7 +107,6 @@ Style Subparagraph
Font Font
Family Sans Family Sans
EndFont EndFont
TocLevel 5
End End
Input stdstarsections.inc Input stdstarsections.inc

View File

@ -14,7 +14,7 @@ Style Part
Margin Dynamic Margin Dynamic
LabelString "Part \thepart" LabelString "Part \thepart"
LabelType Static LabelType Static
TocLevel 0 TocLevel -1
LabelCounter part LabelCounter part
LatexType Command LatexType Command
LatexName part LatexName part

View File

@ -24,7 +24,7 @@ Style Part
Category Sectioning Category Sectioning
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