Re: footnote in caption

2007-10-24 Thread Juergen Spitzmueller
Richard Heck wrote:

> Can someone file a bug report about this? The footnote-insert LFUN
> should be disabled in floats if it doesn't work.

It works if you put a minipage in the float.

Jürgen



Re: footnote in caption

2007-10-24 Thread Richard Heck


Can someone file a bug report about this? The footnote-insert LFUN 
should be disabled in floats if it doesn't work.


Surely there is a solution to this problem, though. The footnote package 
seems to address some issues like this.


rh


Tobias Krause wrote:
I had the same problem. It's a LaTeX limitation: footnotes in floats 
do not work... (for German users: 
http://www.dante.de/faq/de-tex-faq/html/makros2.html#57)


If any possible it'd be the best way not to use footnotes in captions 
-- if you have to I prefer this way:


   set the footnotemark in the caption via

   \setcounter{footnote}{\value{footnote}}\protect\footnotemark

   set the footnotetext via

   \footnotetext{This is the footnote text.}

   unfortunately this has to be set on the correct page (the page used
   by LaTeX for the float) by hand, which means you might have to
   change this at the very end and you cannot rely on LaTeX to do
   everything...

As far as I know there is no other way to get it working the expected 
way. All other options are something like putting footnotemark and 
footnotetext in a minipage which is quite sure not what you wanted.


Toby



 Original Message  --------
Subject: Re: footnote in caption
From: Richard Heck <[EMAIL PROTECTED]>
To: Alexander Sklar <[EMAIL PROTECTED]>
Date: Wed Oct 24 2007 04:37:30 GMT+0200



Alexander Sklar wrote:

Well...it compiles, but doesn't produced the expected result :) (see
attached pdf, where's the footnote?)
  
I was afraid something like that would happen. So it's probably an 
issue with captions and footnotes. Someone here will know what to do.


rh

Thanks,
Alex

-Original Message-
From: Richard Heck [mailto:[EMAIL PROTECTED] Sent: Martes, 23 de 
Octubre de 2007 06:55 p.m.

To: Alexander Sklar
Cc: [EMAIL PROTECTED]
Subject: Re: footnote in caption

Alexander Sklar wrote:
 

Hi All,

First of all, thanks to all the great people who make LyX J My thesis


would
 

look terrible and be impossibly difficult to write without it J

I don't know if this is a known bug  or not, but when I tried to 
insert a

footnote inside a graphics float's caption, the file won't compile and


give:
 

Argument of [EMAIL PROTECTED] has an extra }.

Paragraph ended before [EMAIL PROTECTED] was complete.
  
I'm pretty sure this isn't a LyX bug but a LaTeX limitation. It may 
be that \footnote needs to be \protected in this context, in which 
case it is a LyX bug. So you might try putting "\protect" in ERT 
immediately before the footnote, and see if that helps. If not, then 
it's a LaTeX issue.


rh