From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61810 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Fonts Date: Wed, 22 Sep 2010 01:37:48 +0300 Message-ID: <20100921223748.GA25627@khaled-laptop> References: <87eid2koh4.fsf@linux-lqcw.site> <201009211727.22500.john@wexfordpress.com> <201009211817.41953.john@wexfordpress.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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285108714 31034 80.91.229.12 (21 Sep 2010 22:38:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 22:38:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 22 00:38:33 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 1OyBTn-0002Xe-VD for gctc-ntg-context-518@m.gmane.org; Wed, 22 Sep 2010 00:38:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90E38CA724; Wed, 22 Sep 2010 00:38:26 +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 o-kJNcscL5bK; Wed, 22 Sep 2010 00:38:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A28F9CA71C; Wed, 22 Sep 2010 00:38:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56CD1CA71C for ; Wed, 22 Sep 2010 00:38:22 +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 imxBgXWGJGna for ; Wed, 22 Sep 2010 00:38:08 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id BD197CA6E8 for ; Wed, 22 Sep 2010 00:38:08 +0200 (CEST) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8LMc8eh017772 for ; Wed, 22 Sep 2010 00:38:08 +0200 Original-Received: by wwi17 with SMTP id 17so380193wwi.2 for ; Tue, 21 Sep 2010 15:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=nzDnxaMRdkB4Ope7Oz0upSF4oqxPs6z2eWaENGR5ERk=; b=pZ3QUUPFET1yVr4+WXMrLgOUBKmfk5PNytLuP9YtGUY5dVvkTvZd15G7hhg+9ZVJml mcWfroLATrClgfKYuOpmxh0Zgxx48TgReb2K/iDLeycY+LE45uzQOFvqx6ufxgULCHf7 7VBW/VGGBp93L8g8uNqdet3hkPpD48usznFnk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=BgMAfQKrRn5dBqgxVziU5bbgJPa0Wu/IP8wEJcxaBN5qMipE7O8mFWGFuPEHoGY2K0 hViKfZSUGtYMUBhuWjbvsfAsV9mqT5MvMk71zx/cEM73iQKwkFdqISap4pVNl8nWjCpV J669JZWx5TFaIZBBBpWzIQBRKpH+xanSokPeM= Original-Received: by 10.216.161.17 with SMTP id v17mr6274072wek.1.1285108687963; Tue, 21 Sep 2010 15:38:07 -0700 (PDT) Original-Received: from localhost ([41.238.232.140]) by mx.google.com with ESMTPS id o84sm6394879wej.37.2010.09.21.15.38.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Sep 2010 15:38:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: <201009211817.41953.john@wexfordpress.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.41; 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: 0rD9yC8jl - 40acdd2c428a - 20100922 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:61810 Archived-At: On Tue, Sep 21, 2010 at 06:17:41PM -0400, John Culleton wrote: > Well I have been typesetting books in plain tex and pdftex for a > decade or more. Supposedly luatex is a superset of pdftex that makes > finding fonts easier and eliminates the generation of tmf files. But I > seem to be sinking into a deeper swamp. If you all what you want is plain TeX, then why you are looking for ConTeXt solutions, I mean you don't need ConTeXt nor ConTeXt file locating system (which does not use kpathsea) to use plain format. The issue you have is because your ConTeXt MkIV is not properly setup yet (true for fresh TeXLive 2010 installs). You need to run `luatools -generate` to generate the file database (used to locating files, similar to running texhash and likes, but TeXLive scripts does not run it by default). Then you need to set your system font paths, by setting OSFONTDIR, and ConTeXt will then be able find system fonts. However, you don't need any of then to use system fonts with plain, there are already packages for this (based on dome of ConTeXt code, but adapted to be self contained and ConTeXt independent). A small test file would be: \input luaotfload.sty % works for plain despite the .sty \font\pagella={name:TeX Gyre Pagella:script=latn;+onum} at 10pt \font\termes={file:texgyretermes-regular.otf:script=latn} at 10pt \pagella some text 12345\par \termes other text \bye This should work out of box on texlive (at first run it will take some time building font database). If it does not work, it is a bug. For LaTeX, just check fontspec documentation, and there is a lualatex-dev list on CTAN, and luatex list for general, non-ConTeXt questions. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 ___________________________________________________________________________________