]> git.lyx.org Git - features.git/commitdiff
Use master buffer's setting for math output type.
authorRichard Heck <rgheck@lyx.org>
Wed, 27 Mar 2013 18:51:27 +0000 (14:51 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 27 Mar 2013 18:51:27 +0000 (14:51 -0400)
src/mathed/InsetMathHull.cpp

index 2a47f2035683a563576f458fdf72cc60b1a21892..7002a9b01ebc9b10f21e1dfd3f6fe605541d1fac 100644 (file)
@@ -2121,7 +2121,7 @@ void InsetMathHull::mathAsLatex(WriteStream & os) const
 docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const
 {
        BufferParams::MathOutput const mathtype = 
-               buffer().params().html_math_output;
+               buffer().masterBuffer()->params().html_math_output;
 
        bool success = false;