Expand description
Typesetting: shared state, hooks and small helpers.
The typesetting routines are spread over several modules:
crate::build— list building in main control (§1055–§1135);crate::hmode— characters, spaces and discretionaries;crate::pack—hpackandvpack(§644–§679);crate::nodeproc— LuaTeX’s hyphenation, ligaturing and kerning passes;crate::linebreak— breaking paragraphs into lines (§813–§890);crate::page—\vsplit, the page builder, the output routine and\shipout(§967–§1028);crate::align— alignments (§768–§812);crate::showbox— displaying boxes.
Modules§
Structs§
- Marks
- Mark texts:
\topmark…\splitbotmarkfor each marks class. - PageIns
- An insertion class record on the current page (TeX’s page_ins nodes, §981).
- Page
State - The state of the page builder (§980–§982).
- TsState
- Mutable state of the typesetting routines.
Enums§
- Page
Contents - What the current page contains (
page_contents).
Constants§
- AWFUL_
BAD - Awful badness (
awful_bad). - DEPLORABLE
- Deplorable badness (
deplorable). - EJECT_
PENALTY - The penalty that forces a break (
eject_penalty). - INF_BAD
- Infinite badness (
inf_bad). - INF_
PENALTY - The infinite penalty (
inf_penalty). - NULL_
FLAG - The “running” dimension of rules (
null_flag).
Functions§
- etex_
node_ type - e-TeX’s
\lastnodetypevalue for a node of LuaTeX typet: −1 none, 0 glyph, 1 hlist, 2 vlist, 3 rule, 4 ins, 5 mark, 6 adjust, 7 ligature, 8 disc, 9 whatsit, 10 math, 11 glue, 12 kern, 13 penalty, 14 unset, 15 math mode nodes.