ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \bodyfontsize in blank: MkIV
@ 2011-10-30 19:59 Idris Samawi Hamid ادريس   سماوي حامد
  2011-10-30 20:40 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-10-30 19:59 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \bodyfontsize in blank: MkIV
  2011-10-30 19:59 \bodyfontsize in blank: MkIV Idris Samawi Hamid ادريس   سماوي حامد
@ 2011-10-30 20:40 ` Wolfgang Schuster
  2011-10-30 20:44   ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-10-30 20:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \bodyfontsize in blank: MkIV
  2011-10-30 20:40 ` Wolfgang Schuster
@ 2011-10-30 20:44   ` Idris Samawi Hamid ادريس   سماوي حامد
  0 siblings, 0 replies; 3+ messages in thread
From: Idris Samawi Hamid ادريس   سماوي حامد @ 2011-10-30 20:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 30 Oct 2011 14:40:08 -0600, Wolfgang Schuster  
<schuster.wolfgang@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-30 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-30 19:59 \bodyfontsize in blank: MkIV Idris Samawi Hamid ادريس   سماوي حامد
2011-10-30 20:40 ` Wolfgang Schuster
2011-10-30 20:44   ` Idris Samawi Hamid ادريس   سماوي حامد

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).