tex2lyx: check for \maketitle also if other titlename is specified

Beamer for instance supports \maketitle, although we use \makebeamertitle
This commit is contained in:
Juergen Spitzmueller 2018-06-24 10:23:30 +02:00
parent 9c10816b84
commit 087a43ee1f

View File

@ -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