From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49746 Path: news.gmane.org!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: beta Date: Thu, 23 Apr 2009 11:51:17 +0200 Message-ID: References: <49ED7424.4090601@wxs.nl> <49ED8992.5020006@wxs.nl> <160ADAAE-6FA7-4C70-8120-9455C6280DDA@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1814234203==" X-Trace: ger.gmane.org 1240480728 15482 80.91.229.12 (23 Apr 2009 09:58:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2009 09:58:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 23 12:00:07 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Lwvcx-0005vD-UC for gctc-ntg-context-518@m.gmane.org; Thu, 23 Apr 2009 11:53:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BBD731FC01; Thu, 23 Apr 2009 11:52:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28323-05; Thu, 23 Apr 2009 11:51:34 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB1F41FB77; Thu, 23 Apr 2009 11:51:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FCD01FB71 for ; Thu, 23 Apr 2009 11:51:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14120-03 for ; Thu, 23 Apr 2009 11:51:21 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id 59E3B1FB6D for ; Thu, 23 Apr 2009 11:51:21 +0200 (CEST) Original-Received: from mail-fx0-f176.google.com (mail-fx0-f176.google.com [209.85.220.176]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3N9pHd4011863 for ; Thu, 23 Apr 2009 11:51:18 +0200 Original-Received: by fxm24 with SMTP id 24so458129fxm.2 for ; Thu, 23 Apr 2009 02:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=P/YxHQuiTAi8+r/7hyQbVDX+LeywUEtS76Z7JQJaNkI=; b=N0BNQ6f8wqW4VHX88J4dz6xxqO6rhz05FwjpaRfpUeZwDLFImsRKdjupRxu145Fpcv yG9c5PUulyTpB1nZZUeh0UX+lTt8BCBalX7of19Wb3vv0opchv2HDuxpUccb03yV8Te9 +WnfQQxprTbSU2fDiq8j6eXCgxjMg5P/fZBQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EFY0jJ6gvn5XgHEXArAyLiQJSqIwIiQdjn5fhr9m2SrxNPD0YWD7GyngZtqv1cGqP0 i9Ab/r/GyrrA6VZWYYoTkAitt9Haizq+ofFVq2rmH31Zg6rH0IxBkCvNy5tA0M5KjTqh hWSoLrldlUOsAznMPgCHDNlQvguGxk4bc3+/U= Original-Received: by 10.204.114.140 with SMTP id e12mr773603bkq.68.1240480277622; Thu, 23 Apr 2009 02:51:17 -0700 (PDT) In-Reply-To: <160ADAAE-6FA7-4C70-8120-9455C6280DDA@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 213215158 - 4f7603c2ed51 - 20090423 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49746 Archived-At: --===============1814234203== Content-Type: multipart/alternative; boundary=0016366975664c7163046835d2ec --0016366975664c7163046835d2ec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thanks Wolfgang, but I got following error: define font | font with name hlcrim is not found math virtual | loading font lucidamath subfont 2 with name hlcrim at 458752 is skipped, not found define font | font with name hlcry is not found math virtual | loading font lucidamath subfont 3 with name hlcry at 458752 is skipped, not found define font | font with name hlcrv is not found math virtual | loading font lucidamath subfont 4 with name hlcrv at 458752 is skipped, not found ! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: attempt to index field '?' (a nil value) stack traceback: ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: in function 'arrow' ...tminimal/texmf-context/tex/context/base/math-vfu.lua:222: in function 'alas' ...tminimal/texmf-context/tex/context/base/math-vfu.lua:498: in function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243> (tail call): ? (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function 'read' ...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function 'command_2'
:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamily ...family \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \plu... \synchronizemath ...athfonts \the \mathstrategies \fi ...chronizefonts \synchronizemath \synchronizefont \fi \spac... ... l.3 \setupbodyfont[lucida] Installing the tfm and vf fontfiles from CTAN did not help. after adapting your script to: \startluacode mathematics.make_font ( "lucida-math", { { name = "lbr.afm", features = "virtualmath", main = true }, { name = "lbmi.afm", vector = "traditional-mi", skewchar=0x7F }, { name = "lbms.afm", vector = "traditional-sy", skewchar=0x30, parameters = true }, { name = "lbme.afm", vector = "traditional-ex", extension = true }, { name = "msam10", vector = "traditional-ma" }, { name = "msbm10", vector = "traditional-mb" }, } ) \stopluacode ConTeXt found the fonts but gaves: ! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: attempt to index local 'fci' (a nil value) stack traceback: ...tminimal/texmf-context/tex/context/base/math-vfu.lua:464: in function <...tminimal/texmf-context/tex/context/base/math-vfu.lua:243> (tail call): ? (tail call): ? ...tminimal/texmf-context/tex/context/base/font-def.lua:506: in function 'read' ...tminimal/texmf-context/tex/context/base/font-ctx.lua:288: in function 'command_2'
:1: in main chunk. \lowleveldefinefont ...dimexpr \textface \relax )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \dodosetmathfamily ...family \fontsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \plu... \synchronizemath ...athfonts \the \mathstrategies \fi ...chronizefonts \synchronizemath \synchronizefont \fi \spac... ... l.3 \setupbodyfont[lucida] No success so far... Greetings Lutz 2009/4/23 Wolfgang Schuster > > 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][lucidamath@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 > > ___________________________________________________________________________________ > --0016366975664c7163046835d2ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Wolfgang,

but I got following error:
define font | font wi= th name hlcrim is not found
math virtual | loading font lucidamath subfo= nt 2 with name hlcrim at 458752 is skipped, not found
define font | font= with name hlcry is not found
math virtual | loading font lucidamath subfont 3 with name hlcry at 458752 = is skipped, not found
define font | font with name hlcrv is not foundmath virtual | loading font lucidamath subfont 4 with name hlcrv at 458752= is skipped, not found
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85: = attempt to index field '?' (a nil value)
stack traceback:
=C2= =A0=C2=A0=C2=A0 ...tminimal/texmf-context/tex/context/base/math-vfu.lua:85:= in function 'arrow'
=C2=A0=C2=A0=C2=A0 ...tminimal/texmf-context/tex/context/base/math-vfu.lua:= 222: in function 'alas'
=C2=A0=C2=A0=C2=A0 ...tminimal/texmf-con= text/tex/context/base/math-vfu.lua:498: in function <...tminimal/texmf-c= ontext/tex/context/base/math-vfu.lua:243>
=C2=A0=C2=A0=C2=A0 (tail call): ?
=C2=A0=C2=A0=C2=A0 (tail call): ?
= =C2=A0=C2=A0=C2=A0 ...tminimal/texmf-context/tex/context/base/font-def.lua:= 506: in function 'read'
=C2=A0=C2=A0=C2=A0 ...tminimal/texmf-con= text/tex/context/base/font-ctx.lua:288: in function 'command_2'
=C2=A0=C2=A0=C2=A0 <main ctx instance>:1: in main chunk.
\lowlevel= definefont ...dimexpr \textface \relax )}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \edef \somefontspec {at \s...
\x= xdododefinefont ...efont {#4}\newfontidentifier
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \let = \localrelativefontsiz...
\dodosetmathfamily ...family \fontsize \endcsna= me
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 \else \ifcsname \fontclass...
\dosetmathfamily ...athfamily \scripts= criptfont #1
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \let = \currentmathsize \plu...
\synchronizemath ...athfonts \the \mathstrategi= es
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 \fi
<inserted text> ...chronizefonts \synchronizemath
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \sync= hronizefont \fi \spac...
...
l.3 \setupbodyfont[lucida]


In= stalling the tfm and vf fontfiles from CTAN did not help.

after adap= ting your script to:

\startluacode
mathematics.make_font ( "lucida-math", {
= =C2=A0=C2=A0 { name =3D "lbr.afm", features =3D "virtualmath= ", main =3D true },
=C2=A0=C2=A0 { name =3D "lbmi.afm", v= ector =3D "traditional-mi", skewchar=3D0x7F },
=C2=A0=C2=A0 { name =3D "lbms.afm", vector =3D "traditional-= sy", skewchar=3D0x30, parameters =3D true },
=C2=A0=C2=A0 { name = =3D "lbme.afm", vector =3D "traditional-ex", extension = =3D true },
=C2=A0=C2=A0 { name =3D "msam10", vector =3D "= ;traditional-ma" },
=C2=A0=C2=A0 { name =3D "msbm10", vector =3D "traditional-mb= " },
} )
\stopluacode

ConTeXt found the fonts but gaves:<= br>
! LuaTeX error ...tminimal/texmf-context/tex/context/base/math-vfu.l= ua:464: attempt to index local 'fci' (a nil value)
stack traceback:
=C2=A0=C2=A0=C2=A0 ...tminimal/texmf-context/tex/contex= t/base/math-vfu.lua:464: in function <...tminimal/texmf-context/tex/cont= ext/base/math-vfu.lua:243>
=C2=A0=C2=A0=C2=A0 (tail call): ?
=C2= =A0=C2=A0=C2=A0 (tail call): ?
=C2=A0=C2=A0=C2=A0 ...tminimal/texmf-cont= ext/tex/context/base/font-def.lua:506: in function 'read'
=C2=A0=C2=A0=C2=A0 ...tminimal/texmf-context/tex/context/base/font-ctx.lua:= 288: in function 'command_2'
=C2=A0=C2=A0=C2=A0 <main ctx ins= tance>:1: in main chunk.
\lowleveldefinefont ...dimexpr \textface \re= lax )}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 \edef \somefontspec {at \s...
\xxdododefinefont ...efont {#4}\newfontidentifier
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \let \localrelativefontsiz= ...
\dodosetmathfamily ...family \fontsize \endcsname
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \else \ifcsname \= fontclass...
\dosetmathfamily ...athfamily \scriptscriptfont #1
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \let \currentmathsize \plu= ...
\synchronizemath ...athfonts \the \mathstrategies
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \fi
<inserted text> ...chronizefonts \synchronizemath
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \synchronizefont \fi= \spac...
...
l.3 \setupbodyfont[lucida]

No success so far...<= br>

Greetings Lutz



2009/4/23 Wolfgang Schuster <schuster.= wolfgang@googlemail.com>

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 wo= rking in
mkiv?


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

\startluacode
mathematics.make_font ( "lucida-math", {
=C2=A0 =C2=A0{ name =3D "lbr.afm", features =3D "virtualmat= h", main =3D true },
=C2=A0 =C2=A0{ name =3D "hlcrim", vector =3D "traditional-m= i", skewchar=3D0x7F },
=C2=A0 =C2=A0{ name =3D "hlcry", vector =3D "traditional-sy= ", skewchar=3D0x30, parameters =3D true },
=C2=A0 =C2=A0{ name =3D "hlcrv", vector =3D "traditional-ex= ", extension =3D true },
=C2=A0 =C2=A0{ name =3D "msam10", vector =3D "traditional-m= a" },
=C2=A0 =C2=A0{ name =3D "msbm10", vector =3D "traditional-m= b" },
} )
\stopluacode

\starttypescript [math] [lucida] [all]
=C2=A0 =C2=A0\definefontsynonym[MathRoman][lucidamath@lucida-math]
=C2=A0 =C2=A0\loadmapfile[lucida.map]
\stoptypescript

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

Wolfgang


___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: https://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

--0016366975664c7163046835d2ec-- --===============1814234203== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1814234203==--