Apply pdfTeX line box dimensions and restore output penalties
This commit is contained in:
1 parent
7f51f01bd4
commit
fb557c09c6
13 files changed
+151
-14
No files matched your search
@@ -240,6 +240,7 @@ impl Executor {
|
||||
math: std::mem::take(&mut self.math),
|
||||
display: self.display.take(),
|
||||
});
|
||||
self.vertical.prev_depth = self.read_ignored_depth();
|
||||
self.inputs.push(InputFrame::Tokens {
|
||||
tokens: InputTokens::Many(tokens.iter().cloned().map(InputToken::from).collect()),
|
||||
cursor: 0,
|
||||
@@ -303,6 +304,7 @@ impl Executor {
|
||||
self.display = frame.display;
|
||||
let page = self.native_page.as_mut().unwrap();
|
||||
page.output_active = false;
|
||||
page.insertions.penalties = 0;
|
||||
page.resume_contributions(nodes);
|
||||
page.requested = true;
|
||||
Ok(true)
|
||||
|
||||
Reference in new issue
Block a user