From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85111 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: installing a true-type font: can't find ttf2afm Date: Tue, 05 Nov 2013 13:25:56 -0500 Message-ID: <52793834.30402@sil.org> References: <5277FBB4.4080107@sil.org> <527815CB.2040808@sil.org> <52791805.2060009@sil.org> 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 1383675970 25995 80.91.229.3 (5 Nov 2013 18:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 18:26:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 05 19:26:13 2013 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 1VdlKK-0002AN-0F for gctc-ntg-context-518@m.gmane.org; Tue, 05 Nov 2013 19:26:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A3DB1022D; Tue, 5 Nov 2013 19:26: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 aBFreRZx1kAF; Tue, 5 Nov 2013 19:26:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B5404101F1; Tue, 5 Nov 2013 19:26:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 15D2E101F1 for ; Tue, 5 Nov 2013 19:26:03 +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 NAhAJ6MBnX3L for ; Tue, 5 Nov 2013 19:26:01 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 50E63101EF for ; Tue, 5 Nov 2013 19:26:00 +0100 (CET) Original-Received: from mail-qa0-f44.google.com (mail-qa0-f44.google.com [209.85.216.44]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rA5IPwPP015495 for ; Tue, 5 Nov 2013 19:25:59 +0100 Original-Received: by mail-qa0-f44.google.com with SMTP id f11so1278113qae.17 for ; Tue, 05 Nov 2013 10:25:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fePhgk/eGTvfTa9vAbyRYDhR18lHaM/AY1/88qp6maI=; b=Hw/snaZu2xCfAzJOvUmt7vLelB+6bXIDldcEGoOv8FpUbkYQVfMpuy29mu7b4TptvS Go12E/BxtgdEbw/unABboh/gXOOammWxL0QI5MuGnVwaeJS7F4w7/0srZAlnNKf4ev8v sJu7wXb8GZRnBgkXgl53+g190HaZH0gic1TKLacYFAUDusCvFmAolG0yIsLReulBkz7L 0ji2F+U27zbvv8Ksm4JZ4u13LrPKpX3PAhk6E2j4ebxTrMAWrRec9NCHVk5QlpNpguvH 0OOTcVWq/FmyinnXUZHZ47BKBYAgAsHnQwrVOvD0uAym3cGZbCQ8yg3spwFOllRYwpIa uMmQ== X-Gm-Message-State: ALoCoQlha7QzEZfrzHUZ9RGYAXzlJDSaQDNKQA6lvLzL8VhkSAJZ2uvPndqUMeiR0eqRSkqkKV6+ X-Received: by 10.224.29.67 with SMTP id p3mr13956064qac.30.1383675957543; Tue, 05 Nov 2013 10:25:57 -0800 (PST) Original-Received: from [172.22.10.212] ([162.40.29.3]) by mx.google.com with ESMTPSA id 4sm69786567qak.11.2013.11.05.10.25.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 10:25:57 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.44; 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: 0NKJSpWys - ed483116cdfe - 20131105 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:85111 Archived-At: On 11/5/2013 12:05 PM, Mojca Miklavec wrote: > On Tue, Nov 5, 2013 at 5:08 PM, Lars Huttar wrote: >> On 11/4/2013 5:32 PM, Wolfgang Schuster wrote: >>> >>> Make your choice: >>> >>> \definefontfamily [gentium-basic] [serif] [Gentium Basic] >>> \definefontfamily [gentium-book] [serif] [Gentium Book Basic] >>> \definefontfamily [gentium-plus] [serif] [Gentium Plus] >>> >>> \starttext >>> >>> {\switchtobodyfont[gentium-basic]Upright \it Italic \bf Bold \bi BoldItalic} >>> >>> {\switchtobodyfont[gentium-book]Upright \it Italic \bf Bold \bi BoldItalic} >>> >>> {\switchtobodyfont[gentium-plus]Upright \it Italic \bf Bold \bi BoldItalic} >>> >>> \stoptext >> Thanks for the suggestion. >> I don't know if I'm doing something wrong, but when I try to compile the >> above with mkiv, I get "Undefined control sequence" on line 1: >> >> l.1 \definefontfamily > As I told you: "there were recent changes/improvements in that". > > http://www.ntg.nl/pipermail/ntg-context/2013/075428.html > > You would need the ConTeXt distribution for that, TeX Live 2013 is too > old. (You can probably still load the simplefonts module explicitly or > write the typescripts yourself - again different syntax.) > > Mojca > Thanks again for your responses. I did try loading the simplefonts module explicitly, but definefontfamily is still undefined. I'm working on a large, production project, and the deadline is too close to risk using unstable releases. Is there a context release since Wolfgang's new version of simplefonts, that has been declared stable? Given that his new version came out less than a month ago, it seems unlikely. Maybe I can get TTFs working using mtxrun, as Hans suggested. It seems to be working on Windows; I need to try the same on Linux with our custom font. Lars ___________________________________________________________________________________ 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 ___________________________________________________________________________________