Skip to main content

Module typeset

Module typeset 

Source
Expand description

Typesetting: shared state, hooks and small helpers.

The typesetting routines are spread over several modules:

Modules§

mark_code
Mark kinds as indices into Marks entries.

Structs§

Marks
Mark texts: \topmark … \splitbotmark for each marks class.
PageIns
An insertion class record on the current page (TeX’s page_ins nodes, §981).
PageState
The state of the page builder (§980–§982).
TsState
Mutable state of the typesetting routines.

Enums§

PageContents
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 \lastnodetype value for a node of LuaTeX type t: −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.