Changes

Jump to navigation Jump to search
18 bytes added ,  18:47, 25 August 2022
= Setting up Header Texts =
As already shown in the section about Nesting 1: Functions also context.setupheadertexts need needs to be called with functions. On top of this we need to know, that once context.setupheadertexts is executed it is not frozen. This makes it necessary, that we need to add "return true" inside each used function() call. This makes sure that the called function stays around until the run is finished.
A complete setup of header texts in a double-sided ConTeXt Lua Document could look then like this
48

edits

Navigation menu