From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71435 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: usepath? Date: Thu, 29 Sep 2011 16:54:34 +0000 Message-ID: <3EA6DE4D-E678-4F1E-A530-14E29BB3C6C8@uva.nl> References: <45FC32A9-A3A0-495C-BBFF-F2BD418FFC59@uva.nl> <19109B6C-2C7E-4E95-9AF0-811A590E061E@googlemail.com> 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 1317315297 7216 80.91.229.12 (29 Sep 2011 16:54:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Sep 2011 16:54:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 29 18:54:52 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 1R9Jsq-0003IG-Cg for gctc-ntg-context-518@m.gmane.org; Thu, 29 Sep 2011 18:54:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7CE2DCAFE4; Thu, 29 Sep 2011 18:54:51 +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 qwKGxNc9NLWj; Thu, 29 Sep 2011 18:54:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CBF42CAFE1; Thu, 29 Sep 2011 18:54:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CA32CAFE1 for ; Thu, 29 Sep 2011 18:54:47 +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 W12dBiZBnE-r for ; Thu, 29 Sep 2011 18:54:36 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 93C9CCAFB5 for ; Thu, 29 Sep 2011 18:54:36 +0200 (CEST) Original-Received: from jansen.uva.nl (jansen.uva.nl [146.50.108.229]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8TGsa7J011616 for ; Thu, 29 Sep 2011 18:54:36 +0200 Original-Received: from bijvoet.uva.nl (146.50.108.241) by jansen.uva.nl (146.50.108.229) with Microsoft SMTP Server (TLS) id 14.1.289.1; Thu, 29 Sep 2011 18:54:35 +0200 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by bijvoet.uva.nl ([2002:9232:666f::9232:666f]) with mapi id 14.01.0289.001; Thu, 29 Sep 2011 18:54:35 +0200 Thread-Topic: [NTG-context] usepath? Thread-Index: AQHMfrr9vhm+9UmC5EGPuNZToDr5sZVkWIeAgAAZaoA= In-Reply-To: <19109B6C-2C7E-4E95-9AF0-811A590E061E@googlemail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <5D0045D30A8E834B8FCD01B591475A5B@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.229; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFCESALv - d5fc6a657fdf - 20110929 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:71435 Archived-At: This didn't work for me. I guess it has to do with some misunderstanding about the directory from where projects start reckoning. The directory structure is: directory-project directory-project/product (context runs from here) directory-project/product/component-a-subfiles directory-project/product/component-b-subfiles Code in directory-project/product/component-a-subfile does \input but cannot find files in directories below or in directories alongside. My question is "from what directory starts the search tree? Hans van der Meer On 29 sep. 2011, at 17:23, Wolfgang Schuster wrote: > > Am 29.09.2011 um 17:18 schrieb Meer, H. van der: > >> What are \usepath and \usesubpath supposed to do? I looked into the mkiv-code but could not find an explanation. >> I have a problem finding files from within a project-product-component structure and I hoped to solve through these macros. Sofar without success. >> In the wiki there is an item on project structure containing a \usepath but that didn't help me out. > > You can specify with them subdirectories where context looks when you include a component file, e.g. instead of > > \startproduct product > > \component subdirectory/component-1 > \component subdirectory/component-2 > > \stopproduct > > you can write > > \startproduct product > > \usepath[subdirectory] > > \component component-1 > \component component-2 > > \stopproduct > > Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________