use thanks instead of footnote on the titlepage (bug 1677)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9126 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2004-10-25 09:11:12 +00:00
parent 1c0c1a1952
commit e442f7ec3e
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-10-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* 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 <vox@isp.uni-luebeck.de>
* insetindex.C (docbook): escape the index, to generate correct sgml.

View File

@ -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}";