From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1235 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: special header/footer for section page Date: Mon, 15 Nov 1999 12:32:26 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.19991115123226.010f7ca0@pop.wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035392068 31034 80.91.224.250 (23 Oct 2002 16:54:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:54:28 +0000 (UTC) Cc: NTG-ConTeXt mailing list Original-To: ecashin@coe.uga.edu (Ed L. Cashin) In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:1235 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1235 At 03:35 PM 11/12/99 -0500, Ed L. Cashin wrote: >I am trying to do something described at the end of section 4.17 of >the english manual: altering the headers and footers at the beginning >of a section. > >The normal headertexts look funny on the start of a section, so I'm >trying to get a blank header with the pagenumber in the middle of the >footer for the first page of a section only. Here is what I'm using, >but it doesn't act as I would expect: > \setuphead [section] > [number=no,style=bold,textcommand=\BoxedSection, > before=\blank,after=\blank, > header=high,footer=section] say: page=right (or yes) and it will work. This feature only makes sense when you also let the header command takes care of going to a new page, else synchronization is not possible. For chapters, page=right is default. > \def\BoxedSection#1% > {\framed[strut=yes,width=broad,height=1cm,corner=round]{{\bfb #1}}} ^^^^^^^^^ = default no: ^^^ setting style=\bfb in \setuphead is better > \starttext > > \noheaderandfooterlines > \completecontent > \page > > \section{I Wuv Emacs} % expect no header, pagenumber in footer > % like at the end of the English > % manual, section 4.17 > Emacs is so fly. > \page > Vi is very nice too. > > \stoptext > >(BTW, Hans: I did take your suggestion and set the default interface >to English in texexec.ini, but using a makefile like this is a bit >more robust, since redhat tetex rpms come with the default interface >set to Dutch.) > >Any pointers would be most appreciated. You can also add a first line % interface=en output=pdftex to the tex file. texexex will pick up this line. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------