mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
* InsetMarginal.cpp:
- \marginpar needs to be \protect'ed in fragile context (bug 2790). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26992 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c509d3d8fc
commit
25c8c8ce8a
@ -37,7 +37,10 @@ docstring InsetMarginal::editMessage() const
|
||||
|
||||
int InsetMarginal::latex(odocstream & os, OutputParams const & runparams) const
|
||||
{
|
||||
os << "%\n\\marginpar{";
|
||||
os << "%\n";
|
||||
if (runparams.moving_arg)
|
||||
os << "\\protect";
|
||||
os << "\\marginpar{";
|
||||
int const i = InsetText::latex(os, runparams);
|
||||
os << "%\n}";
|
||||
return i + 2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user