From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/749 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: All Right. Good Headers and Footers! Date: Thu, 26 Aug 1999 10:35:51 -0700 Sender: owner-ntg-context@LET.UU.NL Message-ID: <3.0.5.32.19990826103551.00b49100@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035391591 26721 80.91.224.250 (23 Oct 2002 16:46:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:46:31 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: pragma@wxs.nl Xref: main.gmane.org gmane.comp.tex.context:749 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:749 Hans, All right! This works. \setupheadertexts [{\framed[width=\hsize,frame=off,bottomframe=on]{Chapter {\getmarking[chapternumber][first]}. {\getmarking[chapter][first]\hfill\pagenumber}}}] [] [{\framed[width=\hsize,frame=off,bottomframe=on]{Section {\getmarking[sectionnumber][first]}. {\getmarking[section][first]\hfill\pagenumber}}}] [] But I am still not sure how to work in your suggestion below. At least I understand why you want to do this now, as I have a page with .Section (Underlined) that looks pretty bad. \doifcontent {Chapter \getmarking[chapternumber][first].\space} {} {} \hbox{\getmarking[chapter][first]}