From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85790 Path: news.gmane.org!not-for-mail From: Elspeth McGullicuddy Newsgroups: gmane.comp.tex.context Subject: Re: kpfonts, math, type 1 font Date: Tue, 7 Jan 2014 20:39:57 +0100 Message-ID: References: <52CC1DF6.7060005@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389123600 9015 80.91.229.3 (7 Jan 2014 19:40:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jan 2014 19:40:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 07 20:40:09 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W0cVT-0003RA-Om for gctc-ntg-context-518@m.gmane.org; Tue, 07 Jan 2014 20:40:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A934101F5; Tue, 7 Jan 2014 20:40:07 +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 xZE47bi67Ybf; Tue, 7 Jan 2014 20:40:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0CC5E101E8; Tue, 7 Jan 2014 20:40:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DCAE101E8 for ; Tue, 7 Jan 2014 20:40:00 +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 53e4v9ew8COS for ; Tue, 7 Jan 2014 20:39:59 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 75076101E2 for ; Tue, 7 Jan 2014 20:39:59 +0100 (CET) Original-Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s07JpMtf004650 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 7 Jan 2014 20:51:23 +0100 Original-Received: by mail-ve0-f178.google.com with SMTP id c14so503914vea.23 for ; Tue, 07 Jan 2014 11:39:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SYvl6D94R6CMtqIpN5y4UaetQ8LURVbU0sNq+w0CpVQ=; b=gpWGp9yfQ8ijydRlIQIf4DAof+isT+dgvHG1MXjNRjsKTM9KMP219cpDoHu/ZbzK49 JsDiTnvYjI78L3FmIWPlEhRDc6KKa9xWoov2jXX3ItVXQ1AIUgSx0V24zvWRvaVr/IGC KHz4eJdZxtYhw7yeqTs6wVJdhGOfjCzO4ICbZx+cD/A4kz0HVuRl/Jo9/pJWPSHVk9u8 oS12V+VIToQCnd+bm/NRUJSX61r38b2YnjkJm41Y4Px3ugVN2WTJkcVSsSrcRoi/jm6J SxpPK01f/BE2OQbFuz+hrQJFNFV+hmrNqLd4UGq9Ixn5j6mzHJchemRl9Nc0pkNeG+/o U8nw== X-Received: by 10.52.120.81 with SMTP id la17mr3814424vdb.44.1389123597427; Tue, 07 Jan 2014 11:39:57 -0800 (PST) Original-Received: by 10.52.242.103 with HTTP; Tue, 7 Jan 2014 11:39:57 -0800 (PST) In-Reply-To: <52CC1DF6.7060005@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400c:c01::232; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Lb7PnAP - 2f7a9729659c - 20140107 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85790 Archived-At: On Tue, Jan 7, 2014 at 4:32 PM, Hans Hagen wrote: > On 1/7/2014 4:35 AM, Elspeth McGullicuddy wrote: > >> The Garamond-math one might be that: "mdugm-math.lfg: >> >> return { >> name = "mdugm-math", >> version = "1.00", >> comment = "Math fonts that complement URW Garamond.", >> author = "Hans, Mojca, Aditya", >> copyright = "ConTeXt development team", >> mathematics = { >> mapfiles = { >> "mdugm.map", >> "mkiv-base.map", >> }, >> virtuals = { >> ["mdugm-rm"] = { >> { name = "file:ugmr8a", features = "virtualmath", main = >> true }, >> { name = "mdugmr7m", vector = "tex-mr", skewchar=0x7F }, >> { name = "mdugmri7m", vector = "tex-mi", skewchar=0x7F }, >> { name = "mdugmri7m", vector = "tex-it", skewchar=0x7F }, >> { name = "mdugmm7m", vector = "tex-bf", skewchar=0x7F }, >> { name = "mdugmmi7m", vector = "tex-bi", skewchar=0x7F }, >> { name = "mdugmr7y", vector = "tex-sy", >> skewchar=0x30, parameters = true }, >> { name = "mdugmr7v", vector = "tex-ex", extension = true >> }, >> { name = "mdugmrma", vector = "tex-ma" }, >> { name = "mdugmrmb", vector = "tex-mb" }, >> }, >> ["mdugm-bf"] = { >> { name = "file:ugmm8a", features = "virtualmath", main = >> true }, >> { name = "mdugmm7m", vector = "tex-mr", skewchar=0x7F }, >> { name = "mdugmmi7m", vector = "tex-mi", skewchar=0x7F }, >> { name = "mdugmmi7m", vector = "tex-it", skewchar=0x7F }, >> { name = "mdugmm7y", vector = "tex-sy", >> skewchar=0x30, parameters = true }, >> { name = "mdugmm7v", vector = "tex-ex", extension = true >> }, >> { name = "mdugmmma", vector = "tex-ma" }, >> { name = "mdugmmmb", vector = "tex-mb" }, >> } >> } >> } >> } > > > indeed you have to make such a table for any math font combination you want > (when using type 1 fonts) > >> In this example, I believe the files involved are tfm files >> (ugmr8a.tfm, mdugmr7m.vf, in >> http://packages.debian.org/squeeze/all/texlive-fonts-extra/filelist) >> >> Note: the afm files of kpfonts are ziped in the doc directory. >> And I've got vf files, 688 of them. > > > normally you don't need more files than the ones you mention in the table; > best prevent too much polution of your tree by tfm/vf files > > (if you know exactly what you need you can make a path fonts/data/xxx/ > and put all relevant files there so that you keep the overview) > > Hans Thanks, I'll experiment in that direction and say when there are results. The files like tfm, afm, pfb,... seem to be found alright by "mtxrun --script fonts --reload" when they are in the ${HOME}/texmf/fonts/ tree, so I think I can leave them there. So I should make a sort of copy of "mdugm-math.lgf" and call it "kpfonts-math.lgf", and put it in ${HOME}/context/tex/texmf-context/tex/context/fonts/. [Do the same with a copy of "type-imp-mathdesign.mkiv", which contains: "\loadfontgoodies[mdugm-math]".] Or rather put a typescript in my document file as explained here: http://wiki.contextgarden.net/Math_fonts, and insert some "\loadfontgoodies[kpfonts-math]" in it. Execute: "context --make en". And that should be it. What is the "\s!" syntax for, as in "\s!Serif"? Chris ___________________________________________________________________________________ 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 ___________________________________________________________________________________