]> git.lyx.org Git - lyx.git/blobdiff - src/Font.cpp
Allow using \binom without amsmath and add support for \brace and \brack
[lyx.git] / src / Font.cpp
index 39b78be01d5f11fae28a56ef2b516c1866b9f8f3..94549dac3938fa4ff0d6c301a137bea6468bb783 100644 (file)
@@ -620,7 +620,7 @@ int Font::latexWriteEndChanges(odocstream & os, BufferParams const & bparams,
        if (open_encoding_) {
                // We need to close the encoding even if it does not change
                // to do correct environment nesting
-               Encoding const * const ascii = encodings.getFromLyXName("ascii");
+               Encoding const * const ascii = encodings.fromLyXName("ascii");
                pair<bool, int> const c = switchEncoding(os, bparams,
                                runparams, *ascii);
                BOOST_ASSERT(c.first);
@@ -755,7 +755,7 @@ void Font::validate(LaTeXFeatures & features) const
                        // probably we should put here all interface colors used for
                        // font displaying! For now I just add this ones I know of (Jug)
                case Color_latex:
-               case Color_note:
+               case Color_notelabel:
                        break;
                default:
                        features.require("color");