From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59256 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: OSFONTDIR Date: Thu, 3 Jun 2010 16:50:59 +0200 Message-ID: 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 1275576680 20372 80.91.229.12 (3 Jun 2010 14:51:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2010 14:51:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 03 16:51:19 2010 connect(): No such file or directory 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 1OKBlO-00077P-4y for gctc-ntg-context-518@m.gmane.org; Thu, 03 Jun 2010 16:51:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA0D2C9BB2; Thu, 3 Jun 2010 16:51:17 +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 jUOAXUx6UVxF; Thu, 3 Jun 2010 16:51:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 571A2C9BC2; Thu, 3 Jun 2010 16:51:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70CFCC9BC2 for ; Thu, 3 Jun 2010 16:51:13 +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 bYXnnoIIFDki for ; Thu, 3 Jun 2010 16:51:11 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by balder.ntg.nl (Postfix) with ESMTP id 672C5C9BB2 for ; Thu, 3 Jun 2010 16:51:11 +0200 (CEST) Original-Received: by wyb39 with SMTP id 39so128357wyb.14 for ; Thu, 03 Jun 2010 07:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=U178CCcKlGPgTwj7Ln/XgPakYw7pQ9HdtawoVcYeLDs=; b=M3PGOlZEVp6OQaMOB+JFQFsq1rGyHyarreMX2x8MsGMqSYQS7bQSAz6i4SDVZHnKby EprInrfbqoIsGl8Sfwkudd+B/j2P8UAkN6d8HM9uTn1/gzx/XTAvlw5SYIcRxAzjFQaY T1GTQDvpOugZfesnkX4gaLCEx7QdSYgz8K11M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EjQ9MRJIbhcfXe8aDJPj69PzaTzYbYUp/hyIuJwaxp3rLLgiqnKmkz9uPHLH7lZ6UO H4UDAGvQYw+paWkrcRj+7ixOH1Xdhpfx7kPL7/Usm2wMwwfAj37Nhclk4bCR3ifDoEGl kRt5yL9F8Emb8LTTnDOHjeloIqlXz8lcPsp6k= Original-Received: by 10.227.128.199 with SMTP id l7mr9261098wbs.210.1275576659398; Thu, 03 Jun 2010 07:50:59 -0700 (PDT) Original-Received: by 10.216.157.19 with HTTP; Thu, 3 Jun 2010 07:50:59 -0700 (PDT) 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:59256 Archived-At: Dear Hans, Some time ago the following code was working. On Mac it seems to have no influence now (OSFONTDIR doesn't get "fixed"), but if I set it in environment to the same string, it works. local function check_configuration() -- not yet ok, no time for debugging now if os.env["OSFONTDIR"] then -- ok elseif os.type == "windows" then os.setenv("OSFONTDIR","c:/windows/fonts//") elseif os.type == "macosx" then os.setenv("OSFONTDIR","$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//") end end Can it be that setenv doesn't really set anything (it just sets it locally to some variable) and then resolvers only look for proper environmental or texmf.cnf variables? I have an impression that that function has been removed from LuaTeX a while ago, but I may be wrong. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________