mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Fix tex2lyx corner case (#12537)
This commit is contained in:
parent
d35753a6d0
commit
5bf7f938a4
@ -3742,7 +3742,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t.cs() == "appendix") {
|
if (t.cs() == "appendix" && !context.in_list_preamble) {
|
||||||
context.add_par_extra_stuff("\\start_of_appendix\n");
|
context.add_par_extra_stuff("\\start_of_appendix\n");
|
||||||
// We need to start a new paragraph. Otherwise the
|
// We need to start a new paragraph. Otherwise the
|
||||||
// appendix in 'bla\appendix\chapter{' would start
|
// appendix in 'bla\appendix\chapter{' would start
|
||||||
|
Loading…
Reference in New Issue
Block a user