From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63033 Path: news.gmane.org!not-for-mail From: nitralime Newsgroups: gmane.comp.tex.context Subject: Re: Using fourier-GUT as math font Date: Thu, 28 Oct 2010 15:52:29 +0200 Message-ID: <4CC9801D.2090005@gmail.com> References: <4CC6FB1A.7000105@gmail.com> <4CC82DE7.10909@gmail.com> <4CC97332.7060907@wxs.nl> Reply-To: nitralime@gmail.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1019770220==" X-Trace: dough.gmane.org 1288273990 5231 80.91.229.12 (28 Oct 2010 13:53:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 13:53:10 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 15:53:08 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBSuh-0003gT-Hl for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 15:53:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6101CA79B; Thu, 28 Oct 2010 15:53:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WAix56TrD+GT; Thu, 28 Oct 2010 15:53:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9595ACA7A2; Thu, 28 Oct 2010 15:53:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 126CFCA7A2 for ; Thu, 28 Oct 2010 15:53:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NDdmH5-8b4l5 for ; Thu, 28 Oct 2010 15:52:48 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id ADD3ACA79B for ; Thu, 28 Oct 2010 15:52:48 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9SDql6M020224 for ; Thu, 28 Oct 2010 15:52:47 +0200 Original-Received: by fxm2 with SMTP id 2so2016398fxm.14 for ; Thu, 28 Oct 2010 06:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type; bh=3TPpUgx336kWOr4dmKbEPZvKlGMLyrkiUtf7Wl+XitE=; b=ITAdhDhKJAj8h5huci9Yx+YTIPSDwkGoYhiEjuaGtcqmEr7h/c6LVPPGXcWpbT2mEa hJT7BKXSv/awkSl/Bv2mahct96GmFKh1IX86YP6WFpNj22vdlSloX8ozF5dflf61nKJb AHXoCPJvsXR2efeqwEfnWcu1chYXFgH6tLMrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=Utv/BdXjYaVIxm84mbybH8sF0snZIBTIUinGQGnGgBREJdePYxcmlG8B4TNfwWVuKJ lbw16ZjIXr2A4eLtgO+jMNW1nnq5VWEkYI0eCZ9hPYn4q7ddmtiaUc5Nwny5UayMJ2pA CCCYgotDxMP/3N5Vi9DGC4dj3qXV3A1k5dx50= Original-Received: by 10.223.106.16 with SMTP id v16mr4116043fao.18.1288273966389; Thu, 28 Oct 2010 06:52:46 -0700 (PDT) Original-Received: from [0.0.0.0] ([80.121.231.190]) by mx.google.com with ESMTPS id k4sm485148faa.8.2010.10.28.06.52.44 (version=SSLv3 cipher=RC4-MD5); Thu, 28 Oct 2010 06:52:45 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101019 Lightning/1.0b2 Lanikai/3.1.5 In-Reply-To: <4CC97332.7060907@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 05DodQLVA - b84126fc44d8 - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:63033 Archived-At: This is a multi-part message in MIME format. --===============1019770220== Content-Type: multipart/alternative; boundary="------------020900080708070801090804" This is a multi-part message in MIME format. --------------020900080708070801090804 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Thank you very much for this info! As a beginner I must first figure out (resp. digest) what you have written:-) My intention was to create a typescript for the combination Baskerville (serif) + GillSans(sans) + Consolas(mono) + FourierGUT(math) The typescript included in my original posting contains the relevant definitions for all of these parts (serif, sans etc.). I have added the output of "mtxrun ..." on my pc below. Hopefully somebody else on this list can give me some tips! *[nik@hilbert ~]$* *mtxrun --script fonts --list --all --pattern=*fourier** fourieralternateblack fourieralternateblack /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-black.afm fourieralternateblackblack fourieralternateblack /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-black.afm fourieralternatebold fourieralternatebold /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-bold.afm fourieralternateboldbold fourieralternatebold /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-bold.afm fourieralternatebolditalic fourieralternatebolditalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-boldita.afm fourieralternatebolditalicbold fourieralternatebolditalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-boldita.afm fourieralternateitalic fourieralternateitalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-ita.afm fourieralternateitalicnormal fourieralternateitalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-ita.afm fourieralternateroman fourieralternateroman /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt.afm fourieralternateromannormal fourieralternateroman /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt.afm fourieralternatesemibold fourieralternatesemibold /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semi.afm fourieralternatesemiboldsemibold fourieralternatesemibold /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semi.afm fourieralternatesemitalic fourieralternatesemitalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semiita.afm fourieralternatesemitalicsemibold fourieralternatesemitalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semiita.afm *fouriermathblackboard fouriermathblackboard /home/nik/.fonts/MathFonts/FourierGUT/fourier-bb.afm fouriermathblackboardblack fouriermathblackboard /home/nik/.fonts/MathFonts/FourierGUT/fourier-bb.afm fouriermathcal fouriermathcal /home/nik/.fonts/MathFonts/FourierGUT/fourier-mcl.afm fouriermathcalnormal fouriermathcal /home/nik/.fonts/MathFonts/FourierGUT/fourier-mcl.afm fouriermathextension fouriermathextension /home/nik/.fonts/MathFonts/FourierGUT/fourier-mex.afm fouriermathextensionmedium fouriermathextension /home/nik/.fonts/MathFonts/FourierGUT/fourier-mex.afm fouriermathletters fouriermathletters /home/nik/.fonts/MathFonts/FourierGUT/fourier-ml.afm fouriermathlettersbold fouriermathlettersbold /home/nik/.fonts/MathFonts/FourierGUT/fourier-mlb.afm fouriermathlettersbolditalic fouriermathlettersbolditalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-mlitb.afm fouriermathlettersitalic fouriermathlettersitalic /home/nik/.fonts/MathFonts/FourierGUT/fourier-mlit.afm fouriermathlettersnormal fouriermathletters /home/nik/.fonts/MathFonts/FourierGUT/fourier-ml.afm fouriermathsymbols fouriermathsymbols /home/nik/.fonts/MathFonts/FourierGUT/fourier-ms.afm fouriermathsymbolsnormal fouriermathsymbols /home/nik/.fonts/MathFonts/FourierGUT/fourier-ms.afm* fourierorns fourierorns /home/nik/.fonts/MathFonts/FourierGUT/fourier-orns.afm fourierornsnormal fourierorns /home/nik/.fonts/MathFonts/FourierGUT/fourier-orns.afm Kind regards Nik On 10/28/2010 02:57 PM, Hans Hagen wrote: > On 27-10-2010 3:49, nitralime wrote: >> I have made a mistake in my typescript. Here is the corrected version: >> >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> .............. >> \starttypescript [math] [fourier][texnansi] >> \definefontsynonym [Fourier-Math-Letters] [name:fouriermathletters] >> \definefontsynonym [Fourier-Math-Letters-Italic] >> [name:fouriermathlettersitalic] >> \definefontsynonym [Fourier-Math-Letters-Bold] >> [name:fouriermathlettersbold] >> \definefontsynonym [Fourier-Math-Letters-BoldItalic] >> [name:fouriermathlettersbolditalic] >> \definefontsynonym [Fourier-Math-Blackboard] >> [name:fouriermathblackboard] >> \definefontsynonym [Fourier-Math-Calligraphic] [name:fouriermathcal] >> \definefontsynonym [Fourier-Math-Symbols] [name:fouriermathsymbols] >> \definefontsynonym [Fourier-Math-Extension] [name:fouriermathextension] >> %----------------------------------------------------------------------- >> \definefontsynonym [Euler-Fraktur] [name:eufm10] >> \definefontsynonym [Euler-Fraktur-Bold] [name:eufb10] >> %----------------------------------------------------------------------- >> \stoptypescript >> .............. >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> >> However, this correction has not affected the final result. The same >> problem as before:-( > > It does not work that way in mkiv. > > (1) you need a proper serif definition: > > \starttypescript [serif] [utopia] [name] > \definefontsynonym [Serif] [file:whatever.afm] > \definefontsynonym [SerifItalic] [file:...] > \definefontsynonym [SerifBold] [file:...] > \definefontsynonym [SerifBoldItalic] [file:...] > \definefontsynonym [SerifSlanted] [file:...] > \definefontsynonym [SerifBoldSlanted] [file:...] > \stoptypescript > > (2) you need a math definition: > > \starttypescript [math] [fourier] > \loadfontgoodies[fourier-math] > \definefontsynonym[MathRoman][fourier@fourier-math] > \stoptypescript > > (3) now you can define a typeface: > > \definetypeface[whatever][rm][serif][utopia] [default] > \definetypeface[whatever][mm][math] [fourier][default] > > \setupbodyfont[whatever] > > However, first you need to figure out the right names for the utopia > files. Next you need to make a file fourier-math.lfg, like: > > return { > name = "fourier-math", > version = "1.00", > comment = "Goodies that complement fourier math.", > author = "Hans", > copyright = "ConTeXt development team", > mathematics = { > mapfiles = { > "fourier.map", > }, > virtuals = { > ["fourier-math"] = { > { name = "futmi.tfm", vector = "tex-mi" }, > { name = "futmii.tfm", vector = "tex-it" }, > { name = "futsy.tfm", vector = "lbr-sy", > skewchar=0x7F, parameters = true }, > { name = "fourier-mex.tfm", vector = "tex-ex", > extension = true }, > } > } > } > } > > This does not work at my end as the names of the files are wrong. > Also, more entries are needed (see for instance lucida-math.lfg). I > have no time to figure out these names. > > (btw, there is already some math utopia support) > > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- --------------020900080708070801090804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you very much for this info!
As a beginner I must first figure out (resp. digest) what you have written:-)
My intention was to create a typescript for the combination

=C2=A0=C2=A0=C2=A0 Baskerville (serif) + GillSans(sans) + Consolas(mo= no) + FourierGUT(math)

The typescript included in my original posting contains the relevant definitions
for all of these parts (serif, sans etc.).

I have added the output of=C2=A0 "mtxrun ..." on my pc below.
Hopefully somebody else on this list can give me some tips!

[nik@hilbert ~]$ mtxrun --script fonts --list --all --pattern=3D*fourier*

fourieralternateblack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fourieralternateblack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-black.afm
fourieralternateblackblack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 fourieralternateblack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-black.afm
fourieralternatebold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fourieralternatebold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-bold.afm
fourieralternateboldbold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 fourieralternatebold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-bold.afm
fourieralternatebolditalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 fourieralternatebolditalic=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-boldita.afm
fourieralternatebolditalicbold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fourieralternatebolditalic=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-boldita.afm
fourieralternateitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fourieralternateitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-ita.afm
fourieralternateitalicnormal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 fourieralternateitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-ita.afm
fourieralternateroman=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fourieralternateroman=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt.afm
fourieralternateromannormal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 fourieralternateroman=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt.afm
fourieralternatesemibold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 fourieralternatesemibold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semi.afm
fourieralternatesemiboldsemibold=C2=A0=C2=A0=C2=A0 fourieralternatesemibold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semi.afm
fourieralternatesemitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 fourieralternatesemitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semiita.afm
fourieralternatesemitalicsemibold=C2=A0=C2=A0 fourieralternatesemitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-alt-semiita.afm
fouriermathblackboard=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathblackboard=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-bb.afm
fouriermathblackboardblack=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 fouriermathblackboard=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-bb.afm
fouriermathcal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 fouriermathcal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mcl.afm
fouriermathcalnormal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathcal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mcl.afm
fouriermathextension=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathextension=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mex.afm
fouriermathextensionmedium=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 fouriermathextension=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mex.afm
fouriermathletters=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathletters=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-ml.afm
fouriermathlettersbold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathlettersbold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mlb.afm
fouriermathlettersbolditalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 fouriermathlettersbolditalic=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mlitb.afm
fouriermathlettersitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathlettersitalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-mlit.afm
fouriermathlettersnormal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathletters=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-ml.afm
fouriermathsymbols=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathsymbols=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-ms.afm
fouriermathsymbolsnormal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 fouriermathsymbols=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-ms.afm

fourierorns=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 fourierorns=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-orns.afm
fourierornsnormal=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fourierorns=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /home/nik/.fonts/MathFonts/FourierGUT/fourier-orns.afm

Kind regards
Nik

=C2=A0
On 10/28/2010 02:57 PM, Hans Hagen wrote:
On 27-10-2010 3:49, nitralime wrote:
I have made a mistake in my typescript. Here is the corrected version:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
..............
\starttypescript [math] [fourier][texnansi]
\definefontsynonym [Fourier-Math-Letters] [name:fouriermathletters]
\definefontsynonym [Fourier-Math-Letters-Italic]
[name:fouriermathlettersitalic]
\definefontsynonym [Fourier-Math-Letters-Bold]
[name:fouriermathlettersbold]
\definefontsynonym [Fourier-Math-Letters-BoldItalic]
[name:fouriermathlettersbolditalic]
\definefontsynonym [Fourier-Math-Blackboard] [name:fouriermathblackboard]
\definefontsynonym [Fourier-Math-Calligraphic] [name:fouriermathcal]
\definefontsynonym [Fourier-Math-Symbols] [name:fouriermathsymbols]
\definefontsynonym [Fourier-Math-Extension] [name:fouriermathextension]
%-----------------------------------------------------------------------
\definefontsynonym [Euler-Fraktur] [name:eufm10]
\definefontsynonym [Euler-Fraktur-Bold] [name:eufb10]
%-----------------------------------------------------------------------
\stoptypescript
..............
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

However, this correction has not affected the final result. The same
problem as before:-(

It does not work that way in mkiv.

(1) you need a proper serif definition:

\starttypescript [serif] [utopia] [name]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [Serif]=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [file:whatever.afm]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SerifItalic]=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 [file:...]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SerifBold]=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 [file:...]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SerifBoldItalic]=C2=A0 [file= :...]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SerifSlanted]=C2=A0=C2=A0=C2= =A0=C2=A0 [file:...]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SerifBoldSlanted] [file:...]
\stoptypescript

(2) you need a math definition:

\starttypescript [math] [fourier]
=C2=A0=C2=A0=C2=A0 \loadfontgoodies[fourier-math]
=C2=A0=C2=A0=C2=A0 \definefontsynonym[MathRoman][fourier@fourier-ma= th]
\stoptypescript

(3) now you can define a typeface:

\definetypeface[whatever][rm][serif][utopia] [default]
\definetypeface[whatever][mm][math] [fourier][default]

\setupbodyfont[whatever]

However, first you need to figure out the right names for the utopia files. Next you need to make a file fourier-math.lfg, like:

return {
=C2=A0=C2=A0=C2=A0 name =3D "fourier-math",
=C2=A0=C2=A0=C2=A0 version =3D "1.00",
=C2=A0=C2=A0=C2=A0 comment =3D "Goodies that complement fourier mat= h.",
=C2=A0=C2=A0=C2=A0 author =3D "Hans",
=C2=A0=C2=A0=C2=A0 copyright =3D "ConTeXt development team",
=C2=A0=C2=A0=C2=A0 mathematics =3D {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mapfiles =3D {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = "fourier.map",
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 virtuals =3D {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = ["fourier-math"] =3D {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 { name =3D "futmi.tfm", vector =3D "tex-mi" },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 { name =3D "futmii.tfm", vector =3D "tex-it" },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 { name =3D "futsy.tfm", vector =3D "lbr-sy", skewchar=3D0x7F, parameters =3D true },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 { name =3D "fourier-mex.tfm", vector =3D "tex-ex", extension =3D true },
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = }
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
}

This does not work at my end as the names of the files are wrong. Also, more entries are needed (see for instance lucida-math.lfg). I have no time to figure out these names.

(btw, there is already some math utopia support)



-----------------------------------------------------------------
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 Hans Hagen | PRAGMA ADE
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
=C2=A0=C2=A0=C2=A0 tel: 038 477 53 69 | voip: 087 875 68 74 | www.p= ragma-ade.com
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | www.pragma-pod.nl
-----------------------------------------------------------------

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