![](https://secure.gravatar.com/avatar/6af06dcf5f958fe4ec149408292d6acd.jpg?s=120&d=mm&r=g)
Hi Dirar, I is not enough to give the commands which typescripts/files to use, you must setup first a bodyfont and then switch to other fonts Dirar BOUGATEF wrote:
i have tried this, and leads to:
bodyfont : unknown variant MyFont
\usetypescriptfile[karat-type] \usetypescript[karat]
\usetypescriptfile[opulent-type] \usetypescript[opulent]
\usetypescript [sans][karat][map,name] \definefont[MyFont][karat]
\definetypeface [Dirar] [rm] [serif] [times] [default] \definetypeface [Dirar] [ss] [sans] [helvetica] [default] [rscale=.9] \definetypeface [Dirar] [tt] [mono] [courier] [default] [rscale=1.1] \definetypeface [Other] [rm] [serif] [other-times] [default] \definetypeface [Other] [ss] [sans] [other-helvetica] [default] [rscale=.9] \definetypeface [Other] [tt] [mono] [other-courier] [default] [rscale=1.1] \starttext \switchtotypeface[Dirar][ss,12pt] MAdame, Monsieur switchtotypeface[Other][rm,12pt] Madame, Monsieur \stoptext I hope this will solve the question Willi
\starttext \switchtobodyfont[karat] Madame, Monsieur
\switchtobodyfont[opulent] Madame, Monsieur
\switchtobodyfont[MyFont] Madame, Monsieur \stoptext
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context