Wgat is wrong with this example: \setuplayout[grid=force] \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em] \starttext \input knuth \stoptext I get: ! You can't use `\dimexpr' in horizontal mode. <recently read> \dimexpr -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny
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
On Fri, May 14, 2010 at 02:55:54PM +0200, luigi scarso wrote:
On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny
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
On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny
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 line dimension top number bottom number -- luigi
On Fri, May 14, 2010 at 03:20:21PM +0200, luigi scarso wrote:
On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny
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 line dimension top number bottom number
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
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 Hosny
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 line dimension 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
participants (3)
-
Khaled Hosny
-
luigi scarso
-
Wolfgang Schuster