From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67313 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: How to add a local texmf tree to context minimals? Date: Thu, 24 Mar 2011 07:57:36 +0100 Message-ID: References: <1s2qv8tfhhlww$.dlg@nililand.de> <5F71712A-3995-48EB-9A51-429A6F89EC5F@uva.nl> <183uslxd2rg42$.dlg@nililand.de> 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 1300949889 8412 80.91.229.12 (24 Mar 2011 06:58:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Mar 2011 06:58:09 +0000 (UTC) To: news3@nililand.de, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 24 07:58:04 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 1Q2eUe-0004Ck-HN for gctc-ntg-context-518@m.gmane.org; Thu, 24 Mar 2011 07:58:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF556CAB43; Thu, 24 Mar 2011 07:57:49 +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 q+WKVH3S9gjl; Thu, 24 Mar 2011 07:57:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0E1CCAB35; Thu, 24 Mar 2011 07:57:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 884E9CAB29 for ; Thu, 24 Mar 2011 07:57:35 +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 pDCHNRaRGRM3 for ; Thu, 24 Mar 2011 07:57:24 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 72F94CAB35 for ; Thu, 24 Mar 2011 07:57:24 +0100 (CET) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2O6vag5027125 for ; Thu, 24 Mar 2011 07:57:37 +0100 Original-Received: by qyk30 with SMTP id 30so8747712qyk.14 for ; Wed, 23 Mar 2011 23:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=SJpIPoeVClaBTk3tazUD1IKV5kOIYVecwr8ng6au+nw=; b=e9FKAKXpPwAZYPO/awgxFe5m1Lfosb7nhdHliFLNsTm8vS+A+8dRA0qiRMZ8rRM68Y pBdGSPLB+QcOEASaadVbjj+naa4MR5KrKPUVXI4trnv0nkLjqKqQPwkiAACdgrQasIth CvNOYZOe/z5687v9tIUMy5WrvUBJV7tqk4nfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=evKd0wssZXIcc1XIQTeE9YnAPS7jWRQT7zb5CDiYXnMOkzd1XccUSx5GEUFK0z4dEL x8P/sMfaLtR2UvWDPHTjFI7UNa6tnP2oQBtW2uNuVjZlEA/XlDNgq/CLuU4d7/K9/EAB h+RlmmBOWf08cA7pr9gCINpmAd0x8o+1XO6RY= Original-Received: by 10.224.140.68 with SMTP id h4mr6933115qau.54.1300949856297; Wed, 23 Mar 2011 23:57:36 -0700 (PDT) Original-Received: by 10.229.89.69 with HTTP; Wed, 23 Mar 2011 23:57:36 -0700 (PDT) In-Reply-To: <183uslxd2rg42$.dlg@nililand.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07EmSVBCA - 1021f819b29c - 20110324 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:67313 Archived-At: On Wed, Mar 23, 2011 at 20:08, Ulrike Fischer wrote: > > 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. For MKIV you can put texmfcnf.lua anywhere and then set the TEXMFCNF environmental variable (I think, I'm not sure, I would have to try again), but the better way is to make it work automatically in the same way as for MKII, let's say by putting a modified version of texmfcnf.lua two folders up. 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 ___________________________________________________________________________________