Redirect native TeX diagnostics to real output streams

This commit is contained in:
gloamxun committed 2026-11-21 05:38:05 +08:00
1 parent 6ebcb75794
commit 6675ab639a
11 files changed
+540 -21

No files matched your search

@@ -413,6 +413,7 @@ pub enum Dependency {
EscapeChar,
InteractionMode,
GroupState,
ConditionalState,
AssignmentState,
TokenParameter(TokenParameter),
GlobalDefs,
@@ -485,6 +486,11 @@ pub enum Event {
MissingGlyph(MissingGlyph),
ShowBox(ShowBoxReport),
Show(ShowReport),
ShowRedirected {
stream: u8,
text: String,
span: Span,
},
BuiltParagraph(Box<NativeParagraph>),
BuiltMath(Box<NativeMath>),
BuiltDisplay(Box<NativeDisplay>),