mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Do not throw away runparams settings of InsetText in InsetFoot::latex
This amends 243b0ef90c
This commit is contained in:
parent
13d24c711e
commit
edaf28fdd6
@ -293,7 +293,7 @@ public:
|
||||
|
||||
/** Whether we are inside a footnote.
|
||||
*/
|
||||
bool inFootnote = false;
|
||||
mutable bool inFootnote = false;
|
||||
|
||||
/** Whether a btUnit (for multiple biblographies) is open.
|
||||
*/
|
||||
|
@ -111,11 +111,13 @@ docstring InsetFoot::toolTip(BufferView const & bv, int x, int y) const
|
||||
}
|
||||
|
||||
|
||||
void InsetFoot::latex(otexstream & os, OutputParams const & runparams_in) const
|
||||
void InsetFoot::latex(otexstream & os, OutputParams const & runparams) const
|
||||
{
|
||||
OutputParams runparams(runparams_in);
|
||||
// We need to maintain the runparams values set
|
||||
// by InsetText::latex. hence we use no copy
|
||||
runparams.inFootnote = true;
|
||||
InsetText::latex(os, runparams);
|
||||
runparams.inFootnote = false;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user