[NTG-context] Deactivating gridsetting for TOC

2013-04-15 Thread H. Özoguz

Hi there,

thanks for the many helps today, again!

Because I use different font sizes for the titles in the TOC (depending 
on the title-level), I have problems with grid-setting. It makes 
sometimes blank lines between two titles in the toc. I understand that 
behaviour, it is because of the different sizes.


Instead of involved testings with different sizes and vertical spaces, 
can I simply switch off the grid-setting for the toc? That would be the 
easiest.

I tried
\placeongrid{\completecontent},
and that works, no more blank lines. But now the complete toc is set on 
one page only, but the toc is much to big for only one page, so it is 
set beyong the page buttom, and disappears in the pdf-nirvana :D


Is there a feature/option "grid" for toc in \completecontent or anything 
like that?


Thanks.
Huseyin
___
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] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster

Am 15.04.2013 um 14:27 schrieb H. Özoguz :

> Hi there,
> 
> thanks for the many helps today, again!
> 
> Because I use different font sizes for the titles in the TOC (depending on 
> the title-level), I have problems with grid-setting. It makes sometimes blank 
> lines between two titles in the toc. I understand that behaviour, it is 
> because of the different sizes.
> 
> Instead of involved testings with different sizes and vertical spaces, can I 
> simply switch off the grid-setting for the toc? That would be the easiest.
> I tried
> \placeongrid{\completecontent},
> and that works, no more blank lines. But now the complete toc is set on one 
> page only, but the toc is much to big for only one page, so it is set beyong 
> the page buttom, and disappears in the pdf-nirvana :D
> 
> Is there a feature/option "grid" for toc in \completecontent or anything like 
> that?

You can try to add

  \definelayout[][grid=no]

to your document where you replace  with the number of the page 
where your TOC starts.

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] Deactivating gridsetting for TOC

2013-04-15 Thread H. Özoguz

Am 15.04.2013 19:03, schrieb ntg-context-requ...@ntg.nl:

Is there maybe another "trick" to deactivate gridsetting, analogical to
placeongrid, or tricks with tables, or so? I am experimenting here, too,
of course:)

Huseyin


Ok, maybe it is possible with a combination of \placeongrid and a 
command, which forces page-break of the toc on specified titles, or 
lines. Is there a pissibility to manually page-break the toc?

___
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] Deactivating gridsetting for TOC

2013-04-15 Thread Wolfgang Schuster

Am 15.04.2013 um 19:34 schrieb "H. Özoguz" :

> Am 15.04.2013 19:03, schrieb ntg-context-requ...@ntg.nl:
>> Is there maybe another "trick" to deactivate gridsetting, analogical to
>> placeongrid, or tricks with tables, or so? I am experimenting here, too,
>> of course:)
>> 
>> Huseyin
> 
> Ok, maybe it is possible with a combination of \placeongrid and a command, 
> which forces page-break of the toc on specified titles, or lines. Is there a 
> pissibility to manually page-break the toc?

%\setuplayout[grid=yes]

\showgrid

\setuplist[chapter][style=\tfb]
\setuplist[section][style=\tfa]

\starttext

\setuplayout[grid=no]

\completecontent

\page

\setuplayout[grid=yes]

\dorecurse{10}
  {\chapter{Chapter #1}
   \dorecurse{10}
 {\section{Section #1.##1}
  \input ward\par}}

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