Queue top figures and flow following text around them
This commit is contained in:
1 parent
5a54386dee
commit
23cf1f13de
6 files changed
+131
-24
No files matched your search
@@ -1979,11 +1979,7 @@ impl Parser {
|
||||
self.figure_number += 1;
|
||||
}
|
||||
self.current_reference = self.figure_number.to_string();
|
||||
if self.figure_active
|
||||
&& !self.float_placement.is_empty()
|
||||
&& !self.float_placement.contains('h')
|
||||
&& (self.float_placement.contains('t') || self.float_placement.contains('p'))
|
||||
{
|
||||
if self.figure_active && self.float_placement.contains('p') {
|
||||
self.push_block(Block::PageBreak);
|
||||
}
|
||||
let index = self.document.blocks.len();
|
||||
|
||||
Reference in new issue
Block a user