summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/minim/minim-alloc.doc
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/generic/minim/minim-alloc.doc')
-rw-r--r--macros/luatex/generic/minim/minim-alloc.doc15
1 files changed, 11 insertions, 4 deletions
diff --git a/macros/luatex/generic/minim/minim-alloc.doc b/macros/luatex/generic/minim/minim-alloc.doc
index b1f6ed77bd..f535320269 100644
--- a/macros/luatex/generic/minim/minim-alloc.doc
+++ b/macros/luatex/generic/minim/minim-alloc.doc
@@ -162,15 +162,21 @@ Finally, for the ⟦*simple⟧ callbacks
⟦process_rule⟧.
all registered functions are called in order with the same arguments.
-Two callbacks are new:
-the new ⟦*mlist_to_mlist⟧ callback is called before ⟦mlist_to_hlist⟧ and should
-not convert noads to nodes, while the ⟦*uselanguage⟧ callback is called from
-⟦\uselanguage⟧.
+Three callbacks are new:
+\startlist
+\item 1. ⟦*mlist_to_mlist⟧ is called before ⟦mlist_to_hlist⟧ and should not
+convert noads to nodes;
+\item 2. ⟦*uselanguage⟧ is called from ⟦\uselanguage⟧ and receives the
+language name (not the numerical id) as argument;
+\item 3. ⟦*pre_shipout⟧ is called just before a box is shipped out,
+opposite to ⟦finish_pdfpage⟧, and receives the to-be-shipped-out box number as
+argument.
If you create a new callback with a number for a name, that callback will
replace the ⟦*process_rule⟧ callback when its number matches the index property
of the rule.
+
\section PDF resources
This package can perform sophisticated pdf resource management, assigning to
@@ -269,6 +275,7 @@ Finally the function ⟦*M.table_to_text(table)⟧ may be useful when debugging
code: it dumps a table as a (lua-readable) string. Cyclic references will spin
in into an eternal loop, however.
+
\section Miscellaneous helper macros
On the tex side, ⟦*\voidbox⟧, ⟦*\ignore⟧, ⟦*\spacechar⟧, ⟦*\unbrace⟧,