From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61855 Path: news.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Re: Fonts Date: Wed, 22 Sep 2010 09:25:26 -0400 Organization: Wexford Press Message-ID: <201009220925.26964.john@wexfordpress.com> References: <87eid2koh4.fsf@linux-lqcw.site> <201009211817.41953.john@wexfordpress.com> <20100921223748.GA25627@khaled-laptop> 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 1285161918 28380 80.91.229.12 (22 Sep 2010 13:25:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Sep 2010 13:25:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 22 15:25:15 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 1OyPJv-0000sW-Qz for gctc-ntg-context-518@m.gmane.org; Wed, 22 Sep 2010 15:25:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98512CA781; Wed, 22 Sep 2010 15:25:11 +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 7zTV+hpQZFtt; Wed, 22 Sep 2010 15:25:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAF87CA762; Wed, 22 Sep 2010 15:25:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 059B6CA762 for ; Wed, 22 Sep 2010 15:25:07 +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 XB-667ODYSgA for ; Wed, 22 Sep 2010 15:25:04 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 1221BCA75F for ; Wed, 22 Sep 2010 15:25:04 +0200 (CEST) Original-Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8MDP1is019199 for ; Wed, 22 Sep 2010 15:25:02 +0200 Original-Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta12.westchester.pa.mail.comcast.net with comcast id 9mQy1f0020EZKEL5CpR1qq; Wed, 22 Sep 2010 13:25:01 +0000 Original-Received: from sda4.localnet ([68.50.233.152]) by omta01.westchester.pa.mail.comcast.net with comcast id 9pR01f00N3HwwZ83MpR1aB; Wed, 22 Sep 2010 13:25:01 +0000 User-Agent: KMail/1.11.4 (Linux/2.6.29.6-smp; KDE/4.2.4; i686; ; ) In-Reply-To: <20100921223748.GA25627@khaled-laptop> Content-Disposition: inline X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=76.96.59.227; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dD9Np1RI - 2ffea62828d5 - 20100922 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:61855 Archived-At: On Tuesday 21 September 2010 18:37:48 Khaled Hosny wrote: > 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 Now that works! I'll try it on my XP partition also to see how well I fare. And I need to fiddle with some non-Gyre fonts as well. You mentioned building a database, and yes that took some time. Is there a way to have it scan fonts in /usr/share/fonts as well? -- John Culleton Wexford Press "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.booklocker.com/books/4055.html ___________________________________________________________________________________ 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 ___________________________________________________________________________________