alias BuildPageInsertCallback
This callback is called when the pagebuilder adds an insert. There is not much control over this mechanism but this callback permits some last minute manipulations of the spacing before an insert, something that might be handy when for instance multiple inserts (types) are appended in a row.
Reference:
n
the insert classi
the order of the insert
The return value is a number indicating the skip register to use for the
prepended spacing. This permits for instance a different top space (when i
equals one) and intermediate space (when i
is larger than one). Of
course you can mess with the insert box but you need to make sure that LuaTeX
is happy afterwards.
Reference:
- Corresponding C source code: buildpage.c#L507
😱 Types incomplete or incorrect? 🙏 Please contribute!