require amsmath for \text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10098 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-06-24 08:25:33 +00:00
parent 97d84f7589
commit 99ac9d8dda
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-06-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math_fontinset.C (validate): require amsmath for \text
2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* math_colorinset.C (normalcolor): remove ...

View File

@ -85,6 +85,8 @@ void MathFontInset::validate(LaTeXFeatures & features) const
// Fraktur used:
if (key_->name == "mathfrak" || key_->name == "mathbb")
features.require("amssymb");
if (key_->name == "text")
features.require("amsmath");
}