![](https://secure.gravatar.com/avatar/7b379a30e1f93c5c5ed942c7a404fd86.jpg?s=120&d=mm&r=g)
Problem Solved. \usetypescriptfile[type-buy] % loads commercial font definitions \usetypescript[lucida][texnansi] % defines a lucida typeface \setupbodyfont[lucida,12pt] This worked. Colin On Jul 31, 2006, at 5:28 PM, Helin Gai wrote:
I wrote a typescriptfile according to the manual of TeXfont (attached below) and with the following code
\usetypescriptfile[lucida] \definetypeface[lucida][rm][serif][lucida][default][encoding=texnansi] \definetypeface[lucida][ss][sans] [lucida][default][encoding=texnansi] \setupbodyfont[lucida,10pt,rm]
Things do work... but i'm wondering whether there is an easier way...
Thanks.
Colin
\loadmapfile [texnansi-bh-lucida.map]
\starttypescript [serif] [lucida] [name] \definefontsynonym[Serif] [LucidaBright] \definefontsynonym[SerifItalic] [LucidaBright-Italic] \definefontsynonym[SerifSlanted] [LucidaBright-Oblique] \definefontsynonym[SerifBold] [LucidaBlackletter] %\definefontsynonym[SerifBoldItalic] [OfficinaSerif-BoldItalic] %\definefontsynonym[SerifBoldSlanted][OfficinaSerif-BoldSlanted] \definefontsynonym[SerifCaps] [LucidaBrightSmallcaps-Demi] \stoptypescript \starttypescript [sans] [lucida] [name] \definefontsynonym[Sans] [LucidaSans] \definefontsynonym[SansItalic] [LucidaSans-Italic] \definefontsynonym[SansSlanted] [LucidaSans-Italic] \definefontsynonym[SansBold] [LucidaSans-Bold] \definefontsynonym[SansBoldItalic] [LucidaSans-BoldItalic] \definefontsynonym[SansBoldSlanted][LucidaSans-BoldItalic] %\definefontsynonym[SansCaps] [OfficinaSans-Caps] \stoptypescript \starttypescript [serif] [lucida] [texnansi] \definefontsynonym[LucidaCalligraphy-Italic][texnansi-lbc] [encoding=texnansi] \definefontsynonym[LucidaBright-Demi][texnansi-lbd][encoding=texnansi] \definefontsynonym[LucidaBright-DemiItalic][texnansi-lbdi] [encoding=texnansi] \definefontsynonym[LucidaBrightSmallcaps-Demi][texnansi-lbdsc] [encoding=texnansi] \definefontsynonym[LucidaHandwriting-Italic][texnansi-lbh] [encoding=texnansi] \definefontsynonym[LucidaBright-Italic][texnansi-lbi] [encoding=texnansi] \definefontsynonym[LucidaCasual-Italic][texnansi-lbki] [encoding=texnansi] \definefontsynonym[LucidaCasual][texnansi-lbkr][encoding=texnansi] \definefontsynonym[LucidaBlackletter][texnansi-lbl][encoding=texnansi] \definefontsynonym[LucidaBright][texnansi-lbr][encoding=texnansi] \definefontsynonym[LucidaBrightSmallcaps][texnansi-lbrsc] [encoding=texnansi] \definefontsynonym[LucidaBright-Oblique][texnansi-lbsl] [encoding=texnansi] \definefontsynonym[LucidaTypewriterBold][texnansi-lbtb] [encoding=texnansi] \definefontsynonym[LucidaTypewriterBoldOblique][texnansi-lbtbo] [encoding=texnansi] \definefontsynonym[LucidaTypewriterOblique][texnansi-lbto] [encoding=texnansi] \definefontsynonym[LucidaTypewriter][texnansi-lbtr][encoding=texnansi] \definefontsynonym[LucidaFax-Demi][texnansi-lfd][encoding=texnansi] \definefontsynonym[LucidaFax-DemiItalic][texnansi-lfdi] [encoding=texnansi] \definefontsynonym[LucidaFax-Italic][texnansi-lfi][encoding=texnansi] \definefontsynonym[LucidaFax][texnansi-lfr][encoding=texnansi] \stoptypescript \starttypescript [sans] [lucida] [texnansi] \definefontsynonym[LucidaSans-Bold][texnansi-lsb][encoding=texnansi] \definefontsynonym[LucidaSans-BoldItalic][texnansi-lsbi] [encoding=texnansi] \definefontsynonym[LucidaSans-Demi][texnansi-lsd][encoding=texnansi] \definefontsynonym[LucidaSans-DemiItalic][texnansi-lsdi] [encoding=texnansi] \definefontsynonym[LucidaSans-Italic][texnansi-lsi][encoding=texnansi] \definefontsynonym[LucidaSans][texnansi-lsr][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterBold][texnansi-lstb] [encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterBoldOblique][texnansi-lstbo] [encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterOblique][texnansi-lsto] [encoding=texnansi] \definefontsynonym[LucidaSans-Typewriter][texnansi-lstr] [encoding=texnansi]
\stoptypescript
On Jul 31, 2006, at 5:21 PM, Taco Hoekwater wrote:
Helin Gai wrote:
Hi all,
I'm trying to set up ConTeXt to use the Lucida Bright Font. I've already installed the font in the "LaTeX way" and it works pretty well in LaTeX. But when I use the following:
As far as I know, using only this command should have worked:
\setupbodyfont[lbr] \starttext lucida text \stoptext
But for some reason it doesn't work for me either.
Taco _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context