diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 0baa78b83d..efe619fc2d 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,9 @@ +2004-10-25 Jürgen Spitzmüller + + * insetfoot.C (latex): use \thanks instead of \footnote on titlepage + layouts. This fixes problems with the memoir class (which does not + allow \footnote) [bug 1677] + 2004-04-29 Jean-Marc Lasgouttes * insetcite.C (latex): fix #warning statement diff --git a/src/insets/insetfoot.C b/src/insets/insetfoot.C index a0bf730374..90ffb82c10 100644 --- a/src/insets/insetfoot.C +++ b/src/insets/insetfoot.C @@ -64,12 +64,17 @@ string const InsetFoot::editMessage() const int InsetFoot::latex(Buffer const * buf, ostream & os, bool fragile, bool fp) const { + bool isintitle = false; if (buf && parOwner()) { LyXLayout_ptr const & layout = parOwner()->layout(); fragile |= layout->intitle; + isintitle = layout->intitle; } - os << "%\n\\footnote{"; + if (isintitle) + os << "%\n\\thanks{"; + else + os << "%\n\\footnote{"; int const i = inset.latex(buf, os, fragile, fp); os << "%\n}"; diff --git a/status.13x b/status.13x index 022003fd4d..fdd735fe97 100644 --- a/status.13x +++ b/status.13x @@ -32,6 +32,8 @@ What's new - Fix LaTeX output of percentage length values <10% [bug 1523]. +- fix output of footnotes on the titlepage (a memoir class problem) + * User Interface: