mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
tex2lyx/Preamble.cpp: handle \lyxarrow
this fixes error 20 in bug #9565
This commit is contained in:
parent
77c8599658
commit
a7db473445
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user