mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
tex2lyx: check for \maketitle also if other titlename is specified
Beamer for instance supports \maketitle, although we use \makebeamertitle
This commit is contained in:
parent
9c10816b84
commit
087a43ee1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user