diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index 55d2d9fe7c..c334de5c5c 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -3652,7 +3652,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, } else if (t.cs() == "makeindex" - || (t.cs() == context.textclass.titlename() + || ((t.cs() == "maketitle" || t.cs() == context.textclass.titlename()) && context.textclass.titletype() == TITLE_COMMAND_AFTER)) { if (preamble.titleLayoutFound()) { // swallow this