Hi Hans, This is what i have done but it simply does not work. When i try the following with \setupbodyfont[karat], it works, but when i use \setupbodyfont[TitleFont], it does not work, despite of the \definefont[TitleFont][karat]. I kant see why !! \usetypescriptfile[Karat.tex] \usetypescript[karat] \definefont[TitleFont][karat] \setupbodyfont[TitleFont] % First way %\setupbodyfont[karat] % Second way \starttext Hello \stoptext These are my typescripts(Karat.tex): \usetypescriptfile[type-buy] \loadmapfile[texnansi-rubicon-karatmedium.map] \starttypescript [sans][karat][texnansi] \definefontsynonym [karat-sans][texnansi-KAMN][encoding=texnansi] \stoptypescript \starttypescript [sans][karat][name] \usetypescript[sans][fallback] \definefontsynonym [Sans][karat-sans] \stoptypescript \starttypescript [karat] \definetypeface [karat] [ss] [sans] [karat] [default] [encoding=texnansi] \stoptypescript _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.com/
Dirar BOUGATEF wrote:
Hi Hans,
This is what i have done but it simply does not work.
When i try the following with \setupbodyfont[karat], it works, but when i use \setupbodyfont[TitleFont], it does not work, despite of the \definefont[TitleFont][karat]. I kant see why !!
\usetypescriptfile[Karat.tex] \usetypescript[karat]
add: \setupbodyfont[karat,ss]
\definefont[TitleFont][karat]
becomes: \definefont[TitleFont][Sans at 24pt] % or karat-sans at 24pt or texnansi-KAMN at 24pt
\starttext
add: \TitleFont
Hello \stoptext
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Dirar BOUGATEF
-
Hans Hagen