this loads by default the _official_ latex fixes,
which will never get in the latex source.

Herbert


-- 
http://www.lyx.org/help/
Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.264
diff -u -r1.264 ChangeLog
--- lib/ChangeLog       8 Aug 2002 13:01:08 -0000       1.264
+++ lib/ChangeLog       9 Aug 2002 13:30:10 -0000
@@ -1,3 +1,8 @@
+2002-08-09  Herbert Voss  <[EMAIL PROTECTED]>
+
+       * chkconfig.ltx: check for the official fixes of latex2e
+       fixltx2e.sty
+               
 2002-08-08  Herbert Voss  <[EMAIL PROTECTED]>
 
        * ui/default.ui: put gather into math menu
Index: lib/chkconfig.ltx
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/chkconfig.ltx,v
retrieving revision 1.9
diff -u -r1.9 chkconfig.ltx
--- lib/chkconfig.ltx   1 Mar 2002 12:39:19 -0000       1.9
+++ lib/chkconfig.ltx   9 Aug 2002 13:30:10 -0000
@@ -213,6 +213,7 @@
 \TestPackage{babel}
 \TestPackage{color} % this one should be there if graphics.sty is there.
 \TestPackage{fancyhdr}
+\TestPackage{fixltx2e}
 \TestPackage{floatflt}
 \TestPackage{setspace}
 \TestPackage{subfigure}
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.871
diff -u -r1.871 ChangeLog
--- src/ChangeLog       9 Aug 2002 02:50:19 -0000       1.871
+++ src/ChangeLog       9 Aug 2002 13:30:15 -0000
@@ -1,3 +1,8 @@
+2002-08-09  Herbert Voss  <[EMAIL PROTECTED]>
+
+       * buffer.C (makeLaTeXFile): add command \usepackage{fixltx2e}
+       to get the official fixes by default
+ 
 2002-08-09  John Levon  <[EMAIL PROTECTED]>
 
        * lyxtext.h: remove unused refresh_height
Index: src/buffer.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/buffer.C,v
retrieving revision 1.364
diff -u -r1.364 buffer.C
--- src/buffer.C        9 Aug 2002 00:42:10 -0000       1.364
+++ src/buffer.C        9 Aug 2002 13:30:17 -0000
@@ -2301,6 +2315,12 @@
                os << '{' << tclass.latexname() << "}\n";
                texrow.newline();
                // end of \documentclass defs
+               
+               // at first we load the official fixes for LaTeX2e, which 
+               // should be part of any tex-installation, but a test is save
+               if (!findtexfile("fixltx2e.sty", "tex").empty())
+                       os << "\\usepackage{fixltx2e}" 
+                           << "%% the official fixes for LaTeX2e\n";
 
                // font selection must be done before loading fontenc.sty
                // The ae package is not needed when using OT1 font encoding.

Reply via email to