Am 23.04.2009 um 07:18 schrieb Lutz Haseloff:

Hi Hans, hi all,

with LuaTeX 0.40 the names database is written again and with Wolfgang's type-lucida.tex i can use LucidaBright. Is there any chance to get the Lucida Math fonts working in
mkiv?


Add the following at the end of my typescript I send in my last mail, I tested it with a few simple equations but it would help if we have a real test document like the one
from AMS.

\startluacode
mathematics.make_font ( "lucida-math", {
    { name = "lbr.afm", features = "virtualmath", main = true },
    { name = "hlcrim", vector = "traditional-mi", skewchar=0x7F },
{ name = "hlcry", vector = "traditional-sy", skewchar=0x30, parameters = true },
    { name = "hlcrv", vector = "traditional-ex", extension = true },
    { name = "msam10", vector = "traditional-ma" },
    { name = "msbm10", vector = "traditional-mb" },
} )
\stopluacode

\starttypescript [math] [lucida] [all]
    \definefontsynonym[mathroman][lucidam...@lucida-math]
    \loadmapfile[lucida.map]
\stoptypescript

\starttypescript [lucida]
  \definetypeface [lucida] [rm] [serif]       [lucida] [default]
  \definetypeface [lucida] [ss] [sans]        [lucida] [default]
  \definetypeface [lucida] [tt] [mono]        [lucida] [default]
  \definetypeface [lucida] [mm] [math]        [lucida] [default]
  \definetypeface [lucida] [hw] [handwriting] [lucida] [default]
  \definetypeface [lucida] [cg] [calligraphy] [lucida] [default]
\stoptypescript

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to