From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22798 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Modules how? Date: Sun, 02 Oct 2005 10:09:22 +0200 Message-ID: <433F95B2.4040802@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1128240870 30080 80.91.229.2 (2 Oct 2005 08:14:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2005 08:14:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 02 10:14:28 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1ELyz9-0002fS-Uv for gctc-ntg-context-518@m.gmane.org; Sun, 02 Oct 2005 10:14:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 684DA127BF; Sun, 2 Oct 2005 10:14:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05304-02; Sun, 2 Oct 2005 10:14:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A8E21279E; Sun, 2 Oct 2005 10:12:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 23E341279E for ; Sun, 2 Oct 2005 10:12:10 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05304-01-2 for ; Sun, 2 Oct 2005 10:12:09 +0200 (CEST) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with ESMTP id 3FC3112788 for ; Sun, 2 Oct 2005 10:12:08 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:48730 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1ELyx6-000OnE-KC for ntg-context@ntg.nl; Sun, 02 Oct 2005 08:12:08 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22798 Archived-At: Boris Pedrofiets wrote: > Looking at the files s-mag-01.tex and mag-0000.tex from the context > distribution I created a file with layout and defs myself. My question: > how can I use my-module? Rename the file you made, so the name starts with "p-" and ends with the extension ".tex", like: p-boris.tex Now you can start your documents with \usemodule[boris] Modules normally start with a single letter, followed by a dash. Context first looks for m-boris (a core system module), then p-boris (a user private module), then s-boris (a style module), then x-boris (dunno?), then t-boris (a third-party module), and finally (if nothing else works), in a new context distribution it will try boris.tex. Even if it works, using module names without a prefix is a bad idea, because it is very likely to create clashes with other input file names. Use "p-boris.tex" for your own files, and "t-boris.tex" for files you want to share with other people. Taco