Re: [NTG-context] Alternative rendering of some TOC levels

2013-05-04 Thread Wolfgang Schuster

Am 03.05.2013 um 16:27 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:

 Hello,
 
 how to change the way (alternative) how a particular level - e.g. sections 
 - are rendered in TOC?
 
 I tried:
 
 
 \setupcombinedlist
  [content]
  [alternative=c]
 
 \setuplist
  [section]
  [alternative=b]
 
 %\setupcombinedlist
 %  [content]
 %  [section]
 %  [alternative=b]
 
 \starttext
  \placecontent
 
  \chapter{Ch}
\section{Sec}
  \subsection{SSec}
\input knuth
 \stoptext
 
 
 This should change the alternative for section to be b (i.e. page numbers 
 without filling dots), whilst the default look should be alternative c 
 (i.e. dots and page numbers).

When you use \setupcombinedlist to change the alternative values this applies 
to all levels and individual settings are ignored.

The global setup can be better done with \setuplist[alternative=c].

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
___


Re: [NTG-context] Alternative rendering of some TOC levels

2013-05-04 Thread Lukáš Procházka

On Sat, 04 May 2013 09:31:45 +0200, Wolfgang Schuster 
schuster.wolfg...@gmail.com wrote:



Am 03.05.2013 um 16:27 schrieb Procházka Lukáš Ing. - Pontex s. r. o. 
l...@pontex.cz:


Hello,

how to change the way (alternative) how a particular level - e.g. sections - 
are rendered in TOC?

I tried:


\setupcombinedlist
 [content]
 [alternative=c]

\setuplist
 [section]
 [alternative=b]

%\setupcombinedlist
%  [content]
%  [section]
%  [alternative=b]

\starttext
 \placecontent

 \chapter{Ch}
   \section{Sec}
 \subsection{SSec}
   \input knuth
\stoptext


This should change the alternative for section to be b (i.e. page numbers without filling 
dots), whilst the default look should be alternative c (i.e. dots and page numbers).


When you use \setupcombinedlist to change the alternative values this applies 
to all levels and individual settings are ignored.

The global setup can be better done with \setuplist[alternative=c].

Wolfgang


... OK, thanks for explanation.

Best regards,

Lukas


___
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
___

[NTG-context] Alternative rendering of some TOC levels

2013-05-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

how to change the way (alternative) how a particular level - e.g. sections - 
are rendered in TOC?

I tried:


\setupcombinedlist
  [content]
  [alternative=c]

\setuplist
  [section]
  [alternative=b]

%\setupcombinedlist
%  [content]
%  [section]
%  [alternative=b]

\starttext
  \placecontent

  \chapter{Ch}
\section{Sec}
  \subsection{SSec}
\input knuth
\stoptext


This should change the alternative for section to be b (i.e. page numbers without filling 
dots), whilst the default look should be alternative c (i.e. dots and page numbers).

But my code doesn't produce the desired result - all TOC members are using alternative 
c.

What is the true way to achieve it?

TIA.

Best regads,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t.mkiv
Description: Binary data


t.pdf
Description: Adobe PDF document
___
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
___