commit a7db4734453af0cb5f4c5566583a1dc96011ee29
Author: Uwe Stöhr <[email protected]>
Date:   Mon May 25 01:40:59 2015 +0200

    tex2lyx/Preamble.cpp: handle \lyxarrow
    
    this fixes error 20 in bug #9565

diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index f48da7a..756db7d 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -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;
                        }

Reply via email to