From 795c729776a3aa2354cdc6f3138ff253e39db0df Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 10 Jan 2008 07:24:53 +0000 Subject: [PATCH] Remove layout stuff made obsolete by modularization. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22471 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 4 - lib/Makefile.am | 4 - lib/layouts/amsart-plain.layout | 24 -- lib/layouts/amsart-seq.layout | 23 -- lib/layouts/amsmaths-plain.inc | 167 ------------ lib/layouts/amsmaths-seq.inc | 388 ---------------------------- 6 files changed, 610 deletions(-) delete mode 100644 lib/layouts/amsart-plain.layout delete mode 100644 lib/layouts/amsart-seq.layout delete mode 100644 lib/layouts/amsmaths-plain.inc delete mode 100644 lib/layouts/amsmaths-seq.inc diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 51ad3f52bd..4b93a759bf 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -2484,8 +2484,6 @@ lib_layouts_files = Split(''' aastex.layout agu-dtd.layout agums.layout - amsart-plain.layout - amsart-seq.layout amsart.layout amsbook.layout apa.layout @@ -2575,8 +2573,6 @@ lib_layouts_inc_files = Split(''' agu_stdtitle.inc aguplus.inc amsdefs.inc - amsmaths-plain.inc - amsmaths-seq.inc amsmaths.inc db_lyxmacros.inc db_stdcharstyles.inc diff --git a/lib/Makefile.am b/lib/Makefile.am index 9564df109a..8efea1b56a 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -930,13 +930,9 @@ dist_layouts_DATA =\ layouts/agu_stdtitle.inc \ layouts/agums.layout \ layouts/aguplus.inc \ - layouts/amsart-plain.layout \ - layouts/amsart-seq.layout \ layouts/amsart.layout \ layouts/amsbook.layout \ layouts/amsdefs.inc \ - layouts/amsmaths-plain.inc \ - layouts/amsmaths-seq.inc \ layouts/apa.layout \ layouts/arab-article.layout \ layouts/armenian-article.layout \ diff --git a/lib/layouts/amsart-plain.layout b/lib/layouts/amsart-plain.layout deleted file mode 100644 index ce23eddd49..0000000000 --- a/lib/layouts/amsart-plain.layout +++ /dev/null @@ -1,24 +0,0 @@ -#% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[amsart]{article (AMS, unnumbered)} -# AMS-Article textclass definition file. Taken from initial LyX source code -# and from the Article textclass definition file, following the AMS sample -# paper "testmath.tex" of January, 1995 -# Author : David L. Johnson -# The "unnumbered" version has all results, unnumbered -# Probably broken by Jean-Marc Lasgouttes -# modified and modularized by Emmanuel GUREGHIAN -# Tinkered with Sep. '07 by Paul Rubin - -Format 6 -Input amsart.layout - -# Change the definitions of the theorem-like environments to get unnumbered -# results - -# Use a simpler preamble. -Preamble - \usepackage{amsmath,amsthm} - \usepackage{amsfonts} -EndPreamble - -Input amsmaths-plain.inc diff --git a/lib/layouts/amsart-seq.layout b/lib/layouts/amsart-seq.layout deleted file mode 100644 index 19b8ac28a9..0000000000 --- a/lib/layouts/amsart-seq.layout +++ /dev/null @@ -1,23 +0,0 @@ -#% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[amsart]{article (AMS, sequential numbering)} -# AMS-Article textclass definition file. Taken from initial LyX source code -# and from the Article textclass definition file, following the AMS sample -# paper "testmath.tex" of January, 1995 -# Author : David L. Johnson -# -# The "seq" version has all results, figures, etc., numbered in a separate -# sequence, without section numbers attached (Theorem (1), Corollary (1), -# Theorem (2), etc.). -# -# Probably broken by Jean-Marc Lasgouttes -# modified and modularized by Emmanuel GUREGHIAN -# Tinkered with Sep. '07 by Paul Rubin - -Format 6 -Input amsart.layout - -# Change the definitions of the theorem-like environments to get a -# better numbering. - -Input amsmaths-seq.inc - diff --git a/lib/layouts/amsmaths-plain.inc b/lib/layouts/amsmaths-plain.inc deleted file mode 100644 index 56983aa6f7..0000000000 --- a/lib/layouts/amsmaths-plain.inc +++ /dev/null @@ -1,167 +0,0 @@ -# Author : David L. Johnson -# Probably broken by Jean-Marc Lasgouttes -# modified and modularized by Emmanuel GUREGHIAN -# Tinkered with Sep. '07 by Paul Rubin - - -# These are only the plain (unnumbered) theorem styles environments. -# Both starred and unstarred versions are included for compatibility -# with the other AMS classes. -# The environments defined are: -# - Theorem -# - Corollary -# - Lemma -# - Proposition -# - Conjecture -# - Criterion -# - Algorithm -# - Fact -# - Axiom -# - Definition -# - Example -# - Condition -# - Problem -# - Exercise -# - Remark -# - Claim -# - Note -# - Notation -# - Summary -# - Acknowledgement -# - Conclusion -# - Assumption -# - Case (regular only -- defined as an enumeration) - - -Format 6 - -Style Theorem - LatexName thm* - LabelString "Theorem." -End - - -Style Corollary - LatexName cor* - LabelString "Corollary." -End - - -Style Lemma - LatexName lem* - LabelString "Lemma." -End - - -Style Proposition - LatexName prop* - LabelString "Proposition." -End - - -Style Conjecture - LatexName conjecture* - LabelString "Conjecture." -End - - -Style Criterion - LatexName criterion* - LabelString "Criterion." -End - - -Style Algorithm - LatexName algorithm* - LabelString "Algorithm." -End - - -Style Fact - LatexName fact* - LabelString "Fact." -End - - -Style Axiom - LatexName ax* - LabelString "Axiom." -End - - -Style Definition - LatexName defn* - LabelString "Definition." -End - - -Style Example - LatexName example* - LabelString "Example." -End - - -Style Condition - LatexName condition* - LabelString "Condition." -End - - -Style Problem - LatexName problem* - LabelString "Problem." -End - - -Style Exercise - LatexName xca* - LabelString "Exercise." -End - - -Style Remark - LatexName rem* - LabelString "Remark." -End - - -Style Claim - LatexName claim* - LabelString "Claim." -End - - -Style Note - LatexName note* - LabelString "Note." -End - - -Style Notation - LatexName notation* - LabelString "Notation." -End - - -Style Summary - LatexName summary* - LabelString "Summary." -End - - -Style Acknowledgement - LatexName acknowledgement* - LabelString "Acknowledgement." -End - - -Style Conclusion - LatexName conclusion* - LabelString "Conclusion." -End - - -Style Assumption - LatexName assumption* - LabelString "Assumption." -End diff --git a/lib/layouts/amsmaths-seq.inc b/lib/layouts/amsmaths-seq.inc deleted file mode 100644 index aee217c67a..0000000000 --- a/lib/layouts/amsmaths-seq.inc +++ /dev/null @@ -1,388 +0,0 @@ -# Author : David L. Johnson -# Probably broken by Jean-Marc Lasgouttes -# modified and modularized by Emmanuel GUREGHIAN -# Tinkered with Sep. '07 by Paul Rubin - -# These are only the theorems styles environnements -# The environnements defined are : -# - Theorem -# - Corollary -# - Lemma -# - Proposition -# - Conjecture -# - Criterion -# - Algorithm -# - Fact -# - Axiom -# - Definition -# - Example -# - Condition -# - Problem -# - Exercise -# - Remark -# - Claim -# - Note -# - Notation -# - Summary -# - Acknowledgement -# - Conclusion -# - Assumption -# - Case (regular only -- defined as an enumeration) - -Format 6 - -# Use a simpler preamble. - -Preamble -EndPreamble - - -# but more counters - -# Do not restart theorem counter after section change -Counter - Name thm -End - -Counter - Name corollary -End - - -Counter - Name lemma -End - - -Counter - Name proposition -End - - -Counter - Name conjecture -End - - -Counter - Name criterion -End - - -Counter - Name algorithm -End - - -Counter - Name fact -End - - -Counter - Name axiom -End - - -Counter - Name definition -End - - -Counter - Name example -End - - -Counter - Name condition -End - - -Counter - Name problem -End - - -Counter - Name exercise -End - - -Counter - Name remark -End - - -Counter - Name claim -End - - -Counter - Name note -End - - -Counter - Name notation -End - - -Counter - Name summary -End - - -Counter - Name acknowledgement -End - - -Counter - Name conclusion -End - -Counter - Name assumption -End - -Style Theorem - LabelCounter thm - LabelString "Theorem \arabic{thm}." - Preamble - \theoremstyle{plain} - \newtheorem{thm}{Theorem} - EndPreamble -End - - -Style Corollary - LabelCounter corollary - DependsOn "" - LabelString "Corollary \arabic{corollary}." - Preamble - \theoremstyle{plain} - \newtheorem{cor}{Corollary} - EndPreamble -End - - -Style Lemma - LabelCounter lemma - DependsOn "" - LabelString "Lemma \arabic{lemma}." - Preamble - \theoremstyle{plain} - \newtheorem{lem}{Lemma} - EndPreamble -End - - -Style Proposition - LabelCounter proposition - DependsOn "" - LabelString "Proposition \arabic{proposition}." - Preamble - \theoremstyle{plain} - \newtheorem{prop}{Proposition} - EndPreamble -End - - -Style Conjecture - LabelCounter conjecture - DependsOn "" - LabelString "Conjecture \arabic{conjecture}." - Preamble - \theoremstyle{plain} - \newtheorem{conjecture}{Conjecture} - EndPreamble -End - - -Style Criterion - LabelCounter criterion - DependsOn "" - LabelString "Criterion \arabic{criterion}." - Preamble - \theoremstyle{plain} - \newtheorem{criterion}{Criterion} - EndPreamble -End - - -Style Algorithm - LabelCounter algorithm - DependsOn "" - LabelString "Algorithm \arabic{algorithm}." - Preamble - \theoremstyle{plain} - \newtheorem{algorithm}{Algorithm} - EndPreamble -End - - -Style Fact - LabelCounter fact - DependsOn "" - LabelString "Fact \arabic{fact}." - Preamble - \theoremstyle{plain} - \newtheorem{fact}{Fact} - EndPreamble -End - - -Style Axiom - LabelCounter axiom - DependsOn "" - LabelString "Axiom \arabic{axiom}." - Preamble - \theoremstyle{plain} - \newtheorem{ax}{Axiom} - EndPreamble -End - - -Style Definition - LabelCounter definition - DependsOn "" - LabelString "Definition \arabic{definition}." - Preamble - \theoremstyle{definition} - \newtheorem{defn}{Definition} - EndPreamble -End - - -Style Example - LabelCounter example - DependsOn "" - LabelString "Example \arabic{example}." - Preamble - \theoremstyle{definition} - \newtheorem{example}{Example} - EndPreamble -End - - -Style Condition - LabelCounter condition - DependsOn "" - LabelString "Condition \arabic{condition}." - Preamble - \theoremstyle{definition} - \newtheorem{condition}{Condition} - EndPreamble -End - - -Style Problem - LabelCounter problem - DependsOn "" - LabelString "Problem \arabic{problem}." - Preamble - \theoremstyle{definition} - \newtheorem{problem}{Problem} - EndPreamble -End - - -Style Exercise - LabelCounter exercise - DependsOn "" - LabelString "Exercise \arabic{exercise}." - Preamble - \theoremstyle{definition} - \newtheorem{xca}{Exercise} - EndPreamble -End - - -Style Remark - LabelCounter remark - DependsOn "" - LabelString "Remark \arabic{remark}." - Preamble - \theoremstyle{remark} - \newtheorem{rem}{Remark} - EndPreamble -End - - -Style Claim - LabelCounter claim - DependsOn "" - LabelString "Claim \arabic{claim}." - Preamble - \theoremstyle{remark} - \newtheorem{claim}{Claim} - EndPreamble -End - - -Style Note - LabelCounter note - DependsOn "" - LabelString "Note \arabic{note}." - Preamble - \theoremstyle{remark} - \newtheorem{note}{Note} - EndPreamble -End - - -Style Notation - LabelCounter notation - DependsOn "" - LabelString "Notation \arabic{notation}." - Preamble - \theoremstyle{remark} - \newtheorem{notation}{Notation} - EndPreamble -End - - -Style Summary - LabelCounter summary - DependsOn "" - LabelString "Summary \arabic{summary}." - Preamble - \theoremstyle{remark} - \newtheorem{summary}{Summary} - EndPreamble -End - - -Style Acknowledgement - LabelCounter acknowledgement - DependsOn "" - LabelString "Acknowledgement \arabic{acknowledgement}." - Preamble - \theoremstyle{remark} - \newtheorem{acknowledgement}{Acknowledgement} - EndPreamble -End - - -Style Conclusion - LabelCounter conclusion - DependsOn "" - LabelString "Conclusion \arabic{conclusion}." - Preamble - \theoremstyle{remark} - \newtheorem{conclusion}{Conclusion} - EndPreamble -End - - -Style Assumption - LabelCounter assumption - DependsOn "" - LabelString "Assumption \arabic{assumption}." - Preamble - \theoremstyle{plain} - \newtheorem{assumption}{Assumption} - EndPreamble -End