From: ecashin@coe.uga.edu (Ed L. Cashin)
Subject: special header/footer for section page
Date: 12 Nov 1999 15:35:22 -0500 [thread overview]
Message-ID: <m3vh77cut1.fsf@kali.coe.uga.edu> (raw)
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/
next reply other threads:[~1999-11-12 20:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-12 20:35 Ed L. Cashin [this message]
1999-11-13 15:15 ` Berend de Boer
1999-11-13 23:56 ` Ed L. Cashin
1999-11-15 6:43 ` Berend de Boer
1999-11-15 8:37 ` Hans Hagen
1999-11-16 10:03 ` Taco Hoekwater
1999-11-15 11:32 ` Hans Hagen
1999-11-13 15:11 Berend de Boer
1999-11-15 8:46 ` Hans Hagen
1999-11-15 6:32 Berend de Boer
1999-11-15 18:42 Berend de Boer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vh77cut1.fsf@kali.coe.uga.edu \
--to=ecashin@coe.uga.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).