From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51842 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Two newbie questions about Texfont Date: Fri, 17 Jul 2009 11:21:29 +0200 Message-ID: <4A604299.7070206@wxs.nl> References: <97eab8e50907141047la6ce330qceba240e6b52fbb@mail.gmail.com> <4A5CCABE.7090309@wxs.nl> <97eab8e50907170211q691435eam8862f9cd20c677c0@mail.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: ger.gmane.org 1247822547 25425 80.91.229.12 (17 Jul 2009 09:22:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2009 09:22:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 17 11:22:20 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 1MRje0-0006zc-2J for gctc-ntg-context-518@m.gmane.org; Fri, 17 Jul 2009 11:22:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7E381FB8F; Fri, 17 Jul 2009 11:22:18 +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 21779-05; Fri, 17 Jul 2009 11:21:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62CD11FB39; Fri, 17 Jul 2009 11:21:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B01841FB39 for ; Fri, 17 Jul 2009 11:21:37 +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 21780-03-2 for ; Fri, 17 Jul 2009 11:21:30 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 1B1F21FADF for ; Fri, 17 Jul 2009 11:21:30 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n6H9LTmQ023764 for ; Fri, 17 Jul 2009 11:21:29 +0200 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 27529-1840426 for ; Fri, 17 Jul 2009 11:21:29 +0200 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) In-Reply-To: <97eab8e50907170211q691435eam8862f9cd20c677c0@mail.gmail.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=15; city=Almelo; latitude=52.3500; longitude=6.6667; http://maps.google.com/maps?q=52.3500,6.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 262215826 - e0a75791100b - 20090717 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:51842 Archived-At: Harrie Frericks wrote: > I've been looking into luatex and got it running now. However, i'm not sure > how to link a font that I want to use in my ConText documents to an actual > font file on my disk. For example, I have tried: > > \definebodyfont[12pt][rm][ > tf="c:\fonts\ITC Stone Serif\SR______.AFM" > ] 1. get rid of the funny names, so copy it to sr.afm (and also the pfb file) 2. put the files in your tex tree (texmf-fonts/fonts/afm/... and /type1/...) and run luatools --generate 3. then try: \definedfont[sr at 12pt] test and see if you get the font if that works, then take a look at the type-otf files to see how to define typescripts most of the font manuals can be skipped when using luatex/mkiv Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________