ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: completecontent, completelistoffigures and headertexts
Date: Wed, 11 Jan 2006 22:41:17 +0100	[thread overview]
Message-ID: <43C57B7D.70904@nibua-r.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1418 bytes --]


Hi all,

Assume that I have a document with more than one page for 
\completecontent and \completelistoffigures. My frontmatter is:

\startfrontmatter
  \completecontent[alternative=c,criterium=all,interaction=all]
  \completelistoffigures[alternative=c,criterium=all,interaction=all]
  \component src/chapters/c_intro
  \stopfrontmatter

I want chapter mark within the header:

\startfrontmatter
  \completecontent[alternative=c,criterium=all,interaction=all]
  \completelistoffigures[alternative=c,criterium=all,interaction=all]
\setupheadertexts[][{\sl \getmarking[chapter]}]
  \component src/chapters/c_intro
  \stopfrontmatter

After that, I would obtain a "title" within my completecontent and 
completelof headers :

\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\setuppagenumber[number=1]
\setupheadertexts[][{\sl Table des matières}]
  \completecontent[alternative=c,criterium=all,interaction=all]
\setupheadertexts[][{\sl Table des matières}]
  \completelistoffigures[alternative=c,criterium=all,interaction=all]
\setupheadertexts[][{\sl \getmarking[chapter]}]
  \component src/chapters/c_intro
  \stopfrontmatter

I doesn't work as I want since I have:
completecontent page>1 header : Figures
completelof page>1 header : none
introduction page>1 header: Introduction

Is there any proper solution I don't know ? Sure, but which ?


Cheers,



[-- Attachment #1.2: Type: text/html, Size: 2190 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2006-01-11 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 21:41 Renaud AUBIN [this message]
2006-01-12  9:21 ` Taco Hoekwater
  -- strict thread matches above, loose matches on Subject: below --
2006-01-11 14:24 Renaud AUBIN

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=43C57B7D.70904@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).