From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63024 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Using fourier-GUT as math font Date: Thu, 28 Oct 2010 14:57:22 +0200 Message-ID: <4CC97332.7060907@wxs.nl> References: <4CC6FB1A.7000105@gmail.com> <4CC82DE7.10909@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288270693 20950 80.91.229.12 (28 Oct 2010 12:58:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 12:58:13 +0000 (UTC) Cc: nitralime To: nitralime@gmail.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 14:58:12 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 1PBS3T-0002Q1-7A for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 14:58:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3448CCA7A2; Thu, 28 Oct 2010 14:57:45 +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 OM3Kr6pX0YVx; Thu, 28 Oct 2010 14:57:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD036CA79E; Thu, 28 Oct 2010 14:57:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B140BCA79E for ; Thu, 28 Oct 2010 14:57:28 +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 nQSJbqOmWfvW for ; Thu, 28 Oct 2010 14:57:26 +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 56146CA79D for ; Thu, 28 Oct 2010 14:57:26 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9SCvP04011317 for ; Thu, 28 Oct 2010 14:57:25 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 4.3g4) with ESMTP id 11764-1713362 for multiple; Thu, 28 Oct 2010 14:54:30 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.11) Gecko/20101013 Lightning/1.0b2 Thunderbird/3.1.5 ThunderBrowse/3.3.2 In-Reply-To: <4CC82DE7.10909@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DocVp00 - 7df77233b608 - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:63024 Archived-At: 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________