On Thu, May 10, 2001 at 12:12:03PM +0200, Lars Gullik Bj?nnes wrote:
> | dvi output even though there is a space after the footnote in the
> | lyx document.
> with CVS version footnotes should be no different from any other kind
> of inset. so if this bug is there we have it for all insets not just
> footnotes.
No the problem is footnote specific.
If I have "a\footnote{foo} b", then the generated LaTeX code is:
a\footnote{%
foo}%
b
For some reason, the space before the 'b' is ignored, so the dvi shows 'a^1b'.
This also happen for example in the following latex code (the dvi shows 'ab':
a{}%
b
For reference, the old fontnote code generated the following latex code:
a\footnote{%
foo
} b
which does work correctly. So only a small change in insetfoot.C is needed
for fixing the bug.