From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67732 Path: news.gmane.org!not-for-mail From: Marco Newsgroups: gmane.comp.tex.context Subject: Re: luatex-cache setup Date: Tue, 12 Apr 2011 18:46:05 +0200 Message-ID: <20110412184605.3e0cacc9@glyph> References: <20110412172917.62866dbf@glyph> 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 1302626791 2677 80.91.229.12 (12 Apr 2011 16:46:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2011 16:46:31 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 12 18:46:27 2011 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 1Q9gjS-0008U9-W3 for gctc-ntg-context-518@m.gmane.org; Tue, 12 Apr 2011 18:46:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4127CCABA8; Tue, 12 Apr 2011 18:46: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 ca08EFSIqxi4; Tue, 12 Apr 2011 18:46:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AC5ABCABA2; Tue, 12 Apr 2011 18:46:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 071B7CABA2 for ; Tue, 12 Apr 2011 18:46: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 OXVJq84TZ2qZ for ; Tue, 12 Apr 2011 18:46:20 +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 24AC4CAB70 for ; Tue, 12 Apr 2011 18:46:20 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3CGkJHm010541 for ; Tue, 12 Apr 2011 18:46:19 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q9gjJ-0008My-Vh for ntg-context@ntg.nl; Tue, 12 Apr 2011 18:46:17 +0200 Original-Received: from 83.68.239.197 ([83.68.239.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2011 18:46:17 +0200 Original-Received: from netuse by 83.68.239.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2011 18:46:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.68.239.197 X-Newsreader: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dEuEKj4A - f0c829e0e7da - 20110412 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:67732 Archived-At: On 2011-04-12 Ernesto Posse wrote: > I'm confused. my /etc/texmf.cnf file contains: > > TEXMFCACHE = /var/tex/cache > > and this directory exists but it is empty. Why is this being ignored? What are the permissions of this directory? > If I don't have a user-specific environment variable with that name, > shouldn't the one from texmf.cnf be used? In the minimals distribution this is the case, I think the same goes for texlive. > > Furthermore, when I run > > kpsewhich -var-value TEXMFCACHE > > it shows that directory, MkIV doesn't use kpsewhich, but this shows that the value from your texmf.cnf is read. > but when I run texconfig, I don't know what texconfig is for. > TEXMFCACHE does not > appear under kpathsea variables. What is the problem? I don't use texlive, I can only speak for the minimals distribution. But you can try the following (as a normal user): 1) Create a cache directory somewhere 2) set TEXMFCACHE to this directory and export it 3) Run mtxrun --generate 4) Run context --make 5) Run context on a simple hello world file The generated formats should be placed in the new cache directory. > PS: I'm running context 2009.11.26-2, luatex 0.60.1-1build2, > texlive-luatex 2009-10 on ubuntu 10.10. If you have troubles or want a more up-to-date system you should consider installing the minimals. Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________