ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Spacing on TOC using alternative a
@ 2008-03-08  0:34 John Culleton
  2008-03-08 10:12 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: John Culleton @ 2008-03-08  0:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The example on page 15 of the manual shows the title and the page number 
spaced enough to avoid confusion. When I use similar code the page number is 
jammed up next to the title. I have tried the text parameter but it has no 
effect. 

Here is my code:
\setuphead[chapter][head=nomarking,number=no]
\setuphead[section][number=no,textcommand=\bf]
\setuphead[subsection][number=no]
\setuphead[subsubsection][number=no]
\setupinteraction[state=start,color=blue]
\setuplist[section][alternative=f,style=bold,interaction=sectionnumber]
\setuplist[subsection][alternative=f,interaction=no]
\setuplist[subsubsection][alternative=a,interaction=all]

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Spacing on TOC using alternative a
  2008-03-08  0:34 Spacing on TOC using alternative a John Culleton
@ 2008-03-08 10:12 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2008-03-08 10:12 UTC (permalink / raw)
  To: ntg-context

On Fri, 7 Mar 2008 19:34:22 -0500
John Culleton <john@wexfordpress.com> wrote:

> The example on page 15 of the manual shows the title and the page number 
> spaced enough to avoid confusion. When I use similar code the page number is 
> jammed up next to the title. I have tried the text parameter but it has no 
> effect. 
> 
> Here is my code:
> \setuphead[chapter][head=nomarking,number=no]
> \setuphead[section][number=no,textcommand=\bf]
> \setuphead[subsection][number=no]
> \setuphead[subsubsection][number=no]
> \setupinteraction[state=start,color=blue]
> \setuplist[section][alternative=f,style=bold,interaction=sectionnumber]
> \setuplist[subsection][alternative=f,interaction=no]
> \setuplist[subsubsection][alternative=a,interaction=all]

\setuplist
  [subsubsection]
  [alternative=a,
   interaction=all,
   pagecommand=\PageNumberDistance]

\def\PageNumberDistance#1{\quad#1}

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-03-08 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-08  0:34 Spacing on TOC using alternative a John Culleton
2008-03-08 10:12 ` 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).