From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61010 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: xits font in ~/.fonts Date: Tue, 17 Aug 2010 19:51:23 -0400 (EDT) Message-ID: References: <20100817130018.GA19503@khaled-laptop> <4C6A89C7.9090508@wxs.nl> <20100817145331.GE20956@khaled-laptop> <4C6AAA1B.80808@wxs.nl> 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: dough.gmane.org 1282088850 17999 80.91.229.12 (17 Aug 2010 23:47:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 17 Aug 2010 23:47:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 18 01:47:29 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 1OlVsO-0005PD-Ul for gctc-ntg-context-518@m.gmane.org; Wed, 18 Aug 2010 01:47:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A39ADCA56D; Wed, 18 Aug 2010 01:47:27 +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 YHJHDslGXU2W; Wed, 18 Aug 2010 01:47:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97190CA564; Wed, 18 Aug 2010 01:47:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9BB10CA564 for ; Wed, 18 Aug 2010 01:47:21 +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 AxDKxwoyoKCG for ; Wed, 18 Aug 2010 01:47:09 +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 A871FCA563 for ; Wed, 18 Aug 2010 01:47:09 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7HNl7rL029901 for ; Wed, 18 Aug 2010 01:47:09 +0200 Original-Received: FROM [10.255.254.224] (Unknown [207.61.176.205]) By hackers.mr.itd.umich.edu ID 4C6B1F74.16E76.6673 ; Authuser adityam; 17 Aug 2010 19:47:00 EDT In-Reply-To: <4C6AAA1B.80808@wxs.nl> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rCTzL86P - 9c44a07ac7b5 - 20100818 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:61010 Archived-At: On Tue, 17 Aug 2010, Hans Hagen wrote: > \starttext > > \definedfont[file:STIXGeneral at 100pt] test > > \stoptext > > (I don't have stix fonts so testing with xtis) \starttext \definedfont[file:xits-regular.otf at 100pt] test \stoptext gives define fonts > forced type otf of xits-regular not found define fonts > font with name xits-regular is not found define fonts > unknown font xits-regular, loading aborted define fonts > unable to define xits-regular.otf as \**thedefinedfont** (which is consistent with the previous error message). The error message says "font with ***name*** xits-regular is not found". Not sure if name means font name or file name. As Khalid said, \starttext \definedfont[name:XITS at 100pt] test \stoptext works as expected. mtxrun --script font --list can find xits-regular but luatools --locate cannot. I don't think that should matter. Some diagnostic information: * The result of $mtxrun --script font --list --all | grep xits-regular xits xits /home/adityam/.fonts/xits-math/xits-regular.otf (No fontname, instead the font location is given). * The result of $mtxrun --script font --list --file --pattern=xits-regular.otf xits normal normal normal normal xits /home/adityam/.fonts/xits-math/xits-regular.otf conflict: regular (What does the conflict: regular flag mean) * Custom setuptex file TEXMFOS=/opt/context-minimals/texmf-linux export TEXMFOS TEXMFCACHE=$HOME/texmf-cache export TEXMFCACHE unset TEXINPUTS MPINPUTS MFINPUTS PATH=$TEXMFOS/bin:$PATH export PATH OSFONTDIR="$HOME/.fonts;/usr/share/fonts;" export OSFONTDIR (No other customizations of the environments). I have no idea what is going on here. Can it be a linux vs windows things? Can someone else on linux (with xits fonts in OSFFONTDIR) test the above examples? Hans, is there some tracing that I can enable to see how the fonts are being searched? Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________