Exclude insets without output from fontswitch_insets

This commit is contained in:
Juergen Spitzmueller 2020-12-02 14:31:26 +01:00
parent f41ca959fd
commit 95fed10131

View File

@ -2591,7 +2591,8 @@ void Paragraph::latex(BufferParams const & bparams,
c == META_INSET
&& getInset(i)
&& getInset(i)->allowMultiPar()
&& getInset(i)->lyxCode() != ERT_CODE;
&& getInset(i)->lyxCode() != ERT_CODE
&& getInset(i)->producesOutput();
bool closeLanguage = false;
bool lang_switched_at_inset = false;