On 19-2-2010 14:50, Troy Henderson wrote:
I am a LaTeX user for about 15 years, but I am very new ConTeXt. I am having trouble using the complete set of Lucida fonts purchased from TUG.
http://www.tug.org/store/lucida/
I have followed the first set of instructions at
http://wiki.contextgarden.net/Lucida
and the fonts work great for MKII (texexec). When building the same document (that works for MKIV) with MKIV (context), the text fonts are fine but the math fonts are set in Roman instead instead of math. Is there an easy way to adapt the configuration file(s) for MKII to MKIV? If this is possible but just requires a tedious process, I'm willing to do this, but I have no clue of the steps needed.
I would appreciate any advice.
This sort of works apart from math. The problem with lucida is that it was originally shipped by yandy and when tug took over the metric files were not keps as is (or even shipped) but changed to different names (hlcra.tfm etc) and these don't ship with texlive so i cannot test (i have the original lucida maths fonts). This leave all those who bought lucida in the past without proper support. As the metrics etc were made for latex, latex users probably don't notice this, but tex users who rolled out their own font code (or other packages) are crippled by this. Maybe the minimals should ship those lucida math tfm files (i don't know if there are vf files too). I'm not going to buy new lucida math fonts. for mkiv lucida math is turned into a virtual unicode font (math-vfu) but as said i cannot test it without the proper metrics; actually, these math fonts is the only place where mkiv still uses tfm files \starttypescript [serif] [lucida] [name] \usetypescript[serif][fallback] \definefontsynonym[Serif] [name:LucidaBright] \definefontsynonym[SerifBold] [name:LucidaBright-Demi] \definefontsynonym[SerifItalic] [name:LucidaBright-Italic] \definefontsynonym[SerifBoldItalic][name:LucidaBright-DemiItalic] \stoptypescript \starttypescript [sans] [lucida] [name] \usetypescript[sans][fallback] \definefontsynonym[Sans] [name:LucidaSans] \definefontsynonym[SansItalic] [name:LucidaSans-Oblique] \definefontsynonym[SansBold] [name:LucidaSans-Demi] \definefontsynonym[SansBoldItalic] [name:LucidaSans-DemiOblique] \stoptypescript \starttypescript [mono] [lucida] [name] \usetypescript[mono][fallback] \definefontsynonym[Mono] [name:LucidaSans-Typewriter] \definefontsynonym[MonoItalic] [name:LucidaSans-TypewriterOblique] \definefontsynonym[MonoBold] [name:LucidaSans-TypewriterBold] \definefontsynonym[MonoBoldItalic] [name:LucidaSans-TypewriterBoldOblique] \stoptypescript \definetypeface[MyLucida][rm][serif][lucida][default][features=default] \definetypeface[MyLucida][ss][sans] [lucida][default][features=default] \definetypeface[MyLucida][tt][mono] [lucida][default][features=default] \definetypeface[MyLucida][mm][math] [lucida][default] \setupbodyfont[MyLucida] \starttext test $x$ \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------