diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index bcc0012888..6626f7beee 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-10-24 Andreas Vox * insetindex.C (docbook): escape the index, to generate correct sgml. diff --git a/src/insets/insetfoot.C b/src/insets/insetfoot.C index 2d3b0c6f5c..4cae8b7f2f 100644 --- a/src/insets/insetfoot.C +++ b/src/insets/insetfoot.C @@ -63,8 +63,13 @@ int InsetFoot::latex(Buffer const & buf, ostream & os, OutputParams runparams = runparams_in; // footnotes in titling commands like \title have moving arguments runparams.moving_arg |= runparams_in.intitle; - - os << "%\n\\footnote{"; + + // in titling commands, \thanks should be used instead of \footnote. + // some classes (e.g. memoir) do not understand \footnote. + if (runparams_in.intitle) + os << "%\n\\thanks{"; + else + os << "%\n\\footnote{"; int const i = InsetText::latex(buf, os, runparams); os << "%\n}";