tex2lyx/Preamble.cpp: handle \lyxarrow

this fixes error 20 in bug #9565
This commit is contained in:
Uwe Stöhr 2015-05-25 01:40:59 +02:00
parent 77c8599658
commit a7db473445

View File

@ -1552,9 +1552,9 @@ void Preamble::parse(Parser & p, string const & forceclass,
in_lyx_preamble = true; 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 necessary
if (name == "\\lyxdot") { if (name == "\\lyxdot" || name == "\\lyxarrow") {
p.skip_spaces(); p.skip_spaces();
in_lyx_preamble = true; in_lyx_preamble = true;
} }