Fix bug 11667

When automatic command termination was added to texstream it was
forgotten to reset its status after a math inset.

(cherry picked from commit 0573bf92e0)
This commit is contained in:
Enrico Forestieri 2019-09-28 16:08:06 +02:00
parent 37f987afc9
commit fe426c2db8
2 changed files with 4 additions and 1 deletions

View File

@ -373,9 +373,10 @@ void InsetMathNest::latex(otexstream & os, OutputParams const & runparams) const
Changer dummy = wi.changeRowEntry(TexRow::textEntry(runparams.lastid,
runparams.lastpos));
write(wi);
// Reset parbreak status after a math inset.
// Reset parbreak and command termination status after a math inset.
os.lastChar(0);
os.canBreakLine(wi.canBreakLine());
os.terminateCommand(false);
}

View File

@ -110,6 +110,8 @@ What's new
- Fix problem with included objects with Linkback service on Mac (bug 6961).
- Fix termination of commands after math insets (bug 11667).
* USER INTERFACE