"R. Lahaye" <[EMAIL PROTECTED]> writes:

| Hi,
>
| There are still problems with the layout files and templates.

Yes, I know...

This is the patch that I began on, but never finished:

Index: layouts/IEEEtran.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/IEEEtran.layout,v
retrieving revision 1.4
diff -u -b -B -p -r1.4 IEEEtran.layout
--- layouts/IEEEtran.layout	6 Jul 2001 20:15:29 -0000	1.4
+++ layouts/IEEEtran.layout	23 Sep 2002 08:27:26 -0000
@@ -512,5 +512,7 @@ End
 ##
 ## Others
 ##
+Input stdfloats.inc
+Input stdcounters.inc
 Input lyxmacros.inc
 Input obsolete.inc
Index: layouts/aa.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/aa.layout,v
retrieving revision 1.2
diff -u -b -B -p -r1.2 aa.layout
--- layouts/aa.layout	13 Jun 2001 13:45:50 -0000	1.2
+++ layouts/aa.layout	23 Sep 2002 08:27:26 -0000
@@ -86,7 +86,8 @@ Input stdlists.inc
 Input stdsections.inc
 Input stdtitle.inc
 Input stdstruct.inc
-
+Input stdfloats.inc
+Input stdcounters.inc
 # Remove unwanted Styles
 
 NoStyle Chapter
Index: layouts/aapaper.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/aapaper.layout,v
retrieving revision 1.4
diff -u -b -B -p -r1.4 aapaper.layout
--- layouts/aapaper.layout	13 Jun 2001 13:45:50 -0000	1.4
+++ layouts/aapaper.layout	23 Sep 2002 08:27:26 -0000
@@ -94,7 +94,8 @@ Input stdlayouts.inc
 Input stdsections.inc
 Input stdtitle.inc
 Input stdstruct.inc
-
+Input stdfloats.inc
+Input stdcounters.inc
 # Remove unwanted Styles
 
 NoStyle Quotation
Index: layouts/aastex.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/aastex.layout,v
retrieving revision 1.3
diff -u -b -B -p -r1.3 aastex.layout
--- layouts/aastex.layout	23 Apr 2002 22:34:23 -0000	1.3
+++ layouts/aastex.layout	23 Sep 2002 08:27:26 -0000
@@ -126,7 +126,8 @@ Input stdsections.inc
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdlists.inc
-
+Input stdfloats.inc
+Input stdcounters.inc
 # Remove unwanted Styles
 NoStyle Part
 NoStyle Chapter
Index: layouts/amsart.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/amsart.layout,v
retrieving revision 1.2
diff -u -b -B -p -r1.2 amsart.layout
--- layouts/amsart.layout	4 Oct 2000 14:24:42 -0000	1.2
+++ layouts/amsart.layout	23 Sep 2002 08:27:26 -0000
@@ -100,6 +100,8 @@ NoStyle Verse    # Although mathematicia
 
 Input stdlists.inc
 Input lyxmacros.inc
+Input stdfloats.inc
+Input stdcounters.inc
 
 ### Finally a few obsolete definitions for compatibility
 Input obsolete.inc
Index: layouts/amsbook.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/amsbook.layout,v
retrieving revision 1.2
diff -u -b -B -p -r1.2 amsbook.layout
--- layouts/amsbook.layout	4 Oct 2000 14:24:42 -0000	1.2
+++ layouts/amsbook.layout	23 Sep 2002 08:27:26 -0000
@@ -92,7 +92,8 @@ NoStyle Verse    # Although mathematicia
 NoStyle Abstract  # there are no abstract in a book.
 
 Input stdlists.inc
-
+Input stdfloats.inc
+Input stdcounters.inc
 
 # End-of Chapter exercises  I need a way to do this.
 
Index: layouts/apa.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/apa.layout,v
retrieving revision 1.1.1.1
diff -u -b -B -p -r1.1.1.1 apa.layout
--- layouts/apa.layout	27 Sep 1999 18:44:33 -0000	1.1.1.1
+++ layouts/apa.layout	23 Sep 2002 08:27:26 -0000
@@ -245,6 +245,9 @@ Input stdsections.inc
 # then define the unumbered sections, based on the numbered ones.
 Input stdstarsections.inc
 
+Input stdfloats.inc
+Input stdcounters.inc
+
 # remove the layouts that we do not need.
 NoStyle	Part
 NoStyle	Section
Index: layouts/broadway.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/broadway.layout,v
retrieving revision 1.6
diff -u -b -B -p -r1.6 broadway.layout
--- layouts/broadway.layout	22 May 2000 13:20:51 -0000	1.6
+++ layouts/broadway.layout	23 Sep 2002 08:27:26 -0000
@@ -227,6 +227,8 @@ End
  
 Input stdtitle.inc
 Input stdstruct.inc
+Input stdfloats.inc
+Input stdcounters.inc
 # Input lyxmacros.inc
 NoStyle Abstract
 NoStyle Bibliography
Index: layouts/cl2emult.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/cl2emult.layout,v
retrieving revision 1.2
diff -u -b -B -p -r1.2 cl2emult.layout
--- layouts/cl2emult.layout	23 Aug 2002 09:01:12 -0000	1.2
+++ layouts/cl2emult.layout	23 Sep 2002 08:27:26 -0000
@@ -18,6 +18,8 @@ Input stdsections.inc
 Input stdstarsections.inc
 Input stdstruct.inc
 Input stdlayouts.inc
+Input stdfloats.inc
+Input stdcounters.inc
 
 NoStyle                   Chapter
 NoStyle                   Chapter*
Index: layouts/cv.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/cv.layout,v
retrieving revision 1.4
diff -u -b -B -p -r1.4 cv.layout
--- layouts/cv.layout	6 Sep 2001 12:42:46 -0000	1.4
+++ layouts/cv.layout	23 Sep 2002 08:27:26 -0000
@@ -165,3 +165,5 @@ Style Bibliography
   
 End
 
+Include stdfloats.inc
+Include stdcounters.inc
Index: layouts/dtk.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/dtk.layout,v
retrieving revision 1.1
diff -u -b -B -p -r1.1 dtk.layout
--- layouts/dtk.layout	27 Mar 2002 12:27:16 -0000	1.1
+++ layouts/dtk.layout	23 Sep 2002 08:27:26 -0000
@@ -49,6 +49,8 @@ NoStyle Chapter*
 Input stdtitle.inc
 Input stdstruct.inc
 Input stdlayouts.inc
+Input stdfloats.inc
+Input stdcounters.inc
 # no lyxmacros!
 
 
Index: layouts/egs.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/egs.layout,v
retrieving revision 1.3
diff -u -b -B -p -r1.3 egs.layout
--- layouts/egs.layout	7 Sep 2001 15:41:32 -0000	1.3
+++ layouts/egs.layout	23 Sep 2002 08:27:26 -0000
@@ -766,3 +766,6 @@ Style LyX-Code
   EndFont
 
 End
+
+Include stdfloats.inc
+Include stdcounters.inc
Index: layouts/foils.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/foils.layout,v
retrieving revision 1.3
diff -u -b -B -p -r1.3 foils.layout
--- layouts/foils.layout	20 Mar 2000 14:49:53 -0000	1.3
+++ layouts/foils.layout	23 Sep 2002 08:27:26 -0000
@@ -302,6 +302,8 @@ End
 
 # all the standard LaTeX environments
 Input stdlayouts.inc
+Input stdfloats.inc
+Input stdcounters.inc
 
 # Finally add a few weird LyX environments.
 Input lyxmacros.inc
Index: layouts/g-brief-de.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/g-brief-de.layout,v
retrieving revision 1.3
diff -u -b -B -p -r1.3 g-brief-de.layout
--- layouts/g-brief-de.layout	6 Mar 2002 15:55:04 -0000	1.3
+++ layouts/g-brief-de.layout	23 Sep 2002 08:27:26 -0000
@@ -613,7 +613,8 @@ End
 
 
 
-
+Input stdfloats.inc
+Input stdcounters.inc
 
 
 
Index: layouts/g-brief-en.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/g-brief-en.layout,v
retrieving revision 1.4
diff -u -b -B -p -r1.4 g-brief-en.layout
--- layouts/g-brief-en.layout	6 Mar 2002 15:55:04 -0000	1.4
+++ layouts/g-brief-en.layout	23 Sep 2002 08:27:26 -0000
@@ -621,8 +621,8 @@ End
 
 
 
-
-
+Input stdfloats.inc
+Input stdcounters.inc
 
 
 
Index: layouts/hollywood.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/hollywood.layout,v
retrieving revision 1.9
diff -u -b -B -p -r1.9 hollywood.layout
--- layouts/hollywood.layout	28 May 2002 23:04:56 -0000	1.9
+++ layouts/hollywood.layout	23 Sep 2002 08:27:26 -0000
@@ -371,6 +371,8 @@ End
  
 Input stdtitle.inc
 Input stdstruct.inc
+Input stdfloats.inc
+Input stdcounters.inc
 # Input lyxmacros.inc
 NoStyle Abstract
 NoStyle Bibliography
Index: layouts/letter.layout
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/layouts/letter.layout,v
retrieving revision 1.1.1.1
diff -u -b -B -p -r1.1.1.1 letter.layout
--- layouts/letter.layout	27 Sep 1999 18:44:33 -0000	1.1.1.1
+++ layouts/letter.layout	23 Sep 2002 08:27:26 -0000
@@ -8,6 +8,8 @@
 Input stdletter.inc
 Input stdlists.inc
 Input lyxmacros.inc
+Input stdfloats.inc
+Input stdcounters.inc
 
 # Remove some unwanted styles.
 NoStyle		Right_Address

-- 
        Lgb

Reply via email to