]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.cpp
tex2lyx/text.cpp: fix 2 typos
[lyx.git] / src / Encoding.cpp
index a9c845b28dced34524d73144919f8741bbe5dd2c..a8846527b44727d14d04131358a3e888ef5b5282 100644 (file)
@@ -806,6 +806,10 @@ void Encodings::read(FileName const & encfile, FileName const & symbolsfile)
                        breakout = true;
                }
 
+               // backward compatibility
+               if (info.mathpreamble == "esintoramsmath")
+                       info.mathpreamble = "esint|amsmath";
+
                if (!info.textpreamble.empty())
                        info.textfeature = info.textpreamble[0] != '\\';
                if (!info.mathpreamble.empty())