mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +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"
|
if (fontname == "text" || fontname == "textnormal"
|
||||||
|| (fontname.length() == 6 && fontname.substr(0, 4) == "text"))
|
|| (fontname.length() == 6 && fontname.substr(0, 4) == "text"))
|
||||||
features.require("amstext");
|
features.require("amstext");
|
||||||
if (fontname == "mathscr")
|
if (fontname == "mathscr" && !features.isRequired("unicode-math"))
|
||||||
features.require("mathrsfs");
|
features.require("mathrsfs");
|
||||||
if (fontname == "textipa")
|
if (fontname == "textipa")
|
||||||
features.require("tipa");
|
features.require("tipa");
|
||||||
|
@ -44,6 +44,8 @@ What's new
|
|||||||
- Fix leaking of linespace settings between paragraphs if they have
|
- Fix leaking of linespace settings between paragraphs if they have
|
||||||
different aligment (bug 12638).
|
different aligment (bug 12638).
|
||||||
|
|
||||||
|
- Do not load mathrsfs if unicode-math is required (bug 12734).
|
||||||
|
|
||||||
|
|
||||||
* USER INTERFACE
|
* USER INTERFACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user