]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetBranch.cpp
index ad7cbc5cdc21fb6f83efc517a2be06a1842790b8..db987ba0d3dd3e45fbd2c0be5222db692da0ca2b 100644 (file)
@@ -311,6 +311,9 @@ void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
                OutputParams rp = runparams;
                rp.inbranch = true;
                InsetText::latex(os, rp);
+               // These need to be passed upstream
+               runparams.need_maketitle = rp.need_maketitle;
+               runparams.have_maketitle = rp.have_maketitle;
        }
 }
 
@@ -333,7 +336,7 @@ int InsetBranch::docbook(odocstream & os,
 }
 
 
-docstring InsetBranch::xhtml(XHTMLStream & xs, OutputParams const & rp) const
+docstring InsetBranch::xhtml(XMLStream & xs, OutputParams const & rp) const
 {
        if (producesOutput()) {
                OutputParams newrp = rp;