ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* completecontent, completelistoffigures and headertexts
@ 2006-01-11 21:41 Renaud AUBIN
  2006-01-12  9:21 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Renaud AUBIN @ 2006-01-11 21:41 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:  completecontent, completelistoffigures and headertexts
  2006-01-11 21:41 completecontent, completelistoffigures and headertexts Renaud AUBIN
@ 2006-01-12  9:21 ` Taco Hoekwater
  0 siblings, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2006-01-12  9:21 UTC (permalink / raw)



Hi,


Renaud AUBIN wrote:
> 
> 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 ?
> 

I would fake the marks, because that's the easiest solution.

\startfrontmatter
   \setupheadertexts[][{\sl \getmarking[chapter]}]
   \setuppagenumbering[conversion=romannumerals]
   \setuppagenumber[number=1]

   \page \marking[chapter]{\sl Table des matières}
   \completecontent[alternative=c,criterium=all,interaction=all]

   \page \marking[chapter]{\sl Figures}
   \completelistoffigures[alternative=c,criterium=all,interaction=all]
   \component src/chapters/c_intro
\stopfrontmatter

Cheers, Taco

^ permalink raw reply	[flat|nested] 3+ messages in thread

* completecontent, completelistoffigures and headertexts
@ 2006-01-11 14:24 Renaud AUBIN
  0 siblings, 0 replies; 3+ messages in thread
From: Renaud AUBIN @ 2006-01-11 14:24 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-12  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-11 21:41 completecontent, completelistoffigures and headertexts Renaud AUBIN
2006-01-12  9:21 ` Taco Hoekwater
  -- strict thread matches above, loose matches on Subject: below --
2006-01-11 14:24 Renaud AUBIN

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).