mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-21 17:51:03 +00:00
Do not load mathrsfs if unicode-math is required (#12734)
The latter provides \mathscr and the packages clash
This commit is contained in:
parent
3dd79b1c4e
commit
a15bc829d1
@ -126,7 +126,7 @@ void InsetMathFont::validate(LaTeXFeatures & features) const
|
||||
if (fontname == "text" || fontname == "textnormal"
|
||||
|| (fontname.length() == 6 && fontname.substr(0, 4) == "text"))
|
||||
features.require("amstext");
|
||||
if (fontname == "mathscr")
|
||||
if (fontname == "mathscr" && !features.isRequired("unicode-math"))
|
||||
features.require("mathrsfs");
|
||||
if (fontname == "textipa")
|
||||
features.require("tipa");
|
||||
|
Loading…
Reference in New Issue
Block a user