From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56415 Path: news.gmane.org!not-for-mail From: Mikael Persson Newsgroups: gmane.comp.tex.context Subject: Re: Mathdesign and Fourier fonts (was What do you miss in ConTeXt?) Date: Sat, 20 Feb 2010 11:15:41 +0100 Message-ID: References: <6faad9f01002141424i18327f0ahb2ee7f8ae2993c50@mail.gmail.com> <6faad9f01002141426l3527e922y3ba711881cf55c93@mail.gmail.com> <4B7A903E.2070409@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1266660952 14188 80.91.229.12 (20 Feb 2010 10:15:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2010 10:15:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 20 11:15:49 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 1NimNJ-0001D4-NJ for gctc-ntg-context-518@m.gmane.org; Sat, 20 Feb 2010 11:15:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9BF6C9D54; Sat, 20 Feb 2010 11:15:48 +0100 (CET) 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 1TpbqNXt7Xrv; Sat, 20 Feb 2010 11:15:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 301B5C9C91; Sat, 20 Feb 2010 11:15:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C258C9C91 for ; Sat, 20 Feb 2010 11:15:45 +0100 (CET) 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 GIgTYM+yletW for ; Sat, 20 Feb 2010 11:15:42 +0100 (CET) Original-Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by balder.ntg.nl (Postfix) with ESMTP id 7185AC9C90 for ; Sat, 20 Feb 2010 11:15:42 +0100 (CET) Original-Received: by bwz28 with SMTP id 28so638221bwz.34 for ; Sat, 20 Feb 2010 02:15:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WUH+kWoCHXCg0rw1ep/Vske1jFp5DQluiW4vp+YcImE=; b=XsG9+VI7gSQZuTQTHyG2dmm+SGC79cX5F8Jsy9eup4Ozm21lUi1wot3PbvNRk1S9uQ ZzidvRaDAYpbHwkU35erPVEb1KhRh8K++0AqTl0XUs3PYpAG7+hmMf0SV0zMkN/lfz0Z faeVwaFWTCvdg1vq2QL9QCsjXdXXvdSniFaWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lafPdbxs1yw6fKg1B9BDDtfcmeT9QE7Pa8St9mCnl5twfciXBdHSOkjK0aU5YxBOHK tEdKvWLLg/RdJNV+V3BmiRlLJObnA2zp66LR1CIGkbqMco1xbJpN+1JbE5SOhTuY3vy1 rN4YUA1M7xf85Iavrgae23M2pC+ppyPngGyN8= Original-Received: by 10.204.33.71 with SMTP id g7mr192725bkd.201.1266660941345; Sat, 20 Feb 2010 02:15:41 -0800 (PST) In-Reply-To: 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:56415 Archived-At: On Wed, Feb 17, 2010 at 10:10 PM, Mikael Persson wrote: > On Tue, Feb 16, 2010 at 1:42 PM, Mikael Persson wrote: >> On Tue, Feb 16, 2010 at 1:31 PM, Hans Hagen wrote: >>> On 16-2-2010 11:38, Mikael Persson wrote: >>>> >>>> Thank you Mojca and Aditya for your answers, >>>> >>>> I hope the mathdesign part of mtx-update.lua will end up in the >>>> orignal file. I do not know how to use it now. >>>> >>>> If I save this file and update with "sh firstsetup.sh --extras=3Dall" >>>> (or --extras=3Dmathdesign) it seems that the mtx-update.lua is >>>> overwritten with the version from the server. I do not know howto >>>> upgrade with mtx-update.lua without firstsetup.sh. >>>> >>>> About the fourier fonts. Is there a lot of work to do in math-vfu.lua >>>> to get it to work? I looked into that file, but it was a bit hard to >>>> understand what is needed... >>>> >>>> Maybe it is hard work to get the fonts working, but I really think >>>> that if we have several text+math fonts easily available in the >>>> minimals that will make (new) users very happy. >>> >>> it depends ... if the font is in tex default encoding then it's only a >>> matter of adding a small table >> >> I'm not 100% sure how it works wth font encodings, but the fourier doc >> (http://mirror.ctan.org/fonts/fourier-GUT/doc/latex/fourier/fourier-doc-= en.pdf) >> says that the fonts are _fully_ T1 encoded. >> >> Mikael >> >> PS: Hans, do you have any comments about the mathdesign patch >> suggested by Mojca above? > > I have now manually downloaded the mathdesign fonts (and the charter > fonts, not available on the server it seems) > > The fonts gets used, but I get upright math letters instead of italic > ones. My test file is given by > > \definetypeface[charter][rm][serif][charter] =A0 =A0 [default] > \definetypeface[charter][mm][math] [charter] =A0 =A0 [default] > > \setupbodyfont[charter,10pt] > > \starttext > We define, for real $x$, the absolute value of $x$ as > \startformula > |x|=3D > \startcases > \NC \hphantom{-}x \MC x\geq 0,\NR > \NC -x \MC x<0.\NR > \stopcases > \stopformula > Also let $\alpha$, $\beta$ and $\Gamma$ be\dots > \stoptext > > The output can be found at > > http://home.imf.au.dk/mickep/mdesign.pdf > > Typesetting a similar document with LaTeX I get italic math (note also > that the \Gamma is upright, I guess that this is an option that is > turned on by default by LaTeX) > > http://home.imf.au.dk/mickep/lmdesign.pdf > > I guess this has something to do with the following lines in math-vfu.lua > > mathematics.make_font ( "charter-math", { > =A0 =A0{ name =3D "file:bchr8a", features =3D "virtualmath", main =3D tru= e }, > =A0-- { name =3D "md-chr7m.tfm", vector =3D "tex-mr" }, > =A0 =A0{ name =3D "md-chri7m.tfm", vector =3D "tex-mi", skewchar=3D0x7F }, > =A0 =A0{ name =3D "md-chri7m.tfm", vector =3D "tex-it", skewchar=3D0x7F }, > =A0 =A0{ name =3D "md-chr7y.tfm", vector =3D "tex-sy", skewchar=3D0x30, > parameters =3D true }, > =A0 =A0{ name =3D "md-chr7v.tfm", vector =3D "tex-ex", extension =3D true= }, > =A0 =A0{ name =3D "msam10.tfm", vector =3D "tex-ma" }, > =A0 =A0{ name =3D "msbm10.tfm", vector =3D "tex-mb" }, > } ) > > However, I am not able guess what to change (I tried different things > available in mdbch.map). > > Any help is appreciated. > > Mikael > Hans, Mojca, Aditya, Wolfgang and others 1) Can anyone confirm this problem in the previous mail or point out what might be wrong? 2) The problem Troy had with lucida, is it the same? 3) What is needed to get fourier fonts working? Is it enough adding to math-vfu.lua an entry like mathematics.make_font ( "fourier-math", { ... }) with the right names for fourier? I tried this, but no math fonts is showing up in the pdf file. In what other file should I add changes. I'm willing to do some trial and error to get it to work... Best regards, Mikael ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________