class

Pomtex::Engine::Runner

Inherits Reference < Object

Runs a TeX engine with the aril tree mounted into kpathsea's search paths.

Constructors

new(toolchain : Pomtex::Core::Toolchain, engine : String, source : Path | String, outdir : Path | String | Nil = nil)
Source

Class methods

environment(toolchain : Core::Toolchain) : Hash(String, String)

Environment for every TeX subprocess (engines and kpsewhich alike).

TEXINPUTS gets the aril tree prepended and a trailing separator (':', or ';' on Windows) so kpathsea still appends its compiled-in defaults; TEXMFAUXTREES exposes the same tree to every other file type (fonts, maps, encodings, bst, lua, ...).

Source
fontconfig_file

XeTeX finds fonts by name only through fontconfig, so pomtex keeps its own fonts.conf: the user's/system configuration plus the aril and rind font directories (fontconfig skips directories that do not exist).

Source
recorded_inputs(fls : String) : Array(Path)

Parses a .fls file into the files that were read but not written. Files the job writes and reads back (.aux, .toc, .out, ...) change on every run; watching them would trigger rebuilds forever.

Source

Instance methods

command
Source
engine
Source
environment
Source
extra_args
Source
extra_args=(extra_args : Array(String))
Source
fls_path

The -recorder log: every file the engine read or wrote.

Source
jobname
Source
log_path
Source
map_files
Source
map_files=(map_files : Array(String))
Source
outdir
Source
recorded_inputs

Files the last run read, from the -recorder log.

Source
run(stream : Bool = false) : Result
Source
source
Source
toolchain
Source

Nested types