Hi Dirar,

What you have is apparently different already defined typefaces.
So use switchtoypeface to change from karat to opulent.
Then switchtobodyfont[karat,12pt] or whatever.

You can not use the command definebodyfont in the way you do. For details for this command please refer to the manual mfonts.pdf

Willi

Dirar BOUGATEF wrote:
Hi Willy,

What i need is to have a synonym for the font Dirar you defined, how do i have to proceed? I have tried the following: (Am gonna use my fonts names as i started the subject with)

\starttypescript [karat]
 \definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi]
\stoptypescript

\usetypescriptfile[karat-type]
\usetypescript[karat]

\definebodyfont[MyFont][karat]

\starttext
\switchtobodyfont[MyFont]
\stoptext

This leads to the error:

bodyfont       : unknown variant MyFont

Do you see any problem here ?

Many thanks.

Dirar.


_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to