mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +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
|
||||
// a \rule therefore remove its preamble code
|
||||
if (name == "\\lyxdot" || name == "\\lyxarrow"
|
||||
|| name == "\\lyxline") {
|
||||
|| name == "\\lyxline" || name == "\\LyX") {
|
||||
p.skip_spaces();
|
||||
in_lyx_preamble = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user