struct

Pomtex::Core::Toolchain

Inherits Struct < Value < Object

A usable TeX installation: either the user's system TeX or the pomtex rind.

Constants

ENGINES = {"pdflatex", "xelatex", "lualatex"}

Constructors

Instance methods

bin_dir
Source
engines
Source
executable(name : String) : String | Nil
Source
has_engine?(engine : String) : Bool
Source
kpsewhich
Source
locate(files : Enumerable(String), env : Hash(String, String)) : Set(String)

Asks kpathsea which of files it can already see (with the aril tree mounted through env). Returns the subset of names that resolved.

Source
lookup(files : Enumerable(String), env : Hash(String, String)) : Hash(String, String)

Like locate, but maps each name kpathsea resolved to its full path.

Source
origin
Source
texlive_year

The TeX Live release of this installation, e.g. 2025: from its package database when it has one (TeX Live, the rind), else from pdftex --version ("pdfTeX 3.141592653-2.6-1.40.27 (TeX Live 2025/Arch Linux)").

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source

Nested types