pub struct PostOutcome {
pub html: String,
pub log: String,
pub status_code: usize,
pub pages: Vec<String>,
}Expand description
Result of run_post_processing_logged: the serialized HTML plus the
post-phase log text and status code, mirroring Perl LaTeXML.pm’s
convert_post, which flushes the log AFTER post and folds the post status
into the final max(core, post) verdict (L631-634).
Fields§
§html: StringSerialized post-processed output (same value as run_post_processing).
log: StringLog text captured during the post phase only — Graphics/MathML/XSLT
Info!/Warn!/post_error lines. Append to the core conversion log.
status_code: usizeStatus code read from the shared REPORT counter AFTER post. Because the
counter is NOT reset between core and post, this is already the combined
core+post code; callers still max() it with the core code as a
belt-and-suspenders guard for paths that force a fatal outside REPORT
(e.g. a catch_unwind-trapped panic).
pages: Vec<String>The pages written, in the order the post pipeline produced them — Split’s (the root, then each page
before its children), the order Perl’s @docs reaches Manifest::Epub::process in for the EPUB spine.