Hi all,

I want to set the font size by using the dimension variable, but it doesn't 
work. What am I doing wrong?

\definemeasure[AAA][20pt]
\newdimen\BBB \BBB=20pt

\starttext
TEXT

% don't work
\switchtobodyfont[\measure{AAA}]
AAA

% don't work
\switchtobodyfont[\the\BBB]
BBB

% ok
\switchtobodyfont[20pt]
TEXT 20pt

\stoptext

--
Dmitriy
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to