-bool InsetMarginal::InsertInsetAllowed(Inset * in) const
-{
- if ((in->LyxCode() == Inset::FOOT_CODE) ||
- (in->LyxCode() == Inset::MARGIN_CODE)) {
- return false;
- }
- return true;
-}
-
-#if 0
-LyXFont InsetMarginal::GetDrawFont(BufferView * bv,
- LyXParagraph * p, int pos) const
+int InsetMarginal::latex(Buffer const & buf, ostream & os,
+ OutputParams const & runparams) const