From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61940 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Info about creating modules for beginners. Date: Thu, 23 Sep 2010 23:46:30 +0200 Message-ID: <1A6561BD-43BA-4604-89AD-07274B562EC9@gmail.com> References: <4C9B81EB.7080404@gyza.cz> <4C9BB968.8020100@wxs.nl> <6FE1A002-DDBA-4AFB-9C2D-0C27A776A212@st.estfiles.de> <1F8CEAD2-29F9-45FC-845F-77550E1849CB@gmail.com> <78A01E48-A117-4758-A125-BB608B184B84@gmail.com> <83CE0043-074C-43E4-9132-D12491378A36@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285278429 11632 80.91.229.12 (23 Sep 2010 21:47:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 21:47:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 23:47:07 2010 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 1OytdB-0008Qj-Sl for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 23:47:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 248AECA7B2; Thu, 23 Sep 2010 23:47:05 +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 rFJR5jZZ-hBF; Thu, 23 Sep 2010 23:47:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B329CA7B4; Thu, 23 Sep 2010 23:47:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0ED7CCA7B4 for ; Thu, 23 Sep 2010 23:47:01 +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 bYQAKBQG0xze for ; Thu, 23 Sep 2010 23:46:58 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id B09B0CA7B2 for ; Thu, 23 Sep 2010 23:46:58 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NLkv8Q020961 for ; Thu, 23 Sep 2010 23:46:58 +0200 Original-Received: by fxm10 with SMTP id 10so2418024fxm.14 for ; Thu, 23 Sep 2010 14:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=gYjXzHfGTkHO5hsQP2seaaigx2KjHlSUqSVqpqGlJ8Q=; b=U1LxQxwyuLchTed9pkhZaNbKyrbtDcyJvufzWKxfv/8mEwTVLxMjzjKaMYEZfxxGok jxnruok6MnageiOfXoDhFLBD4CzztXY3+O3ajnOhn2IiyrtaM4o0C4Vf3C5v4W0lkusg lTie/3ateJffCc5d45m5eYCROk0xvT2TgooKo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=eNXEYBpqJ3Jg2sEqyezV83ydOdxemnr9teFqtqiRmAO8zVbFlcFGIDaBCkqjskC9ms UtfQHGnYwKq4Y32KTZeTz64Kjrc1KtxZl2W85aMEWq0k1oZZncD/0beWdGRWB2ftMQOM IK6aAVt2lSrR9n6Kt9gBSgFyEh02SrbNdX2Hs= Original-Received: by 10.223.112.206 with SMTP id x14mr2672991fap.89.1285278417428; Thu, 23 Sep 2010 14:46:57 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2932EA.dip.t-dialin.net [91.41.50.234]) by mx.google.com with ESMTPS id t6sm627477faa.3.2010.09.23.14.46.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Sep 2010 14:46:56 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 04DalKV1C - 073ae98788f7 - 20100923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:61940 Archived-At: Am 23.09.2010 um 23:42 schrieb Aditya Mahajan: > On Thu, 23 Sep 2010, Wolfgang Schuster wrote: > = >> = >> Am 23.09.2010 um 23:21 schrieb Aditya Mahajan: >> = >>> Basically, module search does not look in parent directories. >> = >> But you can use a construct like >> = >> \doifmodeelse{component} >> {\usemodule[module]} >> {\usemodule[../module]} > = > And if you are two directories deep for some components and one dir deep = for others. > = > \environment \component etc use a heirarchical search. I think that \usem= odule should also use that. And what=92s with pictures, \setupexternalfigure[directory=3D...] has the s= ame problem as \usemodule? Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________