ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Table of contents and List of figures
@ 2006-04-30 17:13 WN
  2006-04-30 21:52 ` nico
  0 siblings, 1 reply; 4+ messages in thread
From: WN @ 2006-04-30 17:13 UTC (permalink / raw)



Question 1) :

In my document I am using 
\setupcombinedlist[content][alternative=c,aligntitle=no,width=4em]
and now I want to use the same layout for the list of figures but there 
is not something equivalent like
\setupcombinedlist[figure][alternative=c,aligntitle=no,width=4em]

Question 2):

In my document I am also using \part and in the TOC the part number 
prefixes the pagenumber like

Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . 1–1
1 De Maxwell vergelijkingen in vacuüm . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . 1–3
1.1 Inleiding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . 1–10
1.2 Behoud van lading . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . 1–20
1.3 Energie en impuls van het elektromagnetische veld . . . . . . . . . 
. . . . . . . . . . 1–35

I want to get rid of the partnumbers which are prefixed to the pagenumbers
so my TOC looks like

Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . 1
1 De Maxwell vergelijkingen in vacuüm . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . 3
1.1 Inleiding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2 Behoud van lading . . . . . . . . . . . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . . . . . . . 20
1.3 Energie en impuls van het elektromagnetische veld . . . . . . . . . 
. . . . . . . . . . 35

How can one achieve this in Context ?

Kind regards
Wim









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

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

* Re: Table of contents and List of figures
  2006-04-30 17:13 Table of contents and List of figures WN
@ 2006-04-30 21:52 ` nico
  2006-05-01 11:07   ` WN
  0 siblings, 1 reply; 4+ messages in thread
From: nico @ 2006-04-30 21:52 UTC (permalink / raw)


On Sun, 30 Apr 2006 19:13:34 +0200, WN <wneimeijer01@cs.com> wrote:

> Question 1) :
>
> In my document I am using
> \setupcombinedlist[content][alternative=c,aligntitle=no,width=4em]
> and now I want to use the same layout for the list of figures but there
> is not something equivalent like
> \setupcombinedlist[figure][alternative=c,aligntitle=no,width=4em]

The TOC is a combination of several lists (chapter, section, etc.), but a  
LOF is a single list.
Try:

\setuplist[figure][alternative=c,aligntitle=no,width=4em]

or:

\placelist[figure][alternative=c,aligntitle=no,width=4em]

> Question 2):
>
> In my document I am also using \part and in the TOC the part number
> prefixes the pagenumber like
>
> I want to get rid of the partnumbers which are prefixed to the  
> pagenumbers
> so my TOC looks like
>
> Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . 1

Try this:

\completecontent[partnumber=no]

Regards,
BG

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

* Re: Table of contents and List of figures
  2006-04-30 21:52 ` nico
@ 2006-05-01 11:07   ` WN
  2006-05-01 12:10     ` nico
  0 siblings, 1 reply; 4+ messages in thread
From: WN @ 2006-05-01 11:07 UTC (permalink / raw)



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

nicolas.marsgui@libertysurf.fr wrote:
> On Sun, 30 Apr 2006 19:13:34 +0200, WN <wneimeijer01@cs.com> wrote:
>
>   
>> Question 1) :
>>
>> In my document I am using
>> \setupcombinedlist[content][alternative=c,aligntitle=no,width=4em]
>> and now I want to use the same layout for the list of figures but there
>> is not something equivalent like
>> \setupcombinedlist[figure][alternative=c,aligntitle=no,width=4em]
>>     
>
> The TOC is a combination of several lists (chapter, section, etc.), but a  
> LOF is a single list.
> Try:
>
> \setuplist[figure][alternative=c,aligntitle=no,width=4em]
>
> or:
>
> \placelist[figure][alternative=c,aligntitle=no,width=4em]
>
>   
>> Question 2):
>>
>> In my document I am also using \part and in the TOC the part number
>> prefixes the pagenumber like
>>
>> I want to get rid of the partnumbers which are prefixed to the  
>> pagenumbers
>> so my TOC looks like
>>
>> Deel I Klassieke Elektrodynamica . . . . . . . . . . . . . . . . . . 1
>>     
>
> Try this:
>
> \completecontent[partnumber=no]
>
> Regards,
> BG
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   
Both your solutions work, great !! Thanks

BTW One question, as I am still learning Context (simple user), but 
where did you find these options for \completecontent  ?
I could not find it in the manuals, Wiki and this mailing list.

Kind regards

Wim





[-- Attachment #1.2: Type: text/html, Size: 2265 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] 4+ messages in thread

* Re: Table of contents and List of figures
  2006-05-01 11:07   ` WN
@ 2006-05-01 12:10     ` nico
  0 siblings, 0 replies; 4+ messages in thread
From: nico @ 2006-05-01 12:10 UTC (permalink / raw)


On Mon, 01 May 2006 13:07:08 +0200, WN <wneimeijer01@cs.com> wrote:

> Both your solutions work, great !! Thanks
>
> BTW One question, as I am still learning Context (simple user), but
> where did you find these options for \completecontent  ?
> I could not find it in the manuals, Wiki and this mailing list.

It's in the big manual (cont-enp), in the section "References/Table of  
contents". The complete list of options is given for setuplist (p 150),  
and examples of placelist are given (p 155-159). The manual is far  
complete but need a careful read (many information in few pages).

Regards,
BG

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-30 17:13 Table of contents and List of figures WN
2006-04-30 21:52 ` nico
2006-05-01 11:07   ` WN
2006-05-01 12:10     ` nico

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