From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74067 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problem with letter module Date: Sat, 21 Jan 2012 10:12:11 +0100 Message-ID: References: <201201182114.15080.romain.diss@yahoo.fr> <201201200020.39309.romain.diss@yahoo.fr> <2F73EC30-0BCC-489E-BC96-CBDCFAA8D3D2@googlemail.com> <201201202244.45697.romain.diss@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327137163 25436 80.91.229.12 (21 Jan 2012 09:12:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2012 09:12:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 21 10:12:38 2012 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 1RoX01-0004Th-Bn for gctc-ntg-context-518@m.gmane.org; Sat, 21 Jan 2012 10:12:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4783CB1DF; Sat, 21 Jan 2012 10:12:35 +0100 (CET) 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 8w8kj5euUGww; Sat, 21 Jan 2012 10:12:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F209CB1C5; Sat, 21 Jan 2012 10:12:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3FD6CB1C5 for ; Sat, 21 Jan 2012 10:12:28 +0100 (CET) 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 jCYCTdf98uFM for ; Sat, 21 Jan 2012 10:12:15 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 4596CCB1B4 for ; Sat, 21 Jan 2012 10:12:15 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0L9CEBY002688 for ; Sat, 21 Jan 2012 10:12:14 +0100 Original-Received: by eekc13 with SMTP id c13so561658eek.14 for ; Sat, 21 Jan 2012 01:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=0pxPl70w6n7KJ6rUbbibIF80TimWhzFSc+zxdJ05Obo=; b=raOdzDQFBEYSYP0GpnbdADJ4QvJVPawyEWi3EGFXCpR1x1sUcHPQTFq3/eEvkUAvuI 0CE1Tu1jHxvaqzoT6zcuRgiNHMog6d52Or+Vz+ETZK7rX9qoFjIxKext5xrJaHUiFna7 i1mX0MRcQmbjb+HdRVpdtZigDkuikM1QWBjzI= Original-Received: by 10.14.10.199 with SMTP id 47mr461333eev.14.1327137134165; Sat, 21 Jan 2012 01:12:14 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFC861.dip.t-dialin.net. [87.175.200.97]) by mx.google.com with ESMTPS id n17sm22900429eei.3.2012.01.21.01.12.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 Jan 2012 01:12:13 -0800 (PST) In-Reply-To: <201201202244.45697.romain.diss@yahoo.fr> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 0bGo9ce2h - 37348ddb85fc - 20120121 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:74067 Archived-At: Am 20.01.2012 um 22:44 schrieb Romain Diss: > Just by curiosity, if none of the t-letter.* files are loaded, how does c= ontext = > know that it have to load the s-cor-* files when I type \usemodule[letter= ]? When you load a module with \usemodule[] context looks first if it can find a file with the name t-, s- etc. and it does also check for any file which this naming system with different extensions (e.g. *.mkiv and *.tex for MkIV) but there is another search method. When you take a look into the base folder you can see that Hans presentation styles have names in the form s-pre-xx.tex where xx is a number but the wiki says you load them with \usemodule[pre-] where can be =93fuzzy=94 or =93shade=94. The mapping from s-pre-fuzz= y.tex (the synonym) to s-pre-05.tex (the file name) is done with the \definefilesynonym command where you can give files a symbolic name. There is no a additional step when you load a module, \usemodule looks first if the name of the module you requested is a synonym and when this is the case it looks for the real file again with the lookup meth= od given in the first paragraph. When take a look into cont-fil.mkiv you can see that there is also a synonym for the letter module \definefilesynonym [letter] [cor-01] which loads the file s-cor-01.mkvi when you write \usemodule[letter]. 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 ___________________________________________________________________________= ________