Use nomath font also if other font package is selected (#11733)

This commit is contained in:
Juergen Spitzmueller 2021-01-08 11:17:31 +01:00
parent 20e1fe4674
commit 79ef5694d1

View File

@ -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(