[NTG-context] Fonts switching and styles ..

Dirar BOUGATEF chabah5 at hotmail.com
Tue Nov 23 08:53:24 CET 2004


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.




More information about the ntg-context mailing list