Am 03.09.2013 um 16:02 schrieb Michael Scholtz
If chapter titles are styled using the `before` option, the header texts on each first page of the documents (body|back|appendix)part are incorrect, because chapter name and number are empty. (Tested with ConTeXt version 2013.05.28 00:36 and 2013.09.03 10:22)
Is this a bug? (If not, is there any other way to set `before` without breaking the headers?)
It’s the wrong method to add rules at the begin/end of a heading. A better way to add rules is to put a frame around the text. \defineframedtext [ChapterFrame] [frame=off, width=\textwidth, topframe=on, bottomframe=on, offset=0pt, toffset=1ex, boffset=1ex] \setuphead [chapter] [before=\startChapterFrame, after=\stopChapterFrame] Wolfgang