/** Whether we are inside a footnote.
*/
- bool inFootnote = false;
+ mutable bool inFootnote = false;
/** Whether a btUnit (for multiple biblographies) is open.
*/
}
-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;
}