commit 386d9953e83a35dcc3b0f173faa92d9e9fc16f0f Author: Juergen Spitzmueller <sp...@lyx.org> Date: Sun Mar 11 19:49:28 2018 +0100
amend 11e4a24e6edbd1f --- src/tex2lyx/Preamble.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 50a56e8..247422e 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -1600,12 +1600,13 @@ void Preamble::parse(Parser & p, string const & forceclass, continue; } - else if (t.cs() == "date") { + if (t.cs() == "date") { string argument = p.getArg('{', '}'); if (argument.empty()) h_suppress_date = "true"; else h_preamble << t.asInput() << '{' << argument << '}'; + continue; } if (t.cs() == "color") {