ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Filtering contents
       [not found] <mailman.1708.1276522372.4277.ntg-context@ntg.nl>
@ 2010-06-14 13:34 ` Vyatcheslav Yatskovsky
  2010-06-14 13:48   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-06-14 13:34 UTC (permalink / raw)
  To: ntg-context

Thanks a lot.

Interesting, but \setupcombinedlist[content][...] still works )


>> \placecontent[level=subsection]
>>
>> but it does not work.
>
> This option (although set in strc-def.mkiv) is gone in mkiv, use the
> normal \placelist command.
>
> \placelist[chapter,section,subsection]


-- 
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Filtering contents
  2010-06-14 13:34 ` Filtering contents Vyatcheslav Yatskovsky
@ 2010-06-14 13:48   ` Wolfgang Schuster
       [not found]     ` <4C16337C.7090207@gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-06-14 13:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Vyatcheslav Yatskovsky

Am 14.06.10 15:34, schrieb Vyatcheslav Yatskovsky:
> Thanks a lot.
>
> Interesting, but \setupcombinedlist[content][...] still works )

Can you make a example, this doesn't work for me:

\setupcombinedlist[content][level=subsection]

\starttext

\completecontent

\chapter{One}
\section{Two}
\subsection{Three}
\subsubsection{Four}

\stoptext

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] 9+ messages in thread

* Re: Filtering contents
       [not found]     ` <4C16337C.7090207@gmail.com>
@ 2010-06-14 13:54       ` Wolfgang Schuster
       [not found]         ` <4C163518.10906@gmail.com>
       [not found]         ` <4C16355A.5040607@gmail.com>
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-06-14 13:54 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky, mailing list for ConTeXt users

Am 14.06.10 15:49, schrieb Vyatcheslav Yatskovsky:
> I use \setupcombinedlist just to set alternative:
>
> \setupcombinedlist
> [content]
> [alternative=c,
> width=2.5em]

I just wrote the 'level' key has no funtion in mkiv, combinedlist works 
as expected and what you can do is to replace the default list with a 
shorter version, e.g.

\definecombinedlist[content][chapter,section,subsection]

to limit the the shown section entries.

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] 9+ messages in thread

* Re: Filtering contents
       [not found]         ` <4C163518.10906@gmail.com>
@ 2010-06-14 14:01           ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-06-14 14:01 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky, mailing list for ConTeXt users

Am 14.06.10 15:56, schrieb Vyatcheslav Yatskovsky:
> On 14.06.2010 16:54, Wolfgang Schuster wrote:
>> Am 14.06.10 15:49, schrieb Vyatcheslav Yatskovsky:
>>> I use \setupcombinedlist just to set alternative:
>>>
>>> \setupcombinedlist
>>> [content]
>>> [alternative=c,
>>> width=2.5em]
>>
>> I just wrote the 'level' key has no funtion in mkiv, combinedlist works
>> as expected and what you can do is to replace the default list with a
>> shorter version, e.g.
>>
>> \definecombinedlist[content][chapter,section,subsection]
>>
>> to limit the the shown section entries.
>>
>> Wolfgang
>>
> good idea, but
>
> \definecombinedlist[content][chapter,section,subsection]
> \setupcombinedlist
> [content]
> [alternative=c,
> width=2.5em]
>
> \startstandardmakeup[]
> \setupinterlinespace[24pt]
> \subject{CONTENTS}
> \placelist[content]
> \vfill
> \stopstandardmakeup
>
> does not work for  me -- empty contents page.
>
> \placelist[chapter,section,subsection] works.

\definecombinedlist[content] creates the two commands \place<content> 
and \complete<content>, your \placelist[content] expects a list 
'content' which is created with \definelist[content] but \placecontent 
is more or less just a short form for \placelist[chapter,section,subsection]

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] 9+ messages in thread

* Re: Filtering contents
       [not found]         ` <4C16355A.5040607@gmail.com>
@ 2010-06-14 14:03           ` Wolfgang Schuster
       [not found]             ` <4C163706.9070002@gmail.com>
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-06-14 14:03 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky, mailing list for ConTeXt users

Am 14.06.10 15:57, schrieb Vyatcheslav Yatskovsky:
> I was wondering why \setupcombinedlist[content] affects \placelist 
> without mentioning "content" )))

\setupcombinedlist[content] is a setup command for a list which are set 
with \definecombinedlist, e.g.

\definedcomvinedlist[mylist][section,subsection,subsubsubsection]

and

\setupcombinedlist[mylist][alternative=d]

is a short form for

\setuplist[section,subsection,subsubsubsection][alternative=d]

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] 9+ messages in thread

* Re: Filtering contents
       [not found]             ` <4C163706.9070002@gmail.com>
@ 2010-06-14 14:11               ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2010-06-14 14:11 UTC (permalink / raw)
  To: Vyatcheslav Yatskovsky, mailing list for ConTeXt users

Am 14.06.10 16:04, schrieb Vyatcheslav Yatskovsky:
> Isn't there should be list name, mylist?
>
>> \setuplist[section,subsection,subsubsubsection][alternative=d]


\setupcombinedlist[mylist] => 
\setuplist[section,subsection,subsubsubsection]

mylist == section + subsection + subsubsubsection

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] 9+ messages in thread

* Re: Filtering contents
  2010-06-14 12:37   ` Wolfgang Schuster
@ 2010-06-14 12:50     ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2010-06-14 12:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 14-6-2010 2:37, Wolfgang Schuster wrote:
> Am 14.06.10 13:03, schrieb Vyatcheslav Yatskovsky:
>> Hi
>>
>> Sorry for (possibly) stupid question, but what should I use to remove
>> subsubsections from TOC?
>>
>> I'm convinced that I should use
>>
>> \placecontent[level=subsection]
>>
>> but it does not work.
>
> This option (although set in strc-def.mkiv) is gone in mkiv, use the
> normal \placelist command.
>
> \placelist[chapter,section,subsection]

you can try things like criterum=current|previous|local etc

-----------------------------------------------------------------
                                           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] 9+ messages in thread

* Re: Filtering contents
  2010-06-14 11:03 ` Vyatcheslav Yatskovsky
@ 2010-06-14 12:37   ` Wolfgang Schuster
  2010-06-14 12:50     ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2010-06-14 12:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 14.06.10 13:03, schrieb Vyatcheslav Yatskovsky:
> Hi
>
> Sorry for (possibly) stupid question, but what should I use to remove 
> subsubsections from TOC?
>
> I'm convinced that I should use
>
> \placecontent[level=subsection]
>
> but it does not work.

This option (although set in strc-def.mkiv) is gone in mkiv, use the 
normal \placelist command.

\placelist[chapter,section,subsection]

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] 9+ messages in thread

* Filtering contents
       [not found] <mailman.0.1276509602.1911.ntg-context@ntg.nl>
@ 2010-06-14 11:03 ` Vyatcheslav Yatskovsky
  2010-06-14 12:37   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Vyatcheslav Yatskovsky @ 2010-06-14 11:03 UTC (permalink / raw)
  To: ntg-context

Hi

Sorry for (possibly) stupid question, but what should I use to remove 
subsubsections from TOC?

I'm convinced that I should use

\placecontent[level=subsection]

but it does not work.

-- 
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2010-06-14 14:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1708.1276522372.4277.ntg-context@ntg.nl>
2010-06-14 13:34 ` Filtering contents Vyatcheslav Yatskovsky
2010-06-14 13:48   ` Wolfgang Schuster
     [not found]     ` <4C16337C.7090207@gmail.com>
2010-06-14 13:54       ` Wolfgang Schuster
     [not found]         ` <4C163518.10906@gmail.com>
2010-06-14 14:01           ` Wolfgang Schuster
     [not found]         ` <4C16355A.5040607@gmail.com>
2010-06-14 14:03           ` Wolfgang Schuster
     [not found]             ` <4C163706.9070002@gmail.com>
2010-06-14 14:11               ` Wolfgang Schuster
     [not found] <mailman.0.1276509602.1911.ntg-context@ntg.nl>
2010-06-14 11:03 ` Vyatcheslav Yatskovsky
2010-06-14 12:37   ` Wolfgang Schuster
2010-06-14 12:50     ` Hans Hagen

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