ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Contents again
@ 2014-11-15 18:24 Gerben Wierda
  2014-11-15 19:21 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Gerben Wierda @ 2014-11-15 18:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 309 bytes --]

I’ve got

\start
\switchtobodyfont[9pt]
	\completecontent[level=chapter]
\stop

to keep the Table of Contents on one page. But with one more chapter, it is now again spread over two. There is however a lot of whitespace between entries. Can I make the  vertical whitespace between entries smaller?

G

[-- Attachment #1.2: Type: text/html, Size: 1034 bytes --]

[-- Attachment #2: 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] 2+ messages in thread

* Re: Contents again
  2014-11-15 18:24 Contents again Gerben Wierda
@ 2014-11-15 19:21 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2014-11-15 19:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 11/15/2014 07:24 PM, Gerben Wierda wrote:
> I’ve got
> 
> \start
> \switchtobodyfont[9pt]
> \completecontent[level=chapter]
> \stop
> 
> to keep the Table of Contents on one page. But with one more chapter, it
> is now again spread over two. There is however a lot of whitespace
> between entries. Can I make the  vertical whitespace between entries
> smaller?

Hi Gerben,

I think that something similar to:

    \setuplists[before=,after=]

Of course, this is excessive, but \blank{small} or something similar
would do the job.

I have tested in MkIV, I guess this would work in MkII:

    \setuplist[chapter][before=,after=]
    \starttext
    \completecontent[level=chapter]
        \dorecurse{20}{\chapter{Chapter \recurselevel}}
    \stoptext

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2014-11-15 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-15 18:24 Contents again Gerben Wierda
2014-11-15 19:21 ` Pablo Rodriguez

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