* placelist
@ 2011-11-04 7:55 Willi Egger
2011-11-04 8:12 ` placelist Pontus Lurcock
0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2011-11-04 7:55 UTC (permalink / raw)
To: NTG-Context ConTeXt users
Hi all,
it sound strange but how do I get a TOC where only the sections are placed but not the subsections?
The document contains exclusively sections and subsections.
With \placecontent[level=section] I get as well the sections as also the subsections. Looking at examples on the wiki I think this should be the right command?
Kind regards
Willi
___________________________________________________________________________________
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] 5+ messages in thread
* Re: placelist
2011-11-04 7:55 placelist Willi Egger
@ 2011-11-04 8:12 ` Pontus Lurcock
2011-11-04 11:23 ` placelist Willi Egger
0 siblings, 1 reply; 5+ messages in thread
From: Pontus Lurcock @ 2011-11-04 8:12 UTC (permalink / raw)
To: ntg-context
On Fri 04 Nov 2011, Willi Egger wrote:
> it sound strange but how do I get a TOC where only the sections are
> placed but not the subsections? The document contains exclusively
> sections and subsections. With \placecontent[level=section] I get as
> well the sections as also the subsections. Looking at examples on
> the wiki I think this should be the right command?
\placelist[section] should do what you want -- see
http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html .
Pont
___________________________________________________________________________________
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] 5+ messages in thread
* Re: placelist
2011-11-04 8:12 ` placelist Pontus Lurcock
@ 2011-11-04 11:23 ` Willi Egger
2011-11-04 14:00 ` placelist Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2011-11-04 11:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 106 bytes --]
Hi Pontus,
thanks for your quick reply. I tried your suggestion, but there is no success with it. ...
[-- Attachment #2: test-TOC.tex --]
[-- Type: application/octet-stream, Size: 938 bytes --]
% Context file
% Filename: test-TOC.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: 1113 bytes --]
Kind regards
Willi
On 4 Nov 2011, at 09:12, Pontus Lurcock wrote:
> On Fri 04 Nov 2011, Willi Egger wrote:
>
>> it sound strange but how do I get a TOC where only the sections are
>> placed but not the subsections? The document contains exclusively
>> sections and subsections. With \placecontent[level=section] I get as
>> well the sections as also the subsections. Looking at examples on
>> the wiki I think this should be the right command?
>
> \placelist[section] should do what you want -- see
> http://www.mail-archive.com/ntg-context@ntg.nl/msg59165.html .
>
> Pont
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- 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] 5+ messages in thread
* Re: placelist
2011-11-04 11:23 ` placelist Willi Egger
@ 2011-11-04 14:00 ` Wolfgang Schuster
2011-11-05 11:00 ` placelist Willi Egger
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-11-04 14:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 04.11.2011 um 12:23 schrieb Willi Egger:
> Hi Pontus,
>
> thanks for your quick reply. I tried your suggestion, but there is no success with it. …
You need \placelist but you use \placecontent.
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] 5+ messages in thread
* Re: placelist
2011-11-04 14:00 ` placelist Wolfgang Schuster
@ 2011-11-05 11:00 ` Willi Egger
0 siblings, 0 replies; 5+ messages in thread
From: Willi Egger @ 2011-11-05 11:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Wolfgang,
On 4 Nov 2011, at 15:00, Wolfgang Schuster wrote:
>
> Am 04.11.2011 um 12:23 schrieb Willi Egger:
>
>> Hi Pontus,
>>
>> thanks for your quick reply. I tried your suggestion, but there is no success with it. …
>
> You need \placelist but you use \placecontent.
This makes indeed the difference. thanks a lot!
Willi
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2011-11-05 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 7:55 placelist Willi Egger
2011-11-04 8:12 ` placelist Pontus Lurcock
2011-11-04 11:23 ` placelist Willi Egger
2011-11-04 14:00 ` placelist Wolfgang Schuster
2011-11-05 11:00 ` placelist Willi Egger
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).