Re: [NTG-context] Numbering in Table of Content

2010-08-20 Thread Riobard
Weird, it works for me now and I didn't recall updating at all!! :|

Now I have to figure out how to make it generate only one TOC with
mixed page numbering...

Thanks very much for your help! :)


Rio


On Sun, Aug 15, 2010 at 12:52 PM, Martin Althoff
martin.alth...@yahoo.com wrote:
 and it doesn't work. The title and subject parts never get
 into the generated TOC. Any idea why? Thanks very much!

 Not sure, seems to work for me. Though I do get two TOCs, one for front 
 matter, one for body matter -- the limit of my knowledge is reached here.

 Are you all current and updated?

 Martin


 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Numbering in Table of Content

2010-08-15 Thread Martin Althoff
 and it doesn't work. The title and subject parts never get
 into the generated TOC. Any idea why? Thanks very much! 

Not sure, seems to work for me. Though I do get two TOCs, one for front matter, 
one for body matter -- the limit of my knowledge is reached here.

Are you all current and updated?

Martin



toc entries.pdf
Description: video/flv
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Numbering in Table of Content

2010-08-12 Thread Cedric Mauclair
Hi,

You could also use the \chapter command but in the front matter as it
has no number there (and do not increment the counter either).

Best regards.

-- Cédric



On Thu, Aug 12, 2010 at 03:08, Martin Althoff martin.alth...@yahoo.com wrote:
 Basically I need a few
 unnumbered entries at the top of the table (like abstract,
 acknowledgements, etc)

 Rio,

 I handle this through using the unnumbered sectioning (\title, \subject..) 
 and then a

 \definecombinedlist [content][title,chapter]

 Essentially you add title to the already predefined list or combindedlist 
 content. Read contextref for details. This then generates a TOC with 
 \completecontent which includes the unnumbered sections/headers.

 Regarding the numbering, you might gleen that from the sample document here:

 http://wiki.contextgarden.net/Biochemistry_textbook


 It all kind of goes like this:

 \starttext

 \startfrontmatter
 \setuppagenumbering[conversion=romannumerals]
 \completecontent
 \stopfrontmatter

 \startbodymatter
 \setuppagenumbering[conversion=]
 \setuppagenumber[number=1]
 \title {Introduction}
 \dorecurse{5}{\input tufte\par}
 \chapter{Some Stuff}
 \dorecurse{5}{\input tufte\par}
 \stopbodymatter
 \stoptext


 best, Martin



 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!

 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Numbering in Table of Content

2010-08-12 Thread Riobard
Hi Martin,

I tried this 

---
\starttext

\startfrontmatter
\setuppagenumbering[conversion=romannumerals]

\title{Title}
\subject{Abstract}
\subject{Acknowledgements}
\definecombinedlist [content][title,subject,chapter]
\completecontent

\stopfrontmatter

\startbodymatter
\setuppagenumbering[conversion=]
\setuppagenumber[number=1]
\title {Introduction}
\dorecurse{5}{\input tufte\par}
\chapter{Some Stuff}
\dorecurse{5}{\input tufte\par}
\stopbodymatter
\stoptext


and it doesn't work. The title and subject parts never get into the generated 
TOC. Any idea why? Thanks very much! 



Rio

On 2010-08-12, at 03:08, Martin Althoff wrote:

 
 I handle this through using the unnumbered sectioning (\title, \subject..) 
 and then a 
 
 \definecombinedlist [content][title,chapter]

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Numbering in Table of Content

2010-08-11 Thread Martin Althoff
 Basically I need a few
 unnumbered entries at the top of the table (like abstract,
 acknowledgements, etc) 

Rio,

I handle this through using the unnumbered sectioning (\title, \subject..) and 
then a 

\definecombinedlist [content][title,chapter]

Essentially you add title to the already predefined list or combindedlist 
content. Read contextref for details. This then generates a TOC with 
\completecontent which includes the unnumbered sections/headers.

Regarding the numbering, you might gleen that from the sample document here:

http://wiki.contextgarden.net/Biochemistry_textbook


It all kind of goes like this:

\starttext

\startfrontmatter
\setuppagenumbering[conversion=romannumerals]
\completecontent
\stopfrontmatter

\startbodymatter
\setuppagenumbering[conversion=]
\setuppagenumber[number=1]
\title {Introduction}
\dorecurse{5}{\input tufte\par}
\chapter{Some Stuff}
\dorecurse{5}{\input tufte\par}
\stopbodymatter
\stoptext


best, Martin



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___