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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9125 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2004-10-25 08:51:39 +00:00
parent 691a61bf7b
commit 175ba51077
3 changed files with 14 additions and 1 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-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetcite.C (latex): fix #warning statement

View File

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

View File

@ -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: