mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #11174
Apparently, a new paragraph is started after a float even if
no blank line is actually present. So, account for this fact.
(cherry picked from commit f6922b8c88
)
This commit is contained in:
parent
567e94347a
commit
49c0021306
@ -402,6 +402,10 @@ void InsetFloat::latex(otexstream & os, OutputParams const & runparams_in) const
|
||||
|
||||
// Force \end{<floatname>} to appear in a new line.
|
||||
os << breakln << "\\end{" << from_ascii(tmptype) << "}\n";
|
||||
|
||||
// A new paragraph is always started after a float. Hence, simulate a
|
||||
// blank line so that os.afterParbreak() returns true (see bug 11174).
|
||||
os.lastChar('\n');
|
||||
}
|
||||
|
||||
|
||||
|
@ -159,6 +159,8 @@ What's new
|
||||
- Fixed the last python scripts to support both python 2 and 3 (bug 11101). All
|
||||
scripts should now be able to run in a python 3 only environment.
|
||||
|
||||
- Correctly strike-out deleted math immediately following a float (bug 11174).
|
||||
|
||||
|
||||
* LYX2LYX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user