ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: alkauffm@rz.uni-potsdam.de, ntg-context@ntg.nl
Subject: Re: combined header texts
Date: Wed, 31 Jan 2001 10:48:51 +0100	[thread overview]
Message-ID: <3.0.6.32.20010131104851.01dfdb90@server-1> (raw)
In-Reply-To: <3A779FFB.5070106@pobox.com>

At 06:17 AM 1/31/01 +0100, Berend de Boer wrote:
>Albrecht Kauffmann wrote:
>
> > can someone, please,  give me advice how to create headertexts, which
> > should to content the chapternumber, the sectionnumber and the
> > section? That is, e.g. "1.1 Einführung".
>
>Here an example:
>
>
>\setupfooter
>   [style=\sl]
>
>\setupheader
>   [style=\sl]
>
>\setupheadertexts
>   [chapter][section]
>
>\setupfootertexts
>   [My document][]
>
>
>See docs for valid contents of \setupheadertexts and \setupfootertexts.

You can also explicitly ask for a marking, 

\setupheadertexts
  [{\getmarking[sectionnumber}\quad{\getmarking[section]}]
  []

an optional second arg let you specify what specific mark you want 

\getmarking[section][first last previous both all]

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


      reply	other threads:[~2001-01-31  9:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 18:09 math fonts Albrecht Kauffmann
2001-01-30 11:09 ` Hans Hagen
2001-01-30 13:19   ` S2P development
2001-01-30 15:20     ` Hans Hagen
2001-01-30 23:57       ` combined header texts Albrecht Kauffmann
2001-01-31  5:17         ` Berend de Boer
2001-01-31  9:48           ` Hans Hagen [this message]

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.20010131104851.01dfdb90@server-1 \
    --to=pragma@wxs.nl \
    --cc=alkauffm@rz.uni-potsdam.de \
    --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).