From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72464 Path: news.gmane.org!not-for-mail From: Romain Diss Newsgroups: gmane.comp.tex.context Subject: User macros and settings: environment or style module? Date: Tue, 15 Nov 2011 22:01:10 +0100 Message-ID: <201111152201.11152.romain.diss@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321390899 6353 80.91.229.12 (15 Nov 2011 21:01:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2011 21:01:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 15 22:01:34 2011 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 1RQQ8M-0003ZY-ID for gctc-ntg-context-518@m.gmane.org; Tue, 15 Nov 2011 22:01:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8508CB0EB; Tue, 15 Nov 2011 22:01:32 +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 xBVixceqcI4E; Tue, 15 Nov 2011 22:01:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F48BCB0F8; Tue, 15 Nov 2011 22:01:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C5DEFCB0F8 for ; Tue, 15 Nov 2011 22:01:26 +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 Fus-UdNzInFX for ; Tue, 15 Nov 2011 22:01:13 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id B7DF7CB0EB for ; Tue, 15 Nov 2011 22:01:13 +0100 (CET) Original-Received: from nm16-vm0.bullet.mail.ukl.yahoo.com (nm16-vm0.bullet.mail.ukl.yahoo.com [217.146.183.254]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id pAFL1C4P015973 for ; Tue, 15 Nov 2011 22:01:13 +0100 Original-Received: from [217.146.183.180] by nm16.bullet.mail.ukl.yahoo.com with NNFMP; 15 Nov 2011 21:01:12 -0000 Original-Received: from [77.238.184.58] by tm11.bullet.mail.ukl.yahoo.com with NNFMP; 15 Nov 2011 21:01:12 -0000 Original-Received: from [127.0.0.1] by smtp127.mail.ukl.yahoo.com with NNFMP; 15 Nov 2011 21:01:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1321390872; bh=2c3k6O9l8EmEKoiCwAbrrWFgeev75SsMX7WUDed+ru8=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id; b=xbH3ZM2ZlnMdNf+I6i3hU3WbBTkfYYkVcZgDg/4xaF3L3FWY9oXoKhim0OkM3JIOgNCFlw2bgD5RCJhSdpoqYcEFY472HnWB+2A+ll4GuuSksojX/5hzHYcdpeKoT4z8SX5ydaHjbxCvp/W+icSwQCTtf71AiYtuXuW+bK52sCs= X-Yahoo-Newman-Id: 723048.63519.bm@smtp127.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: VwwvHi0VM1nsAoIAacFGLK._oQUFPcbrkwZIVRmNF4mpbfE bZbGBWQrdDTfALfuYVddREy6iEusHL01J1w6fFdrlkXAVVzNlirRoW.UoMPy U6lnCCIpz6XW7SUal4bqhaEfPpqWvQ.tT1OY9IMUyXx6ZcZzHgipjfnndZs8 16z_e70KJT.DrNGcjYOULO0LjO_kW1mnIa.yGT_HYcTpcqyhn9YzVQWIBI4f o1JDWbLQiNrijGcsFqNe_i0p1K3jHISuMPVYu3rUjdok6K7kO7slopwQHq2K 8d__UqMjNq2Y.s9gRo63rVxhP7O6TKiE1NuY6J9KynKAT6mCZR655gef3._n A4ixbCdTv_o0- X-Yahoo-SMTP: S1hYNv6swBAmdDgiTrR1jsHHwRWtJLYt Original-Received: from nereid.localnet (romain.diss@89.226.19.105 with plain) by smtp127.mail.ukl.yahoo.com with SMTP; 15 Nov 2011 21:01:12 +0000 GMT User-Agent: KMail/1.13.7 (Linux/3.0.0-2-amd64; KDE/4.6.5; x86_64; ; ) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.146.183.254; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xFVx1ca6 - d00c44bb3226 - 20111115 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:72464 Archived-At: Hi all, Like any of the context users who write documents, I use some personal macros, definitions, setups... In most of the context manuals, it is recommended to declare all of these personal settings in an environment file. This file is then included by: \environment myStyle However, in certain case, these settings goes in a style module file, like what is done for MyWay articles where one includes the style file with: \usemodule[myStyle] So my question is: Is there any technical reason to choose between those two possibilities or is it only a matter of personal preference? All the best. -- Romain Diss ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________