use the wasysym package when needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2005-01-19 11:46:50 +00:00
parent 4bea3da188
commit add9ff6168
4 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* LaTeXFeatures.C: rename feature "wasy" to "wasysym".
2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text.C (setHeightOfRow): add a margin at the top and bottom of

View File

@ -189,7 +189,7 @@ char const * simplefeatures[] = {
"varioref",
"prettyref",
"float",
"wasy",
"wasysym",
"dvipost",
"fancybox",
"calc",

View File

@ -1,5 +1,7 @@
2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* math_symbolinset.C (validate): require wasysym as needed
* math_decorationinset.C (ams): remove again \overleftarrow and
\overrightarrow, which do not require amslatex (although amslatex
redefines them).

View File

@ -138,6 +138,8 @@ void MathSymbolInset::validate(LaTeXFeatures & features) const
{
if (sym_->inset == "msa" || sym_->inset == "msb")
features.require("amssymb");
else if (sym_->inset == "wasy")
features.require("wasysym");
}