int InsetNote::plaintext(Buffer const & buf, odocstream & os,
- OutputParams const & runparams_in) const
+ OutputParams const & runparams_in) const
{
if (params_.type == InsetNoteParams::Note)
return 0;
int InsetNote::docbook(Buffer const & buf, odocstream & os,
- OutputParams const & runparams_in) const
+ OutputParams const & runparams_in) const
{
if (params_.type == InsetNoteParams::Note)
return 0;
// Return how many newlines we issued.
//return int(count(str.begin(), str.end(), '\n'));
- return n + 1 + 2;
+ return n + 1 + 2;
}
features.require("color");
features.require("framed");
}
- if (params_.type == InsetNoteParams::Framed) {
- features.require("color");
+ if (params_.type == InsetNoteParams::Framed)
features.require("framed");
- }
InsetText::validate(features);
}