From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67318 Path: news.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.comp.tex.context Subject: Re: How to add a local texmf tree to context minimals? Date: Thu, 24 Mar 2011 10:39:15 +0100 Message-ID: <1nweyp5kocahw.dlg@nililand.de> References: <1s2qv8tfhhlww$.dlg@nililand.de> <5F71712A-3995-48EB-9A51-429A6F89EC5F@uva.nl> <183uslxd2rg42$.dlg@nililand.de> Reply-To: news3@nililand.de, 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 1300959602 26256 80.91.229.12 (24 Mar 2011 09:40:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2011 09:40:02 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 24 10:39:58 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 1Q2h1K-0003F6-70 for gctc-ntg-context-518@m.gmane.org; Thu, 24 Mar 2011 10:39:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D79E8CAB43; Thu, 24 Mar 2011 10:39:43 +0100 (CET) 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 HHjuPT4npfPa; Thu, 24 Mar 2011 10:39:41 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85B42CAB2F; Thu, 24 Mar 2011 10:39:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6B0ECCAB2F for ; Thu, 24 Mar 2011 10:39:39 +0100 (CET) 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 Zv7rYZrRDxuZ for ; Thu, 24 Mar 2011 10:39:26 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 18551CAAFF for ; Thu, 24 Mar 2011 10:39:26 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2O9dcKH011854 for ; Thu, 24 Mar 2011 10:39:39 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q2h10-00036z-9F for ntg-context@ntg.nl; Thu, 24 Mar 2011 10:39:38 +0100 Original-Received: from p5dd1d430.dip.t-dialin.net ([93.209.212.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2011 10:39:38 +0100 Original-Received: from news3 by p5dd1d430.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Mar 2011 10:39:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dd1d430.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de 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: 0bEmVDCRy - ce2dc21cdc9a - 20110324 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:67318 Archived-At: Am Thu, 24 Mar 2011 07:57:36 +0100 schrieb Mojca Miklavec: >> At second I want actually to add more than one tree ;-) >> My main problem is that there quite a lot of configuration files >> which look like good candidates (I found texmf.cnf, texmfcnf.lua, >> context.cnt, contextcnf.lua.) and that I don't know where to put a >> local version which will not be changed by updates. > > texmf.cnf is for MKII and texmfcnf.lua is for MKIV. The files > context.cnf and contextcnf.lua are not used. They are usually just the > source for texmf.cnf and texmfcnf.lua, but they are not taken > automatically. > > One way is to set environmental variables, but probably a better way > is to create a copy of texmf.cnf & texmfcnf.lua in texmf-local/web2c/ > and change the TEXMF variable there. No, wait. texmf-local is not > known until texmf.cnf is actually read in (chicked-and-egg problem). > Can you please try to put texmf.cnf in top level (next to setuptex) > and see if mkii/kpathsea works that way (finds proper trees)? There is > a hardcoded algorithm with a list of paths that are checked for > texmf.cnf file, but I'm not sure what the sequence of those paths is. It seems to work if I move texmfcnf.lua to texmf-local (even unchanged it had an immediate effect: nothing worked anymore, until I run a "mtxrun --generate" ;-).) Now I have to find out, where to store the files so that both context and latex can use them. -- Ulrike Fischer ___________________________________________________________________________________ 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 ___________________________________________________________________________________