mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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;
|
||||
}
|
||||
|
||||
if (t.cs() == "appendix") {
|
||||
if (t.cs() == "appendix" && !context.in_list_preamble) {
|
||||
context.add_par_extra_stuff("\\start_of_appendix\n");
|
||||
// We need to start a new paragraph. Otherwise the
|
||||
// appendix in 'bla\appendix\chapter{' would start
|
||||
|
Loading…
Reference in New Issue
Block a user