ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: Re: headers of multiple pages toc
Date: Tue, 03 Jan 2006 20:56:50 +0100	[thread overview]
Message-ID: <43BAD702.6070907@nibua-r.org> (raw)
In-Reply-To: <43BAB8B3.8010909@wxs.nl>

Hans Hagen a écrit :

>
> just use \chapter{...} and \placecontent in a \startfrontmatter .. 
> \stopfrontmatter section
>
> Hans


I use :

\setupheadertexts[][chapter]
 
  \startfrontmatter
\setupheadertexts[][{\sl \getmarking[chapter]}]
\setuppagenumbering[conversion=romannumerals]
\setuppagenumber[number=1]
  \completecontent[alternative=c]
  \completelistoffigures[alternative=c]
  \component src/chapters/c_intro
  \stopfrontmatter

+

\setuphead[chapter][command=\ChapterHeader, style=\tfd, header=high]
 
  \def\ChapterHeader#1#2{%
    \framedtext
      [width= \overlaywidth,
        height=12\bodyfontsize,
        background={foreground,HeaderDeco},
        offset=0pt,
        strut=no,
        frame=off,
        align=left]{%
        \blank[4\bodyfontsize,force]
        #1
        \blank[small]
        #2}}
 
\setupbackgrounds[header][text][bottomframe=on]
\setupbackgrounds[footer][text][topframe=on]

...in my environment.
My component c_intro contains a chapter on multiple page, the header 
text and bottom frame work but I haven't any header text while header 
bottom frame work in toc and lof

Cheers,

  reply	other threads:[~2006-01-03 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-03 10:54 Renaud AUBIN
2006-01-03 17:47 ` Hans Hagen
2006-01-03 19:56   ` Renaud AUBIN [this message]
2006-01-04 10:14   ` Renaud AUBIN
2006-01-06 23:18 followtokens & font color Renaud AUBIN
2006-01-07 14:27 ` headers of multiple pages toc Willi Egger

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=43BAD702.6070907@nibua-r.org \
    --to=aubin@nibua-r.org \
    --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).