[NTG-context] \blank with dimen (mkiv)

2009-10-26 Thread Peter Rolf

Hi,

donno if this is a bug or a feature. If I use \blank with a dimen 
register, I get


[..]
context/base/type-otf.tex 
(r:/tex/texmf-context/tex/context/base/type-otf.mkiv))

bodyfont: 12pt rm is loaded
language: language en is active
systems : begin file test at line 4
! Missing number, treated as zero.
to be read again
  F
argument F
   OO
\addaskedblankskip ...nce \blankskip #1\dimexpr #2
 \relax
l.10 }

\dovspacingyes ...ument #1\else \s!default \fi )}

 \fi
l.6 \blank[force,\FOO]

?


Here is a minimal example:

%-
\newdimen\FOO
\FOO5cm\relax

\starttext

\blank[force,\FOO]

\stoptext
%-

Using \blank[force,\the\FOO] does work. No such problems in mkii.

MTXrun | current version: 2009.10.22 23:27
This is LuaTeX, Version beta-0.44.0-2009102313


Greetings,  Peter
___
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] \blank with dimen (mkiv)

2009-10-26 Thread Hans Hagen

Peter Rolf wrote:


Using \blank[force,\the\FOO] does work. No such problems in mkii.


indeed, a mkiv limitation unlikely to change soon

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___