ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
Subject: Re: \setupheadertexts
Date: Fri, 5 Sep 2003 06:11:39 -0400	[thread overview]
Message-ID: <200309050611.39285.john@wexfordpress.com> (raw)
In-Reply-To: <3F415412.C5B1FF60@gmx.de>

On Monday 18 August 2003 18:32, Tobias Burnus wrote:
> Hi,
>
> John Culleton wrote:
> > I want to have chapter names in the header text and I want them in
> > boldface.
>
> How about:
>   \setupheader[text][style=bold]
>   \setupheadertexts[text][My book][chapter]
>
> or alternatively,
>   \setupheadertexts[text][{\bf My book}][{\it \getmarking[chapter]}]
>
> Tobias

Well, I am almost home! My customer now prefers Small Caps letterspaced 
rather than  bold.  So I used example two above and an earlier post 
from Bill McClain to come up with this combination:

%First, the macros for extended (letterspaced) text:

\def\CapStretchAmount{.18em}
\def\CapStretch#1{\def\stretchedspaceamount{\CapStretchAmount}
\stretchednormalcase{#1}}

%Then the header text macro:

\setupheadertexts[text][][{\sc \getmarking[chapter]}][{\CapStretch{\sc 
The Health Seeker's Handbook}}][]

Out of  this melange I get small caps extended for the book title on the 
verso header.  But I can't seem to find the combination for both 
\CapStretch and \getmarking on the recto header.  Any attempt to insert 
\CapStretch on that side converts the chapter name back to the literal 
word "chapter".  I have tried brackets, curly braces etc. in various 
combinations.

Any hints appreciated.  
-- 
John Culleton
Able Indexers and Typesetters
http://wexfordpress.com



____________________________________________________________
Free 20MB Web Site Hosting and Personalized E-mail Service!
Get It Now At Doteasy.com http://www.doteasy.com/et/

      reply	other threads:[~2003-09-05 10:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-18 17:57 \setupheadertexts John Culleton
2003-08-18 22:32 ` \setupheadertexts Tobias Burnus
2003-09-05 10:11   ` John Culleton [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=200309050611.39285.john@wexfordpress.com \
    --to=john@wexfordpress.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).