]> git.lyx.org Git - lyx.git/commitdiff
require amsmath for \text
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 24 Jun 2005 08:25:33 +0000 (08:25 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 24 Jun 2005 08:25:33 +0000 (08:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10098 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_fontinset.C

index b6e0915fa3bce6782f651b42d8d5fae4aac1a712..3b828c83ec39b23ad15f9cddf9c8cdf8ae886428 100644 (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 ...
index 14f4bc652cab17011a32ce5da75065e218cc1c51..ee440305b9785a6575717b6250650b2e229aaadb 100644 (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");
 }