]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.cpp
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetText.cpp
index ac10443d00bcf04f67094c442db42e079dfc8b4f..ba716aeba3fe810355c181f02c59ec9f3d5e431c 100644 (file)
@@ -529,6 +529,9 @@ void InsetText::latex(otexstream & os, OutputParams const & runparams) const
        runparams.encoding = rp.encoding;
        // Pass the post_macros upstream
        runparams.post_macro = rp.post_macro;
+       // These need to be passed upstream as well
+       runparams.need_maketitle = rp.need_maketitle;
+       runparams.have_maketitle = rp.have_maketitle;
 
        if (!il.rightdelim().empty())
                os << il.rightdelim();