* TOC struggles
@ 2011-10-20 8:20 Willi Egger
2011-10-20 8:31 ` Pontus Lurcock
0 siblings, 1 reply; 7+ messages in thread
From: Willi Egger @ 2011-10-20 8:20 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 20 bytes --]
Good morning!
Hm, i
[-- Attachment #2: test-TOC.tex --]
[-- Type: application/octet-stream, Size: 955 bytes --]
% Context file
% Filename: test-emptyrowaftersection.tex
%
% 17-10-2011
% Copyright (c) 2011 BOEDE. All rights reserved.
%
% \nopdfcompression
% \enabletrackers[context.trace]
% \enabletrackers[system.jobfiles]
\setuppagenumbering[location=]
\setuplayout
[topspace=2.5cm,
backspace=1.5cm,
header=0pt,
footer=0pt,
height=middle,
width=middle]
\mainlanguage[nl]
%\showframe
\starttext
\starttitle[title=Content]\stoptitle
\placecontent[level=section]
% \placecontent[section]
\page
\startsection[title=First section,list=First section]
\startsubsection[title=first subsection,list=First subsection]
Lorem ipsum \dots
\stopsubsection
\page
\startsubsection[title=second subsection,list=Second subsection]
Lorem ipsum \dots
\stopsubsection
\page
\stopsection
\startsection[title=Second section,list=Second section]
\startsubsection[title=first subsection,list=First subsection]
Lorem ipsum \dots
\stopsubsection
\stopsection
\stoptext
[-- Attachment #3: Type: text/plain, Size: 133 bytes --]
s there a problem with placing the TOC with restrictions to the typeset levels?
Please refer to the attached example.
Willi
[-- Attachment #4: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* TOC struggles
@ 2011-08-26 10:20 Willi Egger
2011-08-26 11:37 ` Hans Hagen
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Willi Egger @ 2011-08-26 10:20 UTC (permalink / raw)
To: NTG-Context ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
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
[-- Attachment #2: test-contents.tex --]
[-- Type: application/octet-stream, Size: 708 bytes --]
% Context file
% Filename: untitled.tex
%
% 26-08-2011
% Copyright (c) 2011 BOEDE. All rights reserved.
%
% \nopdfcompression
% \enabletrackers[context.trace]
% \enabletrackers[system.jobfiles]
\mainlanguage[de]
%\showframe
\setuphead[section][page=yes]
\definelist
[MeinInhalt]
[section]
[prefix=no,
sectionnumber=no,
headnumber=no]
\starttext
\startsubject[title={\bfb Suppentopf}]
\placelist[MeinInhalt][criterium=all]
\stopsubject
\startsection[title=Karotten - Suppe]
\startsubsection[title=Zutaten:]
3 mittelgrosse Karotten \dots
\stopsubsection
\startsubsection[title=Zubereitung:]
Karotten, Zwiebel und Ingwer fein schneiden.
\stopsubsection
\stopsection
\stoptext
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TOC struggles
2011-08-26 10:20 Willi Egger
@ 2011-08-26 11:37 ` Hans Hagen
2011-08-26 15:24 ` Willi Egger
2011-08-26 12:24 ` Wolfgang Schuster
2011-08-26 12:27 ` Taco Hoekwater
2 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-08-26 11:37 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Willi Egger
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TOC struggles
2011-08-26 10:20 Willi Egger
2011-08-26 11:37 ` Hans Hagen
@ 2011-08-26 12:24 ` Wolfgang Schuster
2011-08-26 12:27 ` Taco Hoekwater
2 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2011-08-26 12:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TOC struggles
2011-08-26 10:20 Willi Egger
2011-08-26 11:37 ` Hans Hagen
2011-08-26 12:24 ` Wolfgang Schuster
@ 2011-08-26 12:27 ` Taco Hoekwater
2 siblings, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2011-08-26 12:27 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-10-20 8:31 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-20 8:20 TOC struggles Willi Egger
2011-10-20 8:31 ` Pontus Lurcock
-- strict thread matches above, loose matches on Subject: below --
2011-08-26 10:20 Willi Egger
2011-08-26 11:37 ` Hans Hagen
2011-08-26 15:24 ` Willi Egger
2011-08-26 12:24 ` Wolfgang Schuster
2011-08-26 12:27 ` Taco Hoekwater
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).