ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* single spacing TOC
@ 2013-04-03 19:28 john Culleton
  2013-04-04  4:36 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: john Culleton @ 2013-04-03 19:28 UTC (permalink / raw)
  To: ntg-context



Working with TOC layout and the "new" manual. The default layout
leaves a blank line between section entries. I want to reduce this to
zero. I tried this:

\setuplist[section]
[alternative=a,before=,after=,distance=1pt]
\completecontent

but this didn't remove the extra space. Hints?

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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: single spacing TOC
  2013-04-03 19:28 single spacing TOC john Culleton
@ 2013-04-04  4:36 ` Wolfgang Schuster
  2013-04-04 20:37   ` john Culleton
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2013-04-04  4:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 03.04.2013 um 21:28 schrieb john Culleton <John@wexfordpress.com>:

> 
> 
> Working with TOC layout and the "new" manual. The default layout
> leaves a blank line between section entries. I want to reduce this to
> zero. I tried this:
> 
> \setuplist[section]
> [alternative=a,before=,after=,distance=1pt]
> \completecontent
> 
> but this didn't remove the extra space. Hints?

There are no blank lines between the entries.

\starttext

\completecontent

\page

\dorecurse{12}{\section{Section #1}}

\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: single spacing TOC
  2013-04-04  4:36 ` Wolfgang Schuster
@ 2013-04-04 20:37   ` john Culleton
  2013-04-09 22:30     ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: john Culleton @ 2013-04-04 20:37 UTC (permalink / raw)
  To: ntg-context

On Thu, 4 Apr 2013 06:36:55 +0200
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 03.04.2013 um 21:28 schrieb john Culleton <John@wexfordpress.com>:
> 
> > 
> > 
> > Working with TOC layout and the "new" manual. The default layout
> > leaves a blank line between section entries. I want to reduce this
> > to zero. I tried this:
> > 
> > \setuplist[section]
> > [alternative=a,before=,after=,distance=1pt]
> > \completecontent
> > 
> > but this didn't remove the extra space. Hints?
> 
> There are no blank lines between the entries.
> 
> \starttext
> 
> \completecontent
> 
> \page
> 
> \dorecurse{12}{\section{Section #1}}
> 
> \stoptext
> 
> Wolfgang

I had a line \setupwhitespace[medium] in the preamble to the
file. I moved it to occur after \startbodymatter and all was fine. 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at http://www.booklocker.com/books/4055.html
___________________________________________________________________________________
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: single spacing TOC
  2013-04-04 20:37   ` john Culleton
@ 2013-04-09 22:30     ` Wolfgang Schuster
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2013-04-09 22:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: john Culleton


Am 04.04.2013 um 22:37 schrieb john Culleton <John@wexfordpress.com>:

> I had a line \setupwhitespace[medium] in the preamble to the
> file. I moved it to occur after \startbodymatter and all was fine. 

You can use \startsectionblockenvironment to enable the setup
with the begin of a certain sectionblock, e.g.

\startsectionblockenvironment[bodypart]
  \setuphitespace[medium]
\stopsectionblockenvironment

enables the parskip at the \startbodymatter line in your document.

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

end of thread, other threads:[~2013-04-09 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 19:28 single spacing TOC john Culleton
2013-04-04  4:36 ` Wolfgang Schuster
2013-04-04 20:37   ` john Culleton
2013-04-09 22:30     ` 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).