From: Uwe Stöhr Date: Sun, 24 May 2015 23:40:59 +0000 (+0200) Subject: tex2lyx/Preamble.cpp: handle \lyxarrow X-Git-Tag: 2.2.0alpha1~647 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a7db4734453af0cb5f4c5566583a1dc96011ee29;p=features.git 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 f48da7ab90..756db7da59 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; }