Skip to main content

lock_waits_for_class

Function lock_waits_for_class 

Source
pub fn lock_waits_for_class() -> bool
Expand description

Whether a lock waits for the class declaration (DG D-49, OXIDIZED_DESIGN_DIVERGENCES #1195): a LaTeX-route document’s own definition made before \documentclass/\documentstyle goes through, since a class’s bindings arrive with the class (Perl’s timeline: the author’s meaning until the class pool loads, the binding after); a definition after the class stays refused. The Colli/Gilardi/Sprekels header \def\LaTeX{\let\Begin\begin\let\End\end\let\salta\relax}\LaTeX (1307.1572, 0902.4741, 1103.4585) runs before its class, after the preload has loaded the format with its locked \LaTeX. Not in a format build (--init), which reads plain.tex at the document’s origin and has no class declaration.