[NTG-context] \bodyfontsize in blank: MkIV

2011-10-30 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear knights,

The following works in mkii but not mkiv:

=
\starttext
test

\blank[2\bodyfontsize]

test
\stoptext
=

=
! Illegal unit of measure (pt inserted).

system   tex  error on line 8 in file bodyfontsize.tex: Illegal  
unit of measure (pt inserted) ...


1 \starttext
2 test
3
4 \blank[2\bodyfontsize]
5
6 test
7 \stoptext
8 
9

to be read again
   ^^H
argument 2^^H
 odyfontsize
\addaskedblankskip ...nce \blankskip #1\dimexpr #2
  \relax
l.8 }

\dovspacingyes ...#1\else \currentvspacing \fi )}
  \fi
l.4 \blank[2\bodyfontsize]

?
=

Is there a new protocol for accomplishing this now in mkiv? What is it?  
Thnx and


Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] \bodyfontsize in blank: MkIV

2011-10-30 Thread Wolfgang Schuster

Am 30.10.2011 um 20:59 schrieb Idris Samawi Hamid ادريس سماوي حامد:

 Dear knights,
 
 The following works in mkii but not mkiv:
 
 =
 \starttext
 test
 
 \blank[2\bodyfontsize]
 
 test
 \stoptext
 =

MkIV use Lua to parse the arguments for \blank and for argument
like above you need “\the\dimexpr2\bodyfontsize” or use arguments
like “2*line”.

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] \bodyfontsize in blank: MkIV

2011-10-30 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 30 Oct 2011 14:40:08 -0600, Wolfgang Schuster  
schuster.wolfg...@googlemail.com wrote:




Am 30.10.2011 um 20:59 schrieb Idris Samawi Hamid ادريس سماوي حامد:


Dear knights,

The following works in mkii but not mkiv:

=
\starttext
test

\blank[2\bodyfontsize]

test
\stoptext
=


MkIV use Lua to parse the arguments for \blank and for argument
like above you need “\the\dimexpr2\bodyfontsize” or use arguments
like “2*line”.


Thank you, Wolfgang! and

Best wishes
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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
___