From ac92f2a79b85fac329a4d50def73cce9453d7073 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Tue, 21 Aug 2012 04:04:54 +0200 Subject: [PATCH] Fix bug #8306: LyX incorrectly imports mhchem commands outside math mode Those commands can also be used in text mode but tex2lyx tries to translate their argument causing havoc. So, import the whole commands as ERT. --- lib/syntax.default | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/syntax.default b/lib/syntax.default index 0d235f1dbf..62c4eea4d2 100644 --- a/lib/syntax.default +++ b/lib/syntax.default @@ -400,6 +400,8 @@ $$ \bottomfraction \caption[]{} \cc{} +\ce{} +\cf{} \ccname \centering \centerline{translate}