ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: special header/footer for section page
Date: Mon, 15 Nov 1999 12:32:26 +0100	[thread overview]
Message-ID: <3.0.6.32.19991115123226.010f7ca0@pop.wxs.nl> (raw)
In-Reply-To: <m3vh77cut1.fsf@kali.coe.uga.edu>

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
-----------------------------------------------------------------


  parent reply	other threads:[~1999-11-15 11:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-12 20:35 Ed L. Cashin
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 [this message]
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=3.0.6.32.19991115123226.010f7ca0@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).