Report active native math alignment and output lists

This commit is contained in:
gloamxun committed 2026-11-21 06:26:49 +08:00
1 parent 3ed2c2cd54
commit d02777a1fc
12 files changed
+779 -199

No files matched your search

@@ -3,11 +3,12 @@ use super::*;
#[derive(Clone)]
pub(super) struct OutputFrame {
depth: usize,
paragraph: Option<super::super::paragraph::Builder>,
vertical: VerticalBuilder,
math: Vec<super::super::math::MathBuilder>,
display: Option<super::display::DisplayFrame>,
pub(super) depth: usize,
pub(super) span: Span,
pub(super) paragraph: Option<super::super::paragraph::Builder>,
pub(super) vertical: VerticalBuilder,
pub(super) math: Vec<super::super::math::MathBuilder>,
pub(super) display: Option<super::display::DisplayFrame>,
}
impl OutputFrame {
pub(super) fn collect_statistics(&self, c: &mut super::super::statistics::Collector) {
@@ -151,6 +152,7 @@ impl Executor {
}
self.output_frame = Some(OutputFrame {
depth: self.state.group_depth() + 1,
span: self.current,
paragraph: self.paragraph.take(),
vertical: std::mem::take(&mut self.vertical),
math: std::mem::take(&mut self.math),