From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18313 Path: main.gmane.org!not-for-mail From: Thomas A.Schmitz Newsgroups: gmane.comp.tex.context Subject: What's (in) a module? Date: Tue, 15 Feb 2005 17:20:53 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108484780 11570 80.91.229.2 (15 Feb 2005 16:26:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2005 16:26:20 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 15 17:26:19 2005 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 1D15WP-0006V0-Bh for gctc-ntg-context-518@m.gmane.org; Tue, 15 Feb 2005 17:25:57 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB85712799; Tue, 15 Feb 2005 17:28:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29666-04; Tue, 15 Feb 2005 17:28:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 67AF512784; Tue, 15 Feb 2005 17:23:45 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7804512784 for ; Tue, 15 Feb 2005 17:23:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29563-04 for ; Tue, 15 Feb 2005 17:23:42 +0100 (CET) Original-Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by ronja.ntg.nl (Postfix) with ESMTP id BE15F12778 for ; Tue, 15 Feb 2005 17:23:42 +0100 (CET) Original-Received: from fwd05.aul.t-online.de by mailout10.sul.t-online.com with smtp id 1D15UE-0006EL-00; Tue, 15 Feb 2005 17:23:42 +0100 Original-Received: from [192.168.0.2] (bVt-iZZZYeQMFG6D4dfSvSpYffH52CrJawEdf9OdL-KU01JGvK4XUB@[217.81.180.48]) by fmrl05.sul.t-online.com with esmtp id 1D15RW-250xfM0; Tue, 15 Feb 2005 17:20:54 +0100 Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619.2) X-ID: bVt-iZZZYeQMFG6D4dfSvSpYffH52CrJawEdf9OdL-KU01JGvK4XUB@t-dialin.net X-TOI-MSGID: 51c66fdc-ef47-4fcb-873c-1fd40b5acaee X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: main.gmane.org gmane.comp.tex.context:18313 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18313 Two maybe related questions: 1. What constitutes a module? I wrote a couple of definitions and put them in a file t-foo.tex. When I write "\input t-foo" in the preamble of my document, everything works fine (so the file is found by TeX). When I say \usemodule[t-foo] or \usemodule[foo], I get "system : no macros found in module foo" and, obviously, "undefined control sequence." So: is there any special form for a module? I'm very curious because I defined a set of similar macros in another module, and everything works fine. 2. Is it possible to use a certain encoding file, enco-bar.tex, for parts of a file only? Could one define a macro (in a module???) that would do something like \switchtoencoding[bar] and switch back to the file's default encoding afterwards? Thanks to all, best Thomas