ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: linespacing?
Date: Tue, 1 Mar 2011 16:37:11 +0100	[thread overview]
Message-ID: <CCE20498-4892-48D9-8B36-48C27AF3B7F1@uva.nl> (raw)

This comes from the ConTeXt manual (section 4, page 65)
\starttext
\setuplinespacing[height=1mm]
\stoptext

It gives an error:
! Undefined control sequence.
l.2 \setuplinespacing
                     [height=1mm]
? 

Two pages earlier there is
\starttext
\setupinterlinespace[height=2]
\stoptext

And this works, but I am not sure what the number values for height and depth mean. I guess fractions of the normalbaselineskip, but I could not find it defined in the text there.

What doesn't work is for example:
\starttext
\setupinterlinespace[height=1ex]
\stoptext

But sounds fairly natural to me. However, the error is:
! Missing number, treated as zero.
<to be read again> 
                   p
\!!plus ->p
           lus
\setnormalbaselines ...gridsnapping \else \!!plus 
                                                  \baselinegluefactor \openl...
\spacing ...thfactor \points }\setnormalbaselines 
                                                  \setstrut 
<inserted text> ...nizefont \fi \spacing \plusone 
                                                  \presetnormallineheight \s...
\setfontparameters ...tsfalse \the \everybodyfont 
                                                  \synchronizefontstrue 
...
l.2 \setupinterlinespace[height=1ex]
                                    
May I kindly suggest that some has a look at this? 

Hans van der Meer

___________________________________________________________________________________
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:[~2011-03-01 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 15:37 Hans van der Meer [this message]
2011-03-01 15:41 ` linespacing? Taco Hoekwater

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=CCE20498-4892-48D9-8B36-48C27AF3B7F1@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).