mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix bug #11716
Close \lyx*displayobjdeleted so that the correct macro is used for the following deleted material.
This commit is contained in:
parent
ac8aa981db
commit
45f8254cbd
@ -2732,6 +2732,16 @@ void Paragraph::latex(BufferParams const & bparams,
|
||||
runningChange, style, i, column);
|
||||
if (incremented)
|
||||
--parInline;
|
||||
|
||||
if (runparams.ctObject == OutputParams::CT_DISPLAYOBJECT
|
||||
|| runparams.ctObject == OutputParams::CT_UDISPLAYOBJECT) {
|
||||
// Close \lyx*deleted and force its
|
||||
// reopening (if needed)
|
||||
os << '}';
|
||||
column++;
|
||||
runningChange = Change(Change::UNCHANGED);
|
||||
runparams.ctObject = OutputParams::CT_NORMAL;
|
||||
}
|
||||
}
|
||||
} else if (i >= start_pos && (end_pos == -1 || i < end_pos)) {
|
||||
if (!bparams.useNonTeXFonts)
|
||||
|
Loading…
Reference in New Issue
Block a user