ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Deactivating gridsetting for TOC
@ 2013-04-15 12:27 "H. Özoguz"
  2013-04-15 14:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: "H. Özoguz" @ 2013-04-15 12:27 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Deactivating gridsetting for TOC
  2013-04-15 12:27 Deactivating gridsetting for TOC "H. Özoguz"
@ 2013-04-15 14:08 ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2013-04-15 14:08 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 15.04.2013 um 14:27 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> 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[<pagenumber>][grid=no]

to your document where you replace <pagenumber> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Deactivating gridsetting for TOC
  2013-04-15 17:34 ` "H. Özoguz"
@ 2013-04-15 17:47   ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2013-04-15 17:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 15.04.2013 um 19:34 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:

> Am 15.04.2013 19:03, schrieb ntg-context-request@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Deactivating gridsetting for TOC
       [not found] <mailman.423.1366045413.2084.ntg-context@ntg.nl>
@ 2013-04-15 17:34 ` "H. Özoguz"
  2013-04-15 17:47   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: "H. Özoguz" @ 2013-04-15 17:34 UTC (permalink / raw)
  To: ntg-context

Am 15.04.2013 19:03, schrieb ntg-context-request@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-15 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15 12:27 Deactivating gridsetting for TOC "H. Özoguz"
2013-04-15 14:08 ` Wolfgang Schuster
     [not found] <mailman.423.1366045413.2084.ntg-context@ntg.nl>
2013-04-15 17:34 ` "H. Özoguz"
2013-04-15 17:47   ` Wolfgang Schuster

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