From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18315 Path: main.gmane.org!not-for-mail From: Thomas A.Schmitz Newsgroups: gmane.comp.tex.context Subject: Re: What's (in) a module? Date: Tue, 15 Feb 2005 18:25:23 +0100 Message-ID: <6e9504069ce0d95f822f35f2c1cf9757@uni-bonn.de> References: <4212242C.2090709@wxs.nl> 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 1108488308 24413 80.91.229.2 (15 Feb 2005 17:25:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2005 17:25:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 15 18:25:07 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 1D16RZ-0000XP-R0 for gctc-ntg-context-518@m.gmane.org; Tue, 15 Feb 2005 18:25:02 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 39BAE127B6; Tue, 15 Feb 2005 18:27:32 +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 30269-03; Tue, 15 Feb 2005 18:27:32 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4157512799; Tue, 15 Feb 2005 18:25:49 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0B4B12799 for ; Tue, 15 Feb 2005 18:25:47 +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 30206-03 for ; Tue, 15 Feb 2005 18:25:47 +0100 (CET) Original-Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by ronja.ntg.nl (Postfix) with ESMTP id 01A0112784 for ; Tue, 15 Feb 2005 18:25:47 +0100 (CET) Original-Received: from fwd03.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1D16SI-0003vE-00; Tue, 15 Feb 2005 18:25:46 +0100 Original-Received: from [192.168.0.2] (E29pt2ZFQeCfPCaGWkDeuGn5CeWQmDFdmVMRcgeC05AgWtnwX-rFUZ@[217.81.180.48]) by fmrl03.sul.t-online.com with esmtp id 1D16Rz-1k6Q4G0; Tue, 15 Feb 2005 18:25:27 +0100 In-Reply-To: <4212242C.2090709@wxs.nl> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.619.2) X-ID: E29pt2ZFQeCfPCaGWkDeuGn5CeWQmDFdmVMRcgeC05AgWtnwX-rFUZ@t-dialin.net X-TOI-MSGID: de47263d-7775-4d04-8372-7045b5948271 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:18315 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18315 On Feb 15, 2005, at 5:32 PM, Hans Hagen wrote: > Thomas A.Schmitz wrote: > >> 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. > > did you run mktexlsr? It's a file in my $HOMETEXMF which doesn't have lsR files. I ran mktexlsr nevertheless, but to no avail. I really fail to understand... > >> 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? > > you're talking about font encodings? > > \definetypeface [PalatinoA] [rm] [serif] [palatino] [default] > [encoding=texnansi] > > \definetypeface [PalatinoB] [rm] [serif] [palatino] [default] > [encoding=ec] > Yes, I'm talking about font encodings. For the utf greek stuff, I defined a file enco-agr to provide the named glyphs, which I call by adding \useencoding[agr]. But I just realized that this will only add these named files, not overload the other names in the default encoding, so I guess that's a non-problem after all. I guess Adam was in touch with you. unicode vectors and modules for adding support for utf extended Greek are approaching completion. Maybe we can think where to put the stuff (five fonts at least). Maybe a CTAN/Context directory would be a good thing. Thanks Thomas