commit 79ef5694d132706429abdd5f69513d2edc44b924
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Jan 8 11:17:31 2021 +0100

    Use nomath font also if other font package is selected (#11733)
---
 src/BufferParams.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index beb6eb2..bc83548 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -3452,7 +3452,7 @@ string const BufferParams::loadFonts(LaTeXFeatures & 
features) const
        bool const ot1 = (main_font_encoding() == "default" || 
main_font_encoding() == "OT1");
        bool const dryrun = features.runparams().dryrun;
        bool const complete = (fontsSans() == "default" && fontsTypewriter() == 
"default");
-       bool const nomath = (fontsMath() == "default");
+       bool const nomath = (fontsMath() != "auto");
 
        // ROMAN FONTS
        os << 
theLaTeXFonts().getLaTeXFont(from_ascii(fontsRoman())).getLaTeXCode(
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to