Re: [NTG-context] Issue with \setupinterlinespace

2010-05-15 Thread Wolfgang Schuster

Am 15.05.10 00:23, schrieb Khaled Hosny:

On Fri, May 14, 2010 at 03:20:21PM +0200, luigi scarso wrote:
   

On Fri, May 14, 2010 at 3:15 PM, Khaled Hosnykhaledho...@eglug.org  wrote:
 

I see, in the wiki:

   height: ration|size of strut (e.g. 0.72 or 9pt)
   depth:  ration|size of strut (e.g. 0.28 or 3pt)

And I assumed .7em is comparable to 9pt, how it is different? Using
points gives the same error.
   

use *numbers*, not *dimensions*

height  number
depth   number
linedimension
top number
bottom  number
 

Ah, didn't notice that, but this contradicts the description (or I'm
severely confused).
   


The description on the wiki is wrong, accept this. The others told
you height and depth to use number because the values are fraction
of the line height.

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
___


Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny khaledho...@eglug.org wrote:
 Wgat is wrong with this example:

 \setuplayout[grid=force]
 \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em]
 \starttext
 \input knuth
 \stoptext
use number, not dimensions;
see http://wiki.contextgarden.net/Reference/en/setupinterlinespace

-- 
luigi
___
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
___


Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Khaled Hosny
On Fri, May 14, 2010 at 02:55:54PM +0200, luigi scarso wrote:
 On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny khaledho...@eglug.org wrote:
  Wgat is wrong with this example:
 
  \setuplayout[grid=force]
  \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em]
  \starttext
  \input knuth
  \stoptext
 use number, not dimensions;
 see http://wiki.contextgarden.net/Reference/en/setupinterlinespace

I see, in the wiki:

   height: ration|size of strut (e.g. 0.72 or 9pt)
   depth:  ration|size of strut (e.g. 0.28 or 3pt)

And I assumed .7em is comparable to 9pt, how it is different? Using
points gives the same error.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny khaledho...@eglug.org wrote:
 I see, in the wiki:

   height: ration|size of strut (e.g. 0.72 or 9pt)
   depth:  ration|size of strut (e.g. 0.28 or 3pt)

 And I assumed .7em is comparable to 9pt, how it is different? Using
 points gives the same error.

use *numbers*, not *dimensions*

height  number
depth   number
linedimension
top number
bottom  number

-- 
luigi
___
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
___


Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Khaled Hosny
On Fri, May 14, 2010 at 03:20:21PM +0200, luigi scarso wrote:
 On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny khaledho...@eglug.org wrote:
  I see, in the wiki:
 
    height: ration|size of strut (e.g. 0.72 or 9pt)
    depth:  ration|size of strut (e.g. 0.28 or 3pt)
 
  And I assumed .7em is comparable to 9pt, how it is different? Using
  points gives the same error.
 
 use *numbers*, not *dimensions*
 
 heightnumber
 depth number
 line  dimension
 top   number
 bottomnumber

Ah, didn't notice that, but this contradicts the description (or I'm
severely confused).

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___