mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
1c0c1a1952
commit
e442f7ec3e
@ -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.
|
||||
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user