mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Do not load mathrsfs if unicode-math is required (#12734)
The latter provides \mathscr and the packages clash
(cherry picked from commit a15bc829d1
)
This commit is contained in:
parent
624a1be072
commit
f5457342c4
@ -128,7 +128,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");
|
||||
|
@ -43,6 +43,8 @@ What's new
|
||||
|
||||
- Fix leaking of linespace settings between paragraphs if they have
|
||||
different aligment (bug 12638).
|
||||
|
||||
- Do not load mathrsfs if unicode-math is required (bug 12734).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
Loading…
Reference in New Issue
Block a user