From 99ac9d8dda622ccc89c240499cf4c8ecb2cb372f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 24 Jun 2005 08:25:33 +0000 Subject: [PATCH] require amsmath for \text git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10098 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/math_fontinset.C | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index b6e0915fa3..3b828c83ec 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2005-06-24 Georg Baum + + * math_fontinset.C (validate): require amsmath for \text + 2005-06-16 Georg Baum * math_colorinset.C (normalcolor): remove ... diff --git a/src/mathed/math_fontinset.C b/src/mathed/math_fontinset.C index 14f4bc652c..ee440305b9 100644 --- a/src/mathed/math_fontinset.C +++ b/src/mathed/math_fontinset.C @@ -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"); } -- 2.39.2