From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26963 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: finding project files in parent dirs automatically Date: Sat, 08 Apr 2006 19:29:40 +0100 Message-ID: References: <4437EAC1.8000209@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144521000 28688 80.91.229.2 (8 Apr 2006 18:30:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2006 18:30:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 08 20:29:58 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FSIC2-0000ht-5h for gctc-ntg-context-518@m.gmane.org; Sat, 08 Apr 2006 20:29:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D195E1279E; Sat, 8 Apr 2006 20:29:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01903-01-3; Sat, 8 Apr 2006 20:29:47 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2141E12796; Sat, 8 Apr 2006 20:29:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F1FFF12796 for ; Sat, 8 Apr 2006 20:29:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01903-01-2 for ; Sat, 8 Apr 2006 20:29:41 +0200 (CEST) Original-Received: from mraos.ra.phy.cam.ac.uk (mraos.ra.phy.cam.ac.uk [131.111.48.8]) by ronja.ntg.nl (Postfix) with SMTP id D837D1278F for ; Sat, 8 Apr 2006 20:29:41 +0200 (CEST) Original-Received: from skye.ra.phy.cam.ac.uk ([131.111.48.158] ident=mail) by mraos.ra.phy.cam.ac.uk with esmtp (Exim 4.43) id 1FSIBo-0003ki-Gk; Sat, 08 Apr 2006 19:29:40 +0100 Original-Received: from sanjoy by skye.ra.phy.cam.ac.uk with local (Exim 3.36 #1) id 1FSIBo-0004cG-00; Sat, 08 Apr 2006 19:29:40 +0100 Original-To: mailing list for ConTeXt users In-Reply-To: Your message of "Sat, 08 Apr 2006 18:54:25 +0200." <4437EAC1.8000209@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26963 Archived-At: From: Taco Hoekwater > > Is there a hardcoded limit on how far up context searches? > > Like you just discovered, it searches three levels (current, parent, > grandparent). The max level is defined in this macro: > > \def\maxreadlevel{3} > > You can simply redefine the macro if needed (you have to do that in > cont-sys, otherwise you have a bootstrapping problem). > > The file reading macros are in supp-fil.tex, if interested. Tested and works great, thanks. I had looked around for such an object but didn't find it. Can the default be 4? (If it doesn't break other assumptions.) -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.