Problem switching fonts in MKII
![](https://secure.gravatar.com/avatar/7897b8c8eeb0ed4ac7393add5b6d0cc9.jpg?s=120&d=mm&r=g)
Kudos for the new documentation chapters on Typography and Fonts. However, I still can't completely get my hands around it. Running the following code under TexLive MKII doesn't give the desired results in that defining font synonyms and switching to those typefaces doesn't seem to work. Obviously, I'm doing something wrong. \usetypescriptfile[type-gyr] \usetypescript[palatino][ec] \setupbodyfont[palatino,11pt] \definefontsynonym[AltTextFont][palatino] \usetypescriptfile[type-one] \usetypescript[bookman][default] \setupbodyfont[bookman,11pt] \definefontsynonym[TextFont][bookman] \starttext \switchtotypeface[TextFont] \showbodyfont \input knuth \blank[big] \switchtotypeface[AltTextFont] \showbodyfont \input knuth \blank[big] \switchtotypeface[bookman][11pt] \showbodyfont \input knuth \blank[big] \switchtotypeface[palatino][11pt] \showbodyfont \input knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hi, On 01/30/11 19:18, Tom wrote:
Kudos for the new documentation chapters on Typography and Fonts. However, I still can't completely get my hands around it. Running the following code under TexLive MKII doesn't give the desired results in that defining font synonyms and switching to those typefaces doesn't seem to work. Obviously, I'm doing something wrong.
As far as I know, you cannot define fontsynonyms to typefaces. If you want to use names like 'TextFont' as a typeface, you have to use \definetypeface. Best wishes, Taco
participants (2)
-
Taco Hoekwater
-
Tom