From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61936 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Re: Info about creating modules for beginners. Date: Thu, 23 Sep 2010 23:36:21 +0200 Message-ID: <4C9BC855.2000509@gyza.cz> 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> <8F2347FB-8CE7-446E-B304-3D7F2FE11106@st.estfiles.de> Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285277796 9054 80.91.229.12 (23 Sep 2010 21:36:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 21:36:36 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 23 23:36:34 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 1OytSy-0004Fq-So for gctc-ntg-context-518@m.gmane.org; Thu, 23 Sep 2010 23:36:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D341CA58F; Thu, 23 Sep 2010 23:36:31 +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 HlO8FxRy5E-5; Thu, 23 Sep 2010 23:36:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CFCBDCA76A; Thu, 23 Sep 2010 23:36:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F8ACCA76A for ; Thu, 23 Sep 2010 23:36:27 +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 AnSyKBnPQvlS for ; Thu, 23 Sep 2010 23:36:23 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id C9252CA58F for ; Thu, 23 Sep 2010 23:36:23 +0200 (CEST) Original-Received: from psi2.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id o8NLaMih001121 for ; Thu, 23 Sep 2010 23:36:23 +0200 Original-Received: (qmail 22010 invoked by uid 89); 23 Sep 2010 21:36:21 -0000 Original-Received: from unknown (HELO ?192.168.1.2?) (hajtmar@gyza.cz@88.103.230.14) by psi02 with ESMTPA; 23 Sep 2010 21:36:21 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 In-Reply-To: <8F2347FB-8CE7-446E-B304-3D7F2FE11106@st.estfiles.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=81.2.195.204; country=CZ; region=79; city=Ktis; latitude=48.9167; longitude=14.1333; http://maps.google.com/maps?q=48.9167,14.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dDalAmEz - 000ac30ca8ac - 20100923 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:61936 Archived-At: Hello, Thanks very much everyone for your advice, I am certainly now a better = starting position ... I will try to learn something ... Maybe it sounds silly but at the very beginning I was surprised by the = type of construction: \def\????ld{@@@@ld} \def\????ls{@@@@ls} Where do I read about it more? You have not it easy with me, right? :-) But luckily I learn fairly quickly :-)... One more thanx - I appreciate your willingness... Jarda Dne 23.9.2010 23:30, Steffen Wolfrum napsal(a): > 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/t= ex/context/third/ folder. >>>>> >>>>> is is also possible to keep/find them not in texfm tree but in a proj= ects 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 t= he 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 fi= le 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= the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > > = ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________