Skip to main content

Module core_interface

Module core_interface 

Source

Structs§

DigestionOptions

Enums§

AdaptiveOutcome
What DigestionAPI::digest_adaptive produced: the whole eager box list, or a finished streamed document when the run crossed the spill watermark.

Constants§

LATEXML_VERSION
The latexml-oxide version exposed to bindings as the state value LATEXML_VERSION — the Rust analog of Perl’s $LaTeXML::VERSION. This is our own crate version (latexml_oxide), not the emulated Perl LaTeXML’s, rendered as a bare X.Y.Z: Cargo’s _MAJOR/_MINOR/_PATCH components drop any -rc/pre-release suffix, so a version-gate parser (BookML’s .ltxml check or the XSLT b:version-leq) sees three integer parts. latexml_contrib and latexml_post can’t read this crate’s version directly (reverse dep), so it is injected via state at session init and read back where needed.

Traits§

DigestionAPI

Functions§

digest_setup_count
See DIGEST_SETUP_COUNT.
release_core_state_for_post
Release core TeX/LaTeX engine state before post-processing begins on large or split documents, returning freed arena/state memory to the OS while keeping end-of-run diagnostics (REPORT, LOGGER, telemetry, watchdog) intact. See latexml_core::release_core_state_for_post.