On Thu, Oct 13, 2011 at 22:19, Wolfgang Schuster wrote:
Am 13.10.2011 um 22:10 schrieb Mojca Miklavec:
Hello,
the following example might not be the most minimal possible example, but I hope that it is short enough. I'm using \setupheadertexts [] [subject] to print subject into header, but the headers are screwed up in some very weird way. My real document behaves differently that this minimal example, but even here one can notice that headers say: - This is first heading - This is fourth heading - This is second heading - This is fourth heading instead of getting the second heading.
Add “expansion=yes” to \setuphead.
Thank you. Black magic worked. Assuming that one would want to explain that option in reference manual - what would be some short and clear explanation? When do I need to use expansion? Mojca