From d20f999c044f1aa21b74f2943f032120de59d723 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Fri, 13 Aug 2004 09:38:04 +0000 Subject: [PATCH] no more need to specific docbook counters. remove temporarily elsart.layout to fix its permission settings. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8893 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 9 + lib/layouts/db_stdclass.inc | 2 - lib/layouts/db_stdcounters.inc | 29 --- lib/layouts/elsart.layout | 434 --------------------------------- 4 files changed, 9 insertions(+), 465 deletions(-) delete mode 100644 lib/layouts/db_stdcounters.inc delete mode 100644 lib/layouts/elsart.layout diff --git a/lib/ChangeLog b/lib/ChangeLog index e7c0e2788e..4336f30835 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,12 @@ +2004-08-13 José Matos + * layouts/elsart.layout: removed temporarily to correct the + permission settings of the file. + + * layouts/db_stdclass.inc: remove specific docbook counters, they + are not need anymore. + + * layouts/db_stdcounters.inc: removed since it lost its usefulness. + 2004-08-09 Angus Leeming * scripts/lyxpreview_tools.py: move code common to both diff --git a/lib/layouts/db_stdclass.inc b/lib/layouts/db_stdclass.inc index a61c897c6a..2969d78bbb 100644 --- a/lib/layouts/db_stdclass.inc +++ b/lib/layouts/db_stdclass.inc @@ -79,6 +79,4 @@ Input db_stdtitle.inc Input db_stdstruct.inc Input db_lyxmacros.inc Input db_stdlayouts.inc -Input stdcounters.inc -Input db_stdcounters.inc Input stdfloats.inc diff --git a/lib/layouts/db_stdcounters.inc b/lib/layouts/db_stdcounters.inc deleted file mode 100644 index a64e06f314..0000000000 --- a/lib/layouts/db_stdcounters.inc +++ /dev/null @@ -1,29 +0,0 @@ -# Author : José Matos - -# This include file contains all the counters that are defined as standard -# in docbook LyX layouts. - -Counter - Name sect1 - Within chapter -End - -Counter - Name sect2 - Within sect1 -End - -Counter - Name sect3 - Within sect2 -End - -Counter - Name sect4 - Within sect3 -End - -Counter - Name sect5 - Within sect4 -End diff --git a/lib/layouts/elsart.layout b/lib/layouts/elsart.layout deleted file mode 100644 index ce45512499..0000000000 --- a/lib/layouts/elsart.layout +++ /dev/null @@ -1,434 +0,0 @@ -#% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)} -# Author: Rod Pinna -# The Elsevier doc style also duplicates the theorem -# environments used by the AMS. The definitions here have been -# mainly taken from the amsmath.inc file, from lyx-1.0.2, by -# David L. Johnson and Jean-Marc Lasgouttes. Some modifications -# have been made. -# -# The Elsevier style *does not* implement the starred versions -# of these environments, so they are not supported by this layout. -# There are also a few AMS environments not impletemented by Elsevier, -# so they are not included either. -# -# Version 1.0 19990506 R. Pinna Inital version -# modified 2002-04-02 Herbert Voss -# for use of BeginTitle/EndTitle -# modified 2003-03-11 JMarc for use of TitleLatexType/TitleLatexName -# modified 2003-04-10 Rod Pinna - added proof env. sent to me by Stacy Prowell -# modified 2003-07-23 Rod Pinna - changes MaxCounter to Section, -# rather than subsection. The Elsevier doc file allows for -# numbered sections, as does the class file. - - -Columns 1 -Sides 2 -PageStyle headings - - -ClassOptions -# FontSize "default" # controlled by class -End - -# elsart does not use the plain old \maketitle -TitleLatexType Environment -TitleLatexName frontmatter - -Counter - Name summ -End - - -Counter - Name case -End - - -Style Standard - LatexName dummy - LatexType Paragraph - Margin Static - ParIndent MM - ParSkip 0.4 - ParSep 0.4 - TopSep 1.0 - BottomSep 1.0 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label -End - - -Style Keywords - LatexName keyword - LatexType Environment - Margin Static - ParIndent MM - InTitle 1 - ParSkip 0.4 - ParSep 0.4 - TopSep 1.0 - BottomSep 1.0 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label - Font - Color blue - EndFont -End - - -Input stdsections.inc -Input numarticle.inc -Input stdstarsections.inc -Input stdlists.inc -Input stdstruct.inc -Input stdlayouts.inc -Input stdfloats.inc -Input stdcounters.inc - - -Style Title - Margin Static - LatexType Command - InTitle 1 - LatexName title - NextNoIndent 1 - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - LabelType No_Label - Font - Family Sans - Series Bold - Size Largest - EndFont -End - - -Style Author - Margin Static - LatexType Command - InTitle 1 - LatexName author - NextNoIndent 1 - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.7 - ItemSep 0 - ParSep 0 - Align Center - AlignPossible Center - Font - Series Bold - EndFont -End - - -Style Author_Address - Margin Static - LatexType Command - InTitle 1 - LatexName address - Align Center - AlignPossible Center - Labeltype Static - LabelString "Address: " - LabelFont - Shape Italic - EndFont -End - - -Style Author_Email - Margin Static - LatexType Command - InTitle 1 - PassThru 1 - LatexName ead - Align Center - AlignPossible Center - Labeltype Static - LabelString "Email: " - TextFont - Family Typewriter - EndFont - LabelFont - Shape Italic - Family Roman - EndFont -End - - -Style Author_URL - Margin Static - LatexType Command - InTitle 1 - PassThru 1 - LatexName ead - LatexParam "[url]" - Align Center - AlignPossible Center - Labeltype Static - LabelString "URL: " - TextFont - Family Typewriter - EndFont - LabelFont - Shape Italic - Family Roman - EndFont -End - - -# thanks is like a footnote -Style Thanks - Margin Static - LatexType Command - LatexName thanks - InTitle 1 - Font - Size Small - Family Typewriter - Shape Italic - EndFont -End - - -Style Abstract - Margin Static - LatexType Environment - LatexName abstract - NextNoIndent 1 - InTitle 1 - LeftMargin MMM - RightMargin MMM - ParIndent MM - ItemSep 0 - TopSep 0.7 - BottomSep 0.7 - ParSep 0 - Align Block - AlignPossible Block - LabelType Centered_Top_Environment - LabelString Abstract - LabelBottomSep 0.5 - Font - Size Small - EndFont - LabelFont - Series Bold - Size Large - EndFont -End - - -# Theorem environments have been copied over from the amsmaths.inc file. It -# could not be input as it does some stuff which is incompatible with the -# Elsevier stlye: it redefines the theorem* environments in the preamble. - -# The environments defined are : -# - Theorem -# - Proof -# - Corollary -# - Lemma -# - Proposition -# - Conjecture -# - Criterion -# - Algorithm -# - Definition -# - Example -# - Problem -# - Remark -# - Note -# - Claim -# - Summary -# - Acknowledgement -# - Case - -Counter - Name theorem -End - - -Style Theorem - Margin First_Dynamic - LatexType Environment - LatexName thm - NextNoIndent 1 - LabelSep xx - ParIndent MMM - ParSkip 0.4 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Counter - LabelCounter theorem - LabelString "Theorem \arabic{theorem}" - Font - Shape Italic - Size Normal - EndFont - LabelFont - Shape Up - Series Bold - EndFont -End - - -# Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu) -Style Proof - Margin First_Dynamic - LatexType Environment - # elsart defines the unusual environment pf for proofs. - LatexName pf - NextNoIndent 1 - LabelSep xx - ParIndent MMM - ParSkip 0.4 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString "PROOF." - Font - Shape Up - Size Normal - EndFont - LabelFont - Series Bold - EndFont -End - - -Style Lemma - CopyStyle Theorem - LatexName lem - LabelString "Lemma \arabic{theorem}" -End - - -Style Corollary - CopyStyle Theorem - LatexName cor - LabelString "Corollary \arabic{theorem}" -End - - -Style Proposition - CopyStyle Theorem - LatexName prop - LabelString "Proposition \arabic{theorem}" -End - - -Style Criterion - CopyStyle Theorem - LatexName crit - LabelString "Criterion \arabic{theorem}" -End - - -Style Algorithm - CopyStyle Theorem - LatexName alg - LabelString "Algorithm \arabic{theorem}" -End - - -Style Definition - CopyStyle Theorem - LatexName defn - LabelString "Definition \arabic{theorem}" - Font - Shape Up - EndFont - LabelFont - Shape Up - Series Bold - EndFont -End - - -Style Conjecture - CopyStyle Theorem - LatexName conj - LabelString "Conjecture \arabic{theorem}" -End - - -Style Example - CopyStyle Theorem - LatexName exmp - LabelString "Example \arabic{theorem}" -End - - -Style Problem - CopyStyle Theorem - LatexName prob - LabelString "Problem \arabic{theorem}" -End - - -Style Remark - CopyStyle Theorem - LatexName rem - LabelString "Remark \arabic{theorem}" -End - - -Style Note - CopyStyle Theorem - LatexName note - LabelString "Note \arabic{theorem}" -End - - -Style Claim - CopyStyle Theorem - LatexName claim - LabelString "Claim \arabic{theorem}" -End - - -Style Summary - CopyStyle Theorem - LatexName summ - LabelCounter summ - LabelString "Summary \arabic{summ}" -End - - -Style Case - CopyStyle Theorem - LatexName case - LabelCounter case - LabelString "Case \arabic{case}" -End - - -# This is not taken from the AMS defs, so as to match the output of the -# style file. -Style Acknowledgement - Margin Static - LatexType environment - LatexName ack - Labeltype Top_Environment - LabelBottomsep 1 - LabelString "Acknowledgement \arabic{theorem}" - parsep 0.3 - LabelFont - Size large - Series Bold - EndFont -End -- 2.39.2