Fix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then

some of the files that include it redefine chapter by cut-and-paste from
stdsections.inc. Not very clean. So now svnjour.inc doesn't do this, and
the journal files that include it declare "NoStyle Chapter" themselves. This
also allows some simplification of the sv book classes.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37565 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-02-08 23:02:13 +00:00
parent b6340b83c4
commit 6b35c79b40
7 changed files with 13 additions and 56 deletions

View File

@ -18,8 +18,11 @@
# see www.springer.de/author/tex/help-journals.html for class files
#
# The standard Springer Journal sections
Format 33
Input svjour.inc
NoStyle Chapter
NoCounter chapter
ClassOptions
Other global

View File

@ -16,6 +16,9 @@
Format 33
Input svjour.inc
NoStyle Chapter
NoCounter chapter
NoStyle Acknowledgement
NoStyle Headnote
NoStyle Dedication

View File

@ -24,7 +24,8 @@
Format 33
Input svjour.inc
NoStyle Chapter
NoCounter chapter
ClassOptions
Other jog

View File

@ -48,8 +48,6 @@ Input stdtitle.inc
NoStyle Part
NoCounter part
NoStyle Part*
NoStyle Chapter
NoCounter chapter
NoStyle Chapter*
NoStyle Subparagraph
NoCounter subparagraph

View File

@ -99,37 +99,11 @@ Style Part*
End
Style Chapter
Margin Static
Category Section
LabelString "Chapter \thechapter"
LabelStringAppendix "Appendix \thechapter"
LabelType Counter
LabelCounter chapter
TocLevel 0
LatexType Command
LatexName chapter
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 4
BottomSep 0.8
ParSep 0.8
Align Left
OptionalArgs 1
Font
Series Bold
Size Huge
EndFont
End
Style Chapter*
CopyStyle Chapter
Category Unnumbered
Margin Static
LatexName chapter*
LabelType No_Label
LabelCounter ""
OptionalArgs 0
Align Left
End
Style Preface

View File

@ -242,37 +242,13 @@ Style Part*
End
Style Chapter
Margin Static
Category "For editors"
LabelString "Chapter \thechapter"
LabelStringAppendix "Appendix \thechapter"
LabelType Counter
LabelCounter chapter
TocLevel 0
LatexType Command
LatexName chapter
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
TopSep 4
BottomSep 0.8
ParSep 0.8
Align Left
OptionalArgs 1
Font
Series Bold
Size Huge
EndFont
Align Left
End
Style Chapter*
CopyStyle Chapter
Category "For editors"
Margin Static
LatexName chapter*
LabelType No_Label
LabelCounter ""
OptionalArgs 0
Align Left
End
InsetLayout Inst

View File

@ -26,6 +26,8 @@
Format 33
Input svjour.inc
NoStyle Chapter
NoCounter chapter
ClassOptions
Other probth