Update counter containing files to new format.

Actually, not all of these do contain counters, but my grepping 
wasn't sophisticated enough to catch them. Not a big deal....

I don't think there are errors here, but if you see weird
behavior with counters in some file or other, it's possible I missed 
something.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26782 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-10-06 14:58:22 +00:00
parent 0b95498ef4
commit b32b4a545c
24 changed files with 103 additions and 182 deletions

View File

@ -4,32 +4,26 @@
# This include file contains all the counters that are defined as standard
# in AGU-Article LyX layouts.
Format 9
Counter
Name sect1
Format 10
Counter sect1
Within section
End
Counter
Name sect2
Counter sect2
Within sect1
End
Counter
Name sect3
Counter sect3
Within sect2
End
Counter
Name sect4
Counter sect4
Within sect3
End
Counter
Name sect5
Counter sect5
Within sect4
End
Counter
Name p
Counter p
End

View File

@ -6,7 +6,7 @@
# ftp://ftp.agu.org/journals/latex/journals
Format 9
Format 10
Input stdclass.inc
SecNumDepth 4
@ -214,13 +214,11 @@ Style Table_Caption
End
Counter
Name plate
Counter plate
Within none
End
Counter
Name planotable
Counter planotable
Within none
End

View File

@ -10,7 +10,7 @@
# Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
Format 9
Format 10
Columns 1
Sides 2
PageStyle Headers

View File

@ -2,7 +2,7 @@
# \DeclareLaTeXClass[apa,apacite.sty]{article (APA)}
# Author: Randy Gobbel <gobbel@andrew.cmu.edu>
Format 9
Format 10
Columns 1
Sides 1
PageStyle Headers

View File

@ -5,15 +5,14 @@
# $Header: /cvsroot/latex-beamer/latex-beamer/lyx/layouts/beamer.layout,v 1.16 2004/10/07 20:53:07 tantau Exp $
# Includes
Format 9
Format 10
Input stdcounters.inc
Input stdinsets.inc
# local counters
# Is this needed? Could probably go -- MV 16/05/2007
Counter
Name figure
Counter figure
Name lyxframeend{}\section
End

View File

@ -3,7 +3,7 @@
# For theater plays
Format 9
Format 10
Columns 1
Sides 1
SecNumDepth 2
@ -20,13 +20,11 @@ Input stdfloats.inc
Input stdcounters.inc
# Input lyxmacros.inc
Counter
Name act
Counter act
End
Counter
Name scene
Counter scene
End

View File

@ -4,29 +4,24 @@
# This include file contains all the counters that are defined as standard
# in Docbook LyX layouts.
Format 9
Counter
Name sect1
Format 10
Counter sect1
Within chapter
End
Counter
Name sect2
Counter sect2
Within sect1
End
Counter
Name sect3
Counter sect3
Within sect2
End
Counter
Name sect4
Counter sect4
Within sect3
End
Counter
Name sect5
Counter sect5
Within sect4
End

View File

@ -22,7 +22,7 @@
# numbered sections, as does the class file.
Format 9
Format 10
Columns 1
Sides 2
PageStyle headings
@ -36,13 +36,11 @@ End
TitleLatexType Environment
TitleLatexName frontmatter
Counter
Name summ
Counter summ
End
Counter
Name case
Counter case
End
@ -251,8 +249,7 @@ End
# - Acknowledgement
# - Case
Counter
Name theorem
Counter theorem
End

View File

@ -9,7 +9,7 @@
#
# Version 1 2006-04-09 - First version, for LyX 1.4.0.
Format 9
Format 10
Input stdclass.inc
Input numarticle.inc
@ -126,8 +126,7 @@ Style Subsubsection
EndFont
End
Counter
Name definition
Counter definition
End
Style Definition
LatexType Environment
@ -146,8 +145,7 @@ Style Definition
EndFont
End
Counter
Name step
Counter step
End
Style Step
CopyStyle Definition
@ -160,8 +158,7 @@ Style Step
EndFont
End
Counter
Name example
Counter example
End
Style Example
CopyStyle Definition
@ -170,8 +167,7 @@ Style Example
LabelString "Example \theexample."
End
Counter
Name remark
Counter remark
End
Style Remark
CopyStyle Definition
@ -180,8 +176,7 @@ Style Remark
LabelString "Remark \theremark."
End
Counter
Name notation
Counter notation
End
Style Notation
CopyStyle Definition
@ -190,8 +185,7 @@ Style Notation
LabelString "Notation \thenotation."
End
Counter
Name theorem
Counter theorem
End
Style Theorem
LatexType Environment
@ -230,8 +224,7 @@ Style Proof
EndLabelType Box
End
Counter
Name corollary
Counter corollary
End
Style Corollary
CopyStyle Theorem
@ -240,8 +233,7 @@ Style Corollary
LabelString "Corollary \thecorollary."
End
Counter
Name lemma
Counter lemma
End
Style Lemma
CopyStyle Theorem
@ -250,8 +242,7 @@ Style Lemma
LabelString "Lemma \thelemma."
End
Counter
Name proposition
Counter proposition
End
Style Proposition
CopyStyle Theorem
@ -260,8 +251,7 @@ Style Proposition
LabelString "Proposition \theproposition."
End
Counter
Name prop
Counter prop
End
Style Prop
CopyStyle Definition
@ -270,8 +260,7 @@ Style Prop
LabelString "Prop \theprop."
End
Counter
Name question
Counter question
End
Style Question
CopyStyle Definition
@ -280,8 +269,7 @@ Style Question
LabelString "Question \thequestion."
End
Counter
Name claim
Counter claim
End
Style Claim
CopyStyle Theorem
@ -290,8 +278,7 @@ Style Claim
LabelString "Claim \theclaim."
End
Counter
Name conjecture
Counter conjecture
End
Style Conjecture
CopyStyle Theorem
@ -317,8 +304,7 @@ Style Appendices_Section
EndFont
End
Counter
Name appendix
Counter appendix
End
Style Appendix
LatexType Command

View File

@ -12,7 +12,7 @@
# Version 3 2006-04-09 - Updated for LyX 1.4.0; all environments defined by
# ijmpd are now supported by LyX.
Format 9
Format 10
Input stdclass.inc
Input numarticle.inc
@ -122,8 +122,7 @@ Style Subsubsection
EndFont
End
Counter
Name definition
Counter definition
Within section
End
Style Definition
@ -143,8 +142,7 @@ Style Definition
EndFont
End
Counter
Name step
Counter step
End
Style Step
CopyStyle Definition
@ -156,8 +154,7 @@ Style Step
EndFont
End
Counter
Name example
Counter example
Within section
End
Style Example
@ -167,8 +164,7 @@ Style Example
LabelString "Example \theexample."
End
Counter
Name remark
Counter remark
Within section
End
Style Remark
@ -178,8 +174,7 @@ Style Remark
LabelString "Remark \theremark."
End
Counter
Name notation
Counter notation
Within section
End
Style Notation
@ -192,8 +187,7 @@ Style Notation
EndFont
End
Counter
Name theorem
Counter theorem
Within section
End
Style Theorem
@ -230,8 +224,7 @@ Style Proof
EndLabelType Box
End
Counter
Name corollary
Counter corollary
Within section
End
Style Corollary
@ -244,8 +237,7 @@ Style Corollary
EndFont
End
Counter
Name lemma
Counter lemma
Within section
End
Style Lemma
@ -255,8 +247,7 @@ Style Lemma
LabelString "Lemma \thelemma."
End
Counter
Name proposition
Counter proposition
Within section
End
Style Proposition
@ -266,8 +257,7 @@ Style Proposition
LabelString "Proposition \theproposition."
End
Counter
Name prop
Counter prop
Within section
End
Style Prop
@ -277,8 +267,7 @@ Style Prop
LabelString "Prop \theprop."
End
Counter
Name question
Counter question
Within section
End
Style Question
@ -288,8 +277,7 @@ Style Question
LabelString "Question \thequestion."
End
Counter
Name claim
Counter claim
Within section
End
Style Claim
@ -299,8 +287,7 @@ Style Claim
LabelString "Claim \theclaim."
End
Counter
Name conjecture
Counter conjecture
Within section
End
Style Conjecture
@ -327,8 +314,7 @@ Style Appendices_Section
EndFont
End
Counter
Name appendix
Counter appendix
Within section
End
Style Appendix

View File

@ -4,7 +4,7 @@
# Author : José Matos <jamatos@novalis.fc.up.pt>
Format 9
Format 10
Columns 1
Sides 1
PageStyle Plain

View File

@ -1,11 +1,10 @@
# Author : André Pönitz
# This include file contains label definitions for an article-like numbering.
Format 9
Format 10
# appendix applies to sections.
Counter
Name section
Counter section
Within "none"
LabelString "\arabic{section}"
LabelStringAppendix "\Alph{section}"

View File

@ -1,21 +1,19 @@
# Author : André Pönitz
# This include file contains label definitions for a report-like numbering.
Format 9
Format 10
Style Part
TocLevel -1
End
Counter
Name chapter
Counter chapter
Within ""
LabelString "\arabic{chapter}"
LabelStringAppendix "\Alph{chapter}"
End
Counter
Name section
Counter section
Within chapter
LabelString ""
End
@ -37,13 +35,11 @@ Float
NumberWithin chapter
End
Counter
Name listing
Counter listing
Within chapter
End
Counter
Name footnote
Counter footnote
Within chapter
LabelString "\arabic{footnote}"
End

View File

@ -2,7 +2,7 @@
# This include files contains label definitions for a article-like numbering.
Format 9
Format 10
Style Section
LabelType Counter
LabelCounter section

View File

@ -8,7 +8,7 @@
###
# General textclass parameters
###
Format 9
Format 10
Columns 1
Sides 1
Provides url 1
@ -405,37 +405,29 @@ End
###
# Counters definitions
###
Counter
Name enumi
Counter enumi
End
Counter
Name enumii
Counter enumii
Within enumi
End
Counter
Name enumiii
Counter enumiii
Within enumii
End
Counter
Name enumiv
Counter enumiv
Within enumiii
End
Counter
Name bibitem
Counter bibitem
End
Counter
Name figure
Counter figure
End
Counter
Name table
Counter table
End
Counter
Name algorithm
Counter algorithm
End

View File

@ -4,72 +4,57 @@
# in most LyX layouts.
Format 9
Counter
Name part
Format 10
Counter part
LabelString "\Roman{part}"
End
Counter
Name chapter
Counter chapter
End
Counter
Name section
Counter section
Within chapter
End
Counter
Name subsection
Counter subsection
Within section
End
Counter
Name subsubsection
Counter subsubsection
Within subsection
End
Counter
Name paragraph
Counter paragraph
Within subsubsection
End
Counter
Name subparagraph
Counter subparagraph
Within paragraph
End
Counter
Name enumi
Counter enumi
End
Counter
Name enumii
Counter enumii
Within enumi
End
Counter
Name enumiii
Counter enumiii
Within enumii
End
Counter
Name enumiv
Counter enumiv
Within enumiii
End
Counter
Name bibitem
Counter bibitem
End
Counter
Name listing
Counter listing
End
Counter
Name equation
Counter equation
End
Counter
Name footnote
Counter footnote
End

View File

@ -7,7 +7,7 @@
# commands that are useful for article-like document classes, but not
# for letters.
Format 9
Format 10
Style Part
Category Section
Margin Dynamic

View File

@ -9,7 +9,7 @@
# modifying the style of the regular sectioning layouts.
Format 9
Format 10
Style Part*
CopyStyle Part
Category Unnumbered

View File

@ -19,7 +19,7 @@
# - Proof
# - Case (regular only -- defined as an enumeration)
Format 9
Format 10
Style Theorem
Category Theorem

View File

@ -13,12 +13,11 @@
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
Format 9
Format 10
Requires amsmath,amsthm
Counter
Name theorem
Counter theorem
End
AddToPreamble

View File

@ -7,10 +7,9 @@
# Author: Richard Heck <rgheck@comcast.net>
Format 9
Format 10
Counter
Name theorem
Counter theorem
Within chapter
End

View File

@ -6,10 +6,9 @@
# Author: Richard Heck <rgheck@comcast.net>
Format 9
Format 10
Counter
Name theorem
Counter theorem
Within section
End

View File

@ -8,10 +8,9 @@
# Author: Richard Heck <rgheck@comcast.net>
Format 9
Format 10
Counter
Name theorem
Counter theorem
End
Input theorems.inc

View File

@ -19,7 +19,7 @@
# - Proof
# - Case (regular only -- defined as an enumeration)
Format 9
Format 10
Style Theorem
Category Theorem