ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Tosovsky" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Linespacing in TOC
Date: Tue, 11 Feb 2014 17:32:13 +0100	[thread overview]
Message-ID: <28313.7339669794$1392136356@news.gmane.org> (raw)
In-Reply-To: <D6406016-F1E7-45F8-B963-B1E9885DB3F9@gmail.com>

On 2014-02-10 Wolfgang Schuster wrote:
> 
> Am 10.02.2014 um 22:49 schrieb Jan Tosovsky <j.tosovsky@email.cz>:
> 
> > I still prefer placing lines on the grid. But if the grid could be
> switched
> > off just for ToC, I could use the above code ensuring lines in the
> 'grid'
> > positions. It is fake, but I cannot manage even that
> (startlinecorrection
> > doesn't work here).
> >
> > Any idea?
> 
> When you have characters with big ascenders/descenders you have to
> increase
> the interlinespace or change the height/depth ration of a strut.
> 
> 1. Change the interlinespace value with
> 
>   \setupinterlinespace[line=14pt]
> 
> 2. Change the height/depth ration with
> 
>   \setupinterlinespace[height=0.8,depth=0.2] % default:
> height=0.72,depth=0.28

Thanks, but neither solution works for me.

My fundamental question is why ToC has different ToC line gaps than body
text. I still think it is rather a bug which we are trying to work around
all the time...

Jan

\setuplayout[grid=yes]
\showgrid

\starttext
\setupinterlinespace[height=0.8, depth=0.2]
\placecontent  % there are blank lines between ToC lines

\chapter{aaaaaaaa}

\input{tufte}  % this is good
\chapter{pppppppp}
\chapter{ŠŠŠŠŠŠŠŠ}
\stoptext

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2014-02-11 16:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <013a01cee579$6a0c5640$3e2502c0$@tosovsky@email.cz>
2013-11-19 23:00 ` Hans Hagen
2013-11-22 20:44   ` Jan Tosovsky
     [not found]   ` <011201cee7c3$b3b1dc60$1b159520$@tosovsky@email.cz>
2013-11-22 21:45     ` Hans Hagen
2013-11-22 23:11       ` Jan Tosovsky
     [not found]       ` <013501cee7d8$1fefbb40$5fcf31c0$@tosovsky@email.cz>
2013-11-23 11:16         ` Jan Tosovsky
     [not found]         ` <001701cee83d$77460650$65d212f0$@tosovsky@email.cz>
2013-11-23 11:51           ` Hans Hagen
2013-11-23 12:44             ` Jan Tosovsky
     [not found]             ` <002101cee849$b1e90c60$15bb2520$@tosovsky@email.cz>
2013-11-23 12:54               ` Hans Hagen
2013-11-23 13:32                 ` Jan Tosovsky
     [not found]                 ` <002601cee850$6c3196e0$4494c4a0$@tosovsky@email.cz>
2013-11-23 13:35                   ` Hans Hagen
2014-02-10 21:49                     ` Jan Tosovsky
     [not found]                     ` <52f9499c.826f0e0a.58db.ffffbb09SMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-10 22:25                       ` Wolfgang Schuster
2014-02-11 16:32                         ` Jan Tosovsky [this message]
     [not found]                         ` <52fa509d.826f0e0a.5656.ffff8d0bSMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-11 17:58                           ` Wolfgang Schuster
2014-02-12 16:02                             ` Jan Tosovsky
     [not found]                         ` <00d901cf2746$d2b9ce20$782d6a60$@tosovsky@email.cz>
2014-02-11 18:45                           ` Hans Hagen
2013-11-19 22:48 Jan Tosovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='28313.7339669794$1392136356@news.gmane.org' \
    --to=j.tosovsky@email.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).