* linespacing?
@ 2011-03-01 15:37 Hans van der Meer
2011-03-01 15:41 ` linespacing? Taco Hoekwater
0 siblings, 1 reply; 2+ messages in thread
From: Hans van der Meer @ 2011-03-01 15:37 UTC (permalink / raw)
To: NTG ConTeXt
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linespacing?
2011-03-01 15:37 linespacing? Hans van der Meer
@ 2011-03-01 15:41 ` Taco Hoekwater
0 siblings, 0 replies; 2+ messages in thread
From: Taco Hoekwater @ 2011-03-01 15:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 03/01/2011 04:37 PM, Hans van der Meer wrote:
> This comes from the ConTeXt manual (section 4, page 65)
> \starttext
> \setuplinespacing[height=1mm]
> \stoptext
This is superceded. \setuplinespacing does not exist
any more.
> 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.
Explained quite well on the wiki:
http://wiki.contextgarden.net/Reference/en/setupinterlinespace
Best wishes,
Taco
___________________________________________________________________________________
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:[~2011-03-01 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 15:37 linespacing? Hans van der Meer
2011-03-01 15:41 ` linespacing? Taco Hoekwater
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).