Skip to main content

Module nodelib

Module nodelib 

Source
Expand description

The node library (LuaTeX manual §10.5) and node.direct.

Node userdata (LNode) and direct integers both refer to nodes in the engine’s arena. Type ids, subtypes and field names come from the data recorded from LuaTeX’s own node library (retex_engine::nodes::LUATEX_NODE_TYPES).

Structs§

LAttr
An attribute list as Lua sees it (n.attr): an opaque value that can be given to other nodes. LuaTeX returns an attribute_list node; here only assignment and comparison are supported.
LNode
A node userdata.

Functions§

install
Installs node and node.direct.