From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1216 Path: main.gmane.org!not-for-mail From: ecashin@coe.uga.edu (Ed L. Cashin) Newsgroups: gmane.comp.tex.context Subject: special header/footer for section page Date: 12 Nov 1999 15:35:22 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035392051 30922 80.91.224.250 (23 Oct 2002 16:54:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:54:11 +0000 (UTC) Original-To: NTG-ConTeXt mailing list Xref: main.gmane.org gmane.comp.tex.context:1216 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1216 Hi. (Is "Groetjes" greetings?) 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: \setuppagenumbering [location=] \setupheader [style=slanted] \setupheadertexts [text][Text Editing][pagenumber] \definetext [section][footer][pagenumber] \setuphead [section] [number=no,style=bold,textcommand=\BoxedSection, before=\blank,after=\blank, header=high,footer=section] \def\BoxedSection#1% {\framed[strut=yes,width=broad,height=1cm,corner=round]{{\bfb #1}}} \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 Here's the makefile: DOC = sectionhead $(DOC).pdf : $(DOC).tex makefile time texexec --interface=en --pdf $(DOC) < /dev/null (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. -- --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/