Hi all, I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but... Running ConTeXt version 2011.08.26 Please refer to the minimal example attached. Kind regards Willi
On 26-8-2011 12:20, Willi Egger wrote:
Hi all,
I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but...
Running ConTeXt version 2011.08.26
Please refer to the minimal example attached.
So, when do you write something to that list? You can't expect \section to do that do you? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Oeps, I seem to have some adaptation problems to the new syntax... Thanks for pointing this out! Willi On 26 Aug 2011, at 13:37, Hans Hagen wrote:
On 26-8-2011 12:20, Willi Egger wrote:
Hi all,
I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but...
Running ConTeXt version 2011.08.26
Please refer to the minimal example attached.
So, when do you write something to that list? You can't expect \section to do that do you?
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Am 26.08.2011 um 12:20 schrieb Willi Egger:
Hi all,
I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but...
Running ConTeXt version 2011.08.26
Please refer to the minimal example attached.
Use “\placelist[section][criterium=all]” to show the section entries in the TOC. With “\definelist[MeinInhalt][section][…]” you created only a new list “MeinInhalt” which inherits the style from “section”. Wolfgang
On 08/26/2011 12:20 PM, Willi Egger wrote:
Hi all,
I have a quite simple document and would like to get a table of contents. However I can not manage to get this done. - This sounds quite stupid but...
Do you want either: \setuplist [section] [prefix=no, sectionnumber=no, headnumber=no] \starttext \startsubject[title={\bfb Suppentopf}] \placelist[section][criterium=all] \stopsubject or: \setuplist [section] [prefix=no, sectionnumber=no, headnumber=no] \definecombinedlist [MeinInhalt] [section] \starttext \startsubject[title={\bfb Suppentopf}] \placecombinedlist[MeinInhalt][criterium=all] \stopsubject ? Best wishes, Taco
participants (4)
-
Hans Hagen
-
Taco Hoekwater
-
Willi Egger
-
Wolfgang Schuster