]> git.lyx.org Git - features.git/commitdiff
tex2lyx/Preamble.cpp: handle \lyxarrow
authorUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 May 2015 23:40:59 +0000 (01:40 +0200)
committerUwe Stöhr <uwestoehr@lyx.org>
Sun, 24 May 2015 23:40:59 +0000 (01:40 +0200)
this fixes error 20 in bug #9565

src/tex2lyx/Preamble.cpp

index f48da7ab90e1df4d2b19bbaf76a384833f5d4a45..756db7da59087e842aa365e424b0e3b2c2bba53f 100644 (file)
@@ -1552,9 +1552,9 @@ void Preamble::parse(Parser & p, string const & forceclass,
                                in_lyx_preamble = true;
                        }
 
-                       // remove the lyxdot definition that is re-added by LyX
+                       // remove LyX-specific definitions that are re-added by LyX
                        // if necessary
-                       if (name == "\\lyxdot") {
+                       if (name == "\\lyxdot" || name == "\\lyxarrow") {
                                p.skip_spaces();
                                in_lyx_preamble = true;
                        }