X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetNote.cpp;h=94463a64decc44880a0602962359b269fca6cb39;hb=36dbec45069bf3d9db923200835e44f44d904eb8;hp=9aa037dba3187f6e12337fd100e24e8fc2e37f03;hpb=95146d3cf911230ee6c810e22d0243f83ce977a3;p=features.git diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp index 9aa037dba3..94463a64de 100644 --- a/src/insets/InsetNote.cpp +++ b/src/insets/InsetNote.cpp @@ -218,6 +218,16 @@ void InsetNote::updateLabels(Buffer const & buf, ParIterator const & it) } +bool InsetNote::isMacroScope(Buffer const & buf) const +{ + // LyX note has no latex output + if (params_.type == InsetNoteParams::Note) + return true; + + return InsetCollapsable::isMacroScope(buf); +} + + int InsetNote::latex(Buffer const & buf, odocstream & os, OutputParams const & runparams_in) const {