]> 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 6ce11c2b9566a92e380e140003edc298240789e2..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);