ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "luigi scarso" <luigi.scarso@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: pagenumber in header line.-SOLVED
Date: Wed, 31 Jan 2007 09:55:52 +0100	[thread overview]
Message-ID: <fe8d59da0701310055m24bd34bdx3a753fb1c163e3e2@mail.gmail.com> (raw)
In-Reply-To: <200701301113.34905.john@wexfordpress.com>

> I received a few solutions that didn't work for me.  Thanks to those who wrote
> me. But a little plain TeX trickery did it nicely as follows:
>
> ---------------------------------------------------------------------------
> \setupheadertexts[text]
> [][\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil]
> [\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil][]
> -------------------------------------------------------------------------
hmm, I prefear
 \setupheadertexts[text]%
[]%
[{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]%
[{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}]%
[]%
%%%
or an "ascii-visual" code
 \setupheadertexts[text]%
[][{\CapStretch{INVESTING ON AUTOPILOT}\kern 1em\number\pageno\hfil}]%
[{\number\pageno\kern 1em \CapStretch{ROBERT S. CABLE}\hfil}][]%
%%%
I believe that with '{...}'  things are more robusts
(btw I don't see many differences from my '2 cents' )

>
> Since a centered header with page number included is a recurring requirement
> perhaps this should go in the wiki. Or perhaps not :<)

hmm, did you seen
wiki.contextgarden.net/Headers_and_Footers

luigi

      reply	other threads:[~2007-01-31  8:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 16:13 John R. Culleton
2007-01-31  8:55 ` luigi scarso [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=fe8d59da0701310055m24bd34bdx3a753fb1c163e3e2@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).