22 Dec
2011
22 Dec
'11
9:31 p.m.
Hello all, While preparing a cld-document I need to setup the headertexts on each new page. I tried to do this with the following code: \setuplayout [topspace=2.5cm, backspace=1.5cm, header=40pt, footer=20ptpt, height=middle, width=middle] \setuppagenumbering[location=footer] %\showframe \startluacode function myheadertext(s) context.setupheadertexts{context(s)} --context.labeltext(s) end \stopluacode \starttext \ctxluamyheadertext{"Headertext"}} \input knuth \stoptext Hm, what I get is a right-square-bracket in front of the text and no header. - What do I miss? Kind regards Willi