Skip to main content

ensure_format_dumps

Function ensure_format_dumps 

Source
pub fn ensure_format_dumps()
Expand description

Ensures each format has a dump built from this process’s TeX tree, building any that has none into the cache. Once per process, before the first session loads a format; nothing to do without a TeX tree, under LATEXML_NODUMP, or while a format is being built (--init, or the thread building one here). A format that cannot be built is reported once, as a Warning on stderr (not under --quiet) and in each conversion’s log (converter::note_format_build_failure), and loads from the engine’s definitions. A build changes the process’s working directory while it runs (see build), so it belongs before the process converts anything.