From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61935 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:30:02 +0200 Message-ID: <8F2347FB-8CE7-446E-B304-3D7F2FE11106@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> <78A01E48-A117-4758-A125-BB608B184B84@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 1285277424 7465 80.91.229.12 (23 Sep 2010 21:30:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 21:30:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 23:30:23 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 1OytN0-0001Fr-Ui for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 23:30:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60B1CCA7BA; Thu, 23 Sep 2010 23:30:22 +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 wTe5RsobTlcP; Thu, 23 Sep 2010 23:30:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D469CA7B1; Thu, 23 Sep 2010 23:30:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA625CA7B1 for ; Thu, 23 Sep 2010 23:30:16 +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 saGA0RT8OO-o for ; Thu, 23 Sep 2010 23:30:05 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 523E3CA67C for ; Thu, 23 Sep 2010 23:30:05 +0200 (CEST) Original-Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.31.32]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8NLU4FB012682 for ; Thu, 23 Sep 2010 23:30:04 +0200 Original-Received: from [89.247.68.94] (helo=[192.168.1.4]) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1OytMi-0002PN-3Y for ntg-context@ntg.nl; Thu, 23 Sep 2010 23:30:04 +0200 In-Reply-To: <78A01E48-A117-4758-A125-BB608B184B84@gmail.com> 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.32; 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: 0xDalu4Wr - 3018554f64c0 - 20100923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:61935 Archived-At: Am 23.09.2010 um 23:15 schrieb Wolfgang Schuster: > = > Am 23.09.2010 um 23:08 schrieb Steffen Wolfrum: > = >>>> btw: modules are used to be stored eg. in ~/context/tex/texmf-local/te= x/context/third/ folder. >>>> = >>>> is is also possible to keep/find them not in texfm tree but in a proje= cts 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 th= e file's name between two runs. >> = >> The module is never found. >> = >> What is missing? > = > Can you give more information or a example, you don=92t mention which fil= e you process and what=92s loaded in them. It's like this (mapping context's recommended project structure): project-dir/ p-module.tex env-file.tex project-file.tex product-file.tex subdir/ component-file1.tex component-file2.tex The project-file file says \environment Style_Test \usemodule[p][module] Now I run from the subdir eg. component-file1.tex: the environment was loaded the module was not. Steffen ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________