The new footnote inset needs the following fix. To see the problem, try to export Tutorial.lyx to latex and then run it. In 1.1.6, the existence of footnotes caused the special robust footnote code to be emitted. The following small patch fixes this problem. Please apply. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index: src/insets/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/ChangeLog,v retrieving revision 1.158 diff -u -r1.158 ChangeLog --- src/insets/ChangeLog 2001/07/27 16:07:33 1.158 +++ src/insets/ChangeLog 2001/07/28 08:57:59 @@ -1,3 +1,11 @@ +2001-07-28 Kayvan A. Sylvan <[EMAIL PROTECTED]> + + * insetfoot.C (validate): Added method to ensure that the + right bit of LaTeX is emitted. + + * insetfoot.h: Added validate method to set the correct + LaTeXFeatures bit for the special footnote code. + 2001-07-26 Yves Bastide <[EMAIL PROTECTED]> * insetquotes.C (dispString): display the right ISO8859-{1,9,15} Index: src/insets/insetfoot.C =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetfoot.C,v retrieving revision 1.40 diff -u -r1.40 insetfoot.C --- src/insets/insetfoot.C 2001/07/27 12:03:36 1.40 +++ src/insets/insetfoot.C 2001/07/28 08:57:59 @@ -62,3 +62,8 @@ return i + 2; } + +void InsetFoot::validate(LaTeXFeatures & features) const +{ + features.NeedLyXFootnoteCode = true; +} Index: src/insets/insetfoot.h =================================================================== RCS file: /cvs/lyx/lyx-devel/src/insets/insetfoot.h,v retrieving revision 1.26 diff -u -r1.26 insetfoot.h --- src/insets/insetfoot.h 2001/07/27 12:03:36 1.26 +++ src/insets/insetfoot.h 2001/07/28 08:57:59 @@ -18,6 +18,7 @@ #pragma interface #endif +#include "LaTeXFeatures.h" #include "insetfootlike.h" /** The footnote inset @@ -37,6 +38,8 @@ int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; /// string const editMessage() const; + /// + void InsetFoot::validate(LaTeXFeatures & features) const; }; #endif