Move the Provides directives out of the amsdefs.inc file and into the class

files that include it, as JMarc suggested a long time ago:
  http://www.mail-archive.com/lyx-users@lists.lyx.org/msg64582.html
If someone who knows siamltex could check that, then that would be great.
Functionality is unchanged, but it may be it shouldn't be.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37745 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-02-20 20:37:25 +00:00
parent a750126b54
commit 49d8afd21c
4 changed files with 80 additions and 81 deletions

View File

@ -11,10 +11,13 @@
# Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
Format 33
Columns 1
Sides 2
PageStyle Headers
Provides amsmath 1
Provides makeidx 1
ClassOptions
FontSize 8|9|10|11|12
@ -25,15 +28,15 @@ DefaultModule eqs-within-sections
DefaultModule figs-within-sections
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdfloats.inc
@ -46,68 +49,65 @@ Input stdlayouts.inc
Input stdlists.inc
Input amsdefs.inc
NoStyle Chapter
NoCounter chapter
NoStyle Paragraph
NoCounter paragraph
NoStyle Subparagraph
NoCounter subparagraph
NoStyle Chapter*
#NoStyle Paragraph*
#NoStyle Subparagraph*
NoStyle Chapter
NoCounter chapter
NoStyle Paragraph
NoCounter paragraph
NoStyle Subparagraph
NoCounter subparagraph
NoStyle Chapter*
NoStyle Verse # Although mathematicians tend to be poets at times,
# we don't need this.
Style Section
Align Center
Align Center
Font
Series Medium
Shape Smallcaps
Size Normal
Series Medium
Shape Smallcaps
Size Normal
EndFont
TocLevel 1
End
Style Section*
Align Center
Align Center
Font
Series Medium
Shape Smallcaps
Size Large
Series Medium
Shape Smallcaps
Size Large
EndFont
End
Style SpecialSection
CopyStyle Section
LatexName specialsection
CopyStyle Section
LatexName specialsection
Font
Shape Up
Shape Up
EndFont
End
Style SpecialSection*
CopyStyle SpecialSection
Category Unnumbered
LatexName specialsection*
Margin Static
LabelType No_Label
LabelCounter ""
OptionalArgs 0
CopyStyle SpecialSection
Category Unnumbered
LatexName specialsection*
Margin Static
LabelType No_Label
LabelCounter ""
OptionalArgs 0
End
Style Subsection
Font
Series Bold
Size Normal
Series Bold
Size Normal
EndFont
LabelFont
Series Medium
Series Medium
EndFont
TocLevel 2
End
@ -115,20 +115,20 @@ End
Style Subsection*
Font
Series Bold
Size Normal
Series Bold
Size Normal
EndFont
LabelFont
Series Medium
Series Medium
EndFont
End
Style Subsubsection
Font
Shape Italic
Series Medium
Size Normal
Shape Italic
Series Medium
Size Normal
EndFont
TocLevel 3
End
@ -136,8 +136,8 @@ End
Style Subsubsection*
Font
Shape Italic
Series Medium
Size Normal
Shape Italic
Series Medium
Size Normal
EndFont
End

View File

@ -12,10 +12,13 @@
Format 33
Columns 1
Sides 2
PageStyle Headers
Provides amsmath 1
Provides makeidx 1
ClassOptions
FontSize 8|9|10|11|12
@ -26,15 +29,15 @@ DefaultModule eqs-within-sections
DefaultModule figs-within-sections
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
@ -49,10 +52,10 @@ Input numreport.inc
Style Section
Align Center
Align Center
Font
Series Bold
Size Large
Series Bold
Size Large
EndFont
TocLevel 1
End
@ -60,8 +63,8 @@ End
Style Subsection
Font
Series Bold
Size Normal
Series Bold
Size Normal
EndFont
TocLevel 2
End
@ -69,37 +72,35 @@ End
Style Subsubsection
Font
Shape Italic
Size Normal
Shape Italic
Size Normal
EndFont
TocLevel 3
End
Input stdstarsections.inc
Style Section*
Align Center
Align Center
Font
Series Bold
Size Large
Series Bold
Size Large
EndFont
End
Style Subsection*
Font
Series Bold
Size Normal
Series Bold
Size Normal
EndFont
End
Style Subsubsection*
Font
Shape Italic
Size Normal
Shape Italic
Size Normal
EndFont
End
@ -125,7 +126,7 @@ NoStyle Verse
Style Paragraph
Font
Series Medium
Series Medium
EndFont
TocLevel 4
End

View File

@ -7,12 +7,6 @@
# Including the maths stuff
Format 33
# The AMS documentclasses use the package amsmath and provide the
# functionality of makeidx.sty.
Provides amsmath 1
Provides makeidx 1
# the environments copied from the old amsart.layout are:
# - Bibliography
# - Title

View File

@ -17,6 +17,10 @@ PageStyle Headers
Provides makeidx 1
Provides amsthm 1
# It is unclear at this point whether these are correct. It is how it
# was, though, before these got moved out of amsdefs.inc.
Provides amsmath 1
Provides makeidx 1
ClassOptions
FontSize 8|9|10|11|12