mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
tex2lyx/Preamble.cpp: handle \LyX
The definition for \LyX is re-added if the file contains \LyX
This commit is contained in:
parent
111df7b600
commit
9960709fc2
@ -1557,7 +1557,7 @@ void Preamble::parse(Parser & p, string const & forceclass,
|
|||||||
// \lyxline is an ancient command that is converted by tex2lyx into
|
// \lyxline is an ancient command that is converted by tex2lyx into
|
||||||
// a \rule therefore remove its preamble code
|
// a \rule therefore remove its preamble code
|
||||||
if (name == "\\lyxdot" || name == "\\lyxarrow"
|
if (name == "\\lyxdot" || name == "\\lyxarrow"
|
||||||
|| name == "\\lyxline") {
|
|| name == "\\lyxline" || name == "\\LyX") {
|
||||||
p.skip_spaces();
|
p.skip_spaces();
|
||||||
in_lyx_preamble = true;
|
in_lyx_preamble = true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user