From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78508 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: My own module. Date: Mon, 1 Oct 2012 19:37:32 +0200 Message-ID: <522AFDA8-01E1-44F2-8652-68D5376690A9@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349113082 8732 80.91.229.3 (1 Oct 2012 17:38:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2012 17:38:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 01 19:38:07 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TIjw5-0002Mq-Mt for gctc-ntg-context-518@m.gmane.org; Mon, 01 Oct 2012 19:37:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F229B1020C; Mon, 1 Oct 2012 19:37:35 +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 kmMMpCzU3aCV; Mon, 1 Oct 2012 19:37:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2FD3F101F2; Mon, 1 Oct 2012 19:37:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE516101F2 for ; Mon, 1 Oct 2012 19:37:32 +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 OB7UhTV+DQsD for ; Mon, 1 Oct 2012 19:37:32 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 36F9A101EF for ; Mon, 1 Oct 2012 19:37:32 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q91HbV4u013322 for ; Mon, 1 Oct 2012 19:37:31 +0200 Original-Received: by bkcjm1 with SMTP id jm1so5679539bkc.14 for ; Mon, 01 Oct 2012 10:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=KR5Hve5LZHLfY+6vBvI5TPa5u829LCB4GZfw/yZNdf0=; b=d1rAY7eyedEELfZTqBMlolZgWJrQ+mOUOpbjrLfY8N0WnDGOUU50uE2uhp/jhwRDen zirDGJFGnd5XJbjTioKLGPKxYBge7raCqNikUYbGIRxcSNw6Zsk5yP4CFR5/RSNUouoO tWHPp6QXgtA3HDrI4SHKcpg+RR4z6KZXn75eCcvl266/+6V9L4zw2wQaP7ezztcKJByo zYk65im5108eKi4fwGDFqw1/omQ1qWq1gPgGSd9nLLcdk19PklGqvw80936ifmK/WUS1 l/97O6m0i+H2uwxB7ucgZbfW1mtPcgiH7xtzxetMsUuoE0eyYTubGvhNmDZY1mZz/Pcb UwPg== Original-Received: by 10.204.6.75 with SMTP id 11mr6218941bky.10.1349113050611; Mon, 01 Oct 2012 10:37:30 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbfb8da.pool.mediaWays.net. [77.191.184.218]) by mx.google.com with ESMTPS id k21sm11900777bkv.1.2012.10.01.10.37.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 10:37:30 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 07I5RBvbM - c4403e26e8ff - 20121001 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78508 Archived-At: Am 29.09.2012 um 22:11 schrieb Andre Caldas : > Where should I put a module if I have the following project strucutre? > = > math-books/ > math-books.tex > environments/ > layout.tex > products/ > book1.tex > book1/ > chapter1.tex > chapter2.tex > book2.tex > book2/ > chapter1.tex > chapter2.tex > = > I have a "my_module.lua" and a "my_module.tex". > Where should I put those files? > How do I configure my project to use my module? > How do I call my own module from "book1/chapter1.tex", for example? You can load your module with \usemodule[=85] from your environment file. It should also help when you put the environment file in the root directory of your project because when you have =93\environment =85=94 in your product or component files context ail search for it also two directories upwards. 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 ___________________________________________________________________________= ________