On Fri, Feb 19, 2010 at 4:46 PM, Hans Hagen <pra...@wxs.nl> wrote:
> 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
>

This is a bit funny, because the problem that Troy has with upright
math seems to be exactly the same problem I have with mathdesign,
described in the post
http://archive.contextgarden.net/message/20100217.211052.21a3f6f3.en.html

Could it be that something in math-vfu.lua (or elsewhere) is not
correct? (I have played with that file, but not succeeded in getting
it to work, and the lucida fonts are also handled in that file).

Mikael
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to