fix [foot|margin]note spacing in LaTeX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2161 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-06-29 14:01:29 +00:00
parent ab254289c8
commit 6bb4ea8c10
4 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,7 @@
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
* lyxfunc.C (Dispatch):
* Spacing.C (set):
* BufferView_pimpl.C (Dispatch): use .c_str() on istringstream

View File

@ -1,5 +1,8 @@
2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetmarginal.C (latex):
* insetfoot.C (latex): fix spacing of notes in LaTeX
* insettext.C (localDispatch): use .c_str() on istringstream
constructor argument.

View File

@ -51,10 +51,10 @@ string const InsetFoot::editMessage() const
int InsetFoot::latex(Buffer const * buf,
std::ostream & os, bool fragile, bool fp) const
{
os << "\\footnote{%\n";
os << "%\n\\footnote{";
int const i = inset.latex(buf, os, fragile, fp);
os << "}\n";
os << "%\n}";
return i + 2;
}

View File

@ -51,10 +51,10 @@ string const InsetMarginal::editMessage() const
int InsetMarginal::latex(Buffer const * buf,
std::ostream & os, bool fragile, bool fp) const
{
os << "\\marginpar{%\n";
os << "%\n\\marginpar{";
int const i = inset.latex(buf, os, fragile, fp);
os << "}%\n";
os << "%\n}";
return i + 2;
}