From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77940 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Project & automatic lookup for included directories Date: Sun, 19 Aug 2012 18:54:49 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345395320 2781 80.91.229.3 (19 Aug 2012 16:55:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Aug 2012 16:55:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 19 18:55:20 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T38mT-0000V3-89 for gctc-ntg-context-518@m.gmane.org; Sun, 19 Aug 2012 18:55:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62B83101E8; Sun, 19 Aug 2012 18:55:15 +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 WJonRCzbVToX; Sun, 19 Aug 2012 18:55:14 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 27105101E0; Sun, 19 Aug 2012 18:55:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DCFD101E0 for ; Sun, 19 Aug 2012 18:55: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 ERatWdylIOLg for ; Sun, 19 Aug 2012 18:55:12 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 27ECB101DD for ; Sun, 19 Aug 2012 18:55:12 +0200 (CEST) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7JGtAiV029209 for ; Sun, 19 Aug 2012 18:55:11 +0200 Original-Received: by iahk25 with SMTP id k25so2464998iah.14 for ; Sun, 19 Aug 2012 09:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=yXDfPhrtSuIpx8+X7F+Boke4xX96Xo/ejS640yBiEls=; b=a8Ro95xaS40UnCDLy64JdbxsA6x2pAyqxEVBSQnGSFtZH7UR+ayeTQz3JHqdYkrmjQ pVxcbBo2sMXHaWOq6uIKDRd2/4BAoSEemPMe67sX13YwIRHXZXG91tXf6U1BpU+0oydF +B2ADZ8KAKDecRPEeUxYtBqvSP7g2/lD872vsUbe7mHYBg+VLgUa2oRVwqc24O7mXdlq dTgxJHeDrwYExRK2kjcD8zaC9qmElPlYJ3hiWmfRfbs05ECzSX2LeaG/vyaBWvUe7I4Y TIB3M2ECrAfutt3P/t3tBbPBXnxI4sOr0M/Ao9XVv6eSh5Cuo6N3Bs0ix1r3SPaAml51 vHkA== Original-Received: by 10.42.249.205 with SMTP id ml13mr9081370icb.49.1345395310106; Sun, 19 Aug 2012 09:55:10 -0700 (PDT) Original-Received: by 10.64.46.232 with HTTP; Sun, 19 Aug 2012 09:54:49 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; 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: 07HMETaat - b344494bff43 - 20120819 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77940 Archived-At: A little experimentation shows the lookup order is as follows, from highest to lowest priority: current directory, parent, grandparent, whatever is in \usepath. > What is the default lookup of \environment? I thought it were at least one > level up, but I'm not sure. current directory, parent directory, grandparent > Suppose having 3 files: > > _e-Geom.mkiv > ../_e-Geom.mkiv > ../../_e-Geom.mkiv > > Which of them will be used when I write '\environment _e-Geom.mkiv' and > > a) I specify explicitly \usepath[{../..}]? > b) I don't use '\usepath'? _e-Geom.mkiv will be used in both cases. Does anybody know if there is a way to specify a lookup path that has higher priority than the default lookups? I don't know one myself. Cheers, Sietse ___________________________________________________________________________________ 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 ___________________________________________________________________________________