From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61934 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: Info about creating modules for beginners. Date: Thu, 23 Sep 2010 23:21:52 +0200 Message-ID: <519687E3-7AAE-4A74-9584-85352114139D@st.estfiles.de> References: <4C9B81EB.7080404@gyza.cz> <4C9BB968.8020100@wxs.nl> <6FE1A002-DDBA-4AFB-9C2D-0C27A776A212@st.estfiles.de> <1F8CEAD2-29F9-45FC-845F-77550E1849CB@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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285276925 5000 80.91.229.12 (23 Sep 2010 21:22:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 21:22:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 23:22:04 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 1OytEw-0005Aj-DK for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 23:22:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7CACCA7B2; Thu, 23 Sep 2010 23:22: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 6JLK8g59z-kR; Thu, 23 Sep 2010 23:21:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08C30CA7B6; Thu, 23 Sep 2010 23:21:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CFF1CA7B2 for ; Thu, 23 Sep 2010 23:21:57 +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 dL2E67DLOJPH for ; Thu, 23 Sep 2010 23:21:54 +0200 (CEST) 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 6E4B8CA7B6 for ; Thu, 23 Sep 2010 23:21:54 +0200 (CEST) Original-Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.35]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NLLr7M017357 for ; Thu, 23 Sep 2010 23:21:53 +0200 Original-Received: from [89.247.68.94] (helo=[192.168.1.4]) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1OytEn-0004HO-0S for ntg-context@ntg.nl; Thu, 23 Sep 2010 23:21:53 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.31.35; country=DE; region=02; city=Ismaning; latitude=48.2333; longitude=11.6333; http://maps.google.com/maps?q=48.2333,11.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DallRkb - ef9c97c466c4 - 20100923 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:61934 Archived-At: Am 23.09.2010 um 23:17 schrieb Aditya Mahajan: > On Thu, 23 Sep 2010, Steffen Wolfrum wrote: > >> >> Am 23.09.2010 um 22:47 schrieb Wolfgang Schuster: >> >>> >>> Am 23.09.2010 um 22:42 schrieb Steffen Wolfrum: >>> >>>> btw: modules are used to be stored eg. in ~/context/tex/texmf-local/tex/context/third/ folder. >>>> >>>> is is also possible to keep/find them not in texfm tree but in a projects folder? >>>> or do I have to use for this purpose environment files? >>> >>> You can put modules in your project folder and these are always loaded before the files in the tex tree. >> >> >> Sounds good, but ... >> >> For example I have in a project's folder a project_test file with these line: >> >> \environment Style_Test >> \usemodule[p-my-test] >> >> Both files (Style_Test.tex and p-my-test.tex are stored next to project_test.tex in the project's folder). >> The environment file is found without problems ... even when I change the file's name between two runs. >> >> The module is never found. >> >> What is missing? > > Module lookups do not search in the parent or grand parent directories. I rather suspected that. Steffen ___________________________________________________________________________________ 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 ___________________________________________________________________________________