At 03:34 PM 4/15/2002 -0600, Idris Samawi Hamid wrote:
>Using type-xxx.tex and hans-test.tex, {\tf<variable> } works but
>\switchtobodyfont does not do anything. type-xxx.tex uses computer modern
>so anyone can try it with a default ConTeXt setup.
>Please advise.
>
>Another question: what does `global' stand for? Can I define my own
>size-changing arguments to \switchtobodyfont?
the document level font switch, normally not needed by users;
\setupbodyfont influences the page ornaments, \switchtobodyfont only
concerns the main text
%--------------------hans-test.tex-----------------------
>\starttext
>
>\usetypescriptfile[type-xxx]
>\usetypescript[arabtest]
>\setupbodyfont[omarab,12pt]
>
>This is a test % This is a test
>
>\switchtobodyfont[big] This is a test
>
>\switchtobodyfont[global] This is a test
>
>\switchtobodyfont[small] This is a test
>
>\switchtobodyfont[8pt] This is a test
>
>\stoptext
eh, do you mean that (in the example text) you don't get a sans font?
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------