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 [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