]> git.lyx.org Git - lyx.git/commitdiff
Update counter containing files to new format.
authorRichard Heck <rgheck@comcast.net>
Mon, 6 Oct 2008 14:58:22 +0000 (14:58 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 6 Oct 2008 14:58:22 +0000 (14:58 +0000)
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

24 files changed:
lib/layouts/agu_stdcounters.inc
lib/layouts/aguplus.inc
lib/layouts/amsbook.layout
lib/layouts/apa.layout
lib/layouts/beamer.layout
lib/layouts/broadway.layout
lib/layouts/db_stdcounters.inc
lib/layouts/elsart.layout
lib/layouts/ijmpc.layout
lib/layouts/ijmpd.layout
lib/layouts/manpage.layout
lib/layouts/numarticle.inc
lib/layouts/numreport.inc
lib/layouts/numrevtex.inc
lib/layouts/powerdot.layout
lib/layouts/stdcounters.inc
lib/layouts/stdsections.inc
lib/layouts/stdstarsections.inc
lib/layouts/theorems-ams.inc
lib/layouts/theorems-ams.module
lib/layouts/theorems-chap.module
lib/layouts/theorems-sec.module
lib/layouts/theorems-std.module
lib/layouts/theorems.inc

index 260191ba151b26160a9e5f5b80a00c020da20c98..c1a8b72bf0cb6e50a97a5a18753f9c9168779f13 100644 (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
index f9ab418fa4bbfe68b994e868c0ea0cddb4e39f76..cabe6d1c9c3f93e8ef6880587c3cf14b419de091 100644 (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
index 1de5ec9ce6a4fb253ffc543b1c9a170629a933cd..c35f429c0b026317a773d1b9bf0d0df011a615ee 100644 (file)
@@ -10,7 +10,7 @@
 # Modularized Jan '08 by Richard Heck <rgheck@brown.edu>
 
 
-Format 9
+Format 10
 Columns                 1
 Sides                   2
 PageStyle               Headers
index d81572b7184d6ed6e70e063747a6913678cd97eb..cc14648afe9423a808e636add2c3c0327aa9f7c8 100644 (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
index 08bd1c4df155d49d3ac0e502e502365d4ebe43f0..3d4ab4916ffa88df5616ae5e5c85e56e892a1504 100644 (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
 
index 4c134ba8a6746d0a97305cfce41d803f55190644..989fdfc4ad2cb21b10d519b3ec89fa1698522daa 100644 (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
 
 
index bed70b04e0f3d61e9fca3bc84e71293bb14442a1..dccf87883a3c09a75710d3bb58fc6bc3481c9930 100644 (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
 
index 4a9764f3e38b0cac7064342b11ed84bd524707b6..3fe3c2db0aa9b458665a74d94349b0a2c09c00c4 100644 (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
 
 
index 8e066fcee5f503672d1348327b1baec5aadb90a5..145d7cd49ce8cc9aa92eb165ba51632e52eda1f4 100644 (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
index 78d7c117b87c30a342eeda9b5b51b408bd8caf69..0a6c40854fe2cb2103ee891ebe85f8af8c3d6bfa 100644 (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
index c9b73988e18125e038dd60d90398ea2c8b1c3da8..bfa7376b6e492faf61031af34551a00eb792f05a 100644 (file)
@@ -4,7 +4,7 @@
 # Author : José Matos <jamatos@novalis.fc.up.pt>
 
 
-Format 9
+Format 10
 Columns                 1
 Sides                   1
 PageStyle               Plain
index 678fe24577b193abf4605f4c3930cede74fe913c..3c971196625106bc88f8b9607b77593b17749846 100644 (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}"
index 52fe0506ae2f90a403b4db1306ccef14a6273915..9afa3500338a9e1bc959a8de1dd689453cf56183 100644 (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
index 90d5d20e46120c18a3bd89452d72382f8cdcc85d..b114ea74a0290ca2acd40d7bfece5dd19bb0103d 100644 (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
index 46531a4d91712e2608d6593b373c7fb75095ea8b..2d36b4b4ef29ffddf4be91e9ff3f859c061883d4 100644 (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
index 9fe80af82eab59adf04a3cfe68d624abcca87fdf..e1110f48b6920c2732dc87b8288a3ae1d6311311 100644 (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
index 6e5f40144c0733bd88cdedce00d7798a7649b5c1..ba9c39bafc0e277ec92466d9f14a4dc618161718 100644 (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
index 70d9233fa09191cb6a94e55991488ace63027794..82fdbf06be3f6a8de0b8671fdfdfa186e7356b95 100644 (file)
@@ -9,7 +9,7 @@
 # modifying the style of the regular sectioning layouts.
 
 
-Format 9
+Format 10
 Style Part*
        CopyStyle             Part
        Category              Unnumbered
index 63dcc2929bb56cdd702f5490aa33b26efc617ed4..a6147ffea6089ada489cc3666ffd8b41f41ad397 100644 (file)
@@ -19,7 +19,7 @@
 # - Proof
 # - Case (regular only -- defined as an enumeration)
 
-Format 9
+Format 10
 
 Style Theorem
        Category              Theorem
index ba1f8d54b5a362f4fa7d27f31b41c4872c49ea47..b44da12ca85e2e3a7b278390c03257314f23f4ca 100644 (file)
 # 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
index b561620a5ff03192d73e7e54c72d5d82456f5d18..6dd56f6548a651601653ae309ba925e3b4526f09 100644 (file)
@@ -7,10 +7,9 @@
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 9
+Format 10
 
-Counter
-       Name           theorem
+Counter theorem
        Within         chapter
 End
 
index 3b2887dd2f6bcb09405e5f4ee3338d1ffcc3ca2a..7c95bf0a43938efc3c880cb8775b49a16e472081 100644 (file)
@@ -6,10 +6,9 @@
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 9
+Format 10
 
-Counter
-       Name           theorem
+Counter theorem
        Within         section
 End
 
index 81f053333cc800a19329d63d61977bdb35f4a2f1..7bfc5bd8657964efdbad309276d12512ccf9b44b 100644 (file)
@@ -8,10 +8,9 @@
 
 # Author: Richard Heck <rgheck@comcast.net>
 
-Format 9
+Format 10
 
-Counter
-       Name                 theorem
+Counter theorem
 End
 
 Input theorems.inc
index 875f04a9bb623e9b4166eab83621606fc82f5a21..c5441a52a0f115304fefdb7d639451c8b83adc2d 100644 (file)
@@ -19,7 +19,7 @@
 # - Proof
 # - Case (regular only -- defined as an enumeration)
 
-Format 9
+Format 10
 
 Style Theorem
        Category              Theorem