]> git.lyx.org Git - features.git/commitdiff
use the wasysym package when needed
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 19 Jan 2005 11:46:50 +0000 (11:46 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 19 Jan 2005 11:46:50 +0000 (11:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9498 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/LaTeXFeatures.C
src/mathed/ChangeLog
src/mathed/math_symbolinset.C

index d6b60775c44c8eda1fb2a1406e56ee5aa70813d4..2a292bc8c9afdc049900ffb8cf95f2b36348bd07 100644 (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
index 9545af96f45f58e16d8b4eca2682a5f3a35a23ed..821f248fc4bbdd7a25a205c54322774c543d8551 100644 (file)
@@ -189,7 +189,7 @@ char const * simplefeatures[] = {
        "varioref",
        "prettyref",
        "float",
-       "wasy",
+       "wasysym",
        "dvipost",
        "fancybox",
        "calc",
index 37e3b89eea852f6dd42b03b44743e40d9a4f221d..e28962fa279f627f0ce5369cf90159637ec8721a 100644 (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).
index d3cc5a1daa691ac42e8eea67a418d282cd1ff084..2d07bd6240e7cca2e9b7e97887598dbb552b7805 100644 (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");
 }