From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72386 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: Project structure: Do macros go into the environment? Date: Sun, 13 Nov 2011 20:05:41 +0100 Message-ID: <1321211141.3396.62.camel@mattotaupa> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1148320847==" X-Trace: dough.gmane.org 1321211156 31563 80.91.229.12 (13 Nov 2011 19:05:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2011 19:05:56 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 13 20:05:52 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 1RPfNH-0005cb-Ts for gctc-ntg-context-518@m.gmane.org; Sun, 13 Nov 2011 20:05:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6ADA1CB0E3; Sun, 13 Nov 2011 20:05:50 +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 MC4Vwxw2fKQI; Sun, 13 Nov 2011 20:05:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E88EBCB0E4; Sun, 13 Nov 2011 20:05:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 07FD8CB0E4 for ; Sun, 13 Nov 2011 20:05:46 +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 GA5m2JbJbAWj for ; Sun, 13 Nov 2011 20:05:44 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 0CB16CB0E3 for ; Sun, 13 Nov 2011 20:05:44 +0100 (CET) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pADJ5hhJ001737 for ; Sun, 13 Nov 2011 20:05:43 +0100 Original-Received: from f053033132.adsl.alicedsl.de ([78.53.33.132] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RPfNO-0002Np-2Y for ntg-context@ntg.nl; Sun, 13 Nov 2011 19:05:58 +0000 X-Mailer: Evolution 3.0.3-2 X-Bayes-Prob: 0.0013 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=188.40.100.199; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06FUH5HuG - 1a8db72f551a - 20111113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:72386 Archived-At: --===============1148320847== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-E4q6PILxgo5XAKVMXFfw" --=-E4q6PILxgo5XAKVMXFfw Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear ConTeXt folks, I am using the project layout [1] and have a file `env.tex` which gets loaded. \startenvironment env =20 \mainlanguage[de] =20 \setupinteraction [title=3DTitel, author=3DJohn Doe, keyword=3D{keyword}] =20 \def\href#1#2{\useURL[#2][{#2}][][{#1}]\goto{\url[#2]}[url(#1)]} \def\ahref#1{\color[linkcolor]{\ttx \href{#1}{<#1>}}} \def\fullahref#1{\color[linkcolor]{\ttx \href{#1}{http://#1}}} \def\mailto#1{\useURL[#1][mailto:#1][][#1]\from[{#1}]} \def\MailTo#1#2{\useURL[#1][mailto:#1][][#2]\from[{#1}]} =20 [=E2=80=A6] \stopenvironment My question is if all macro definitions (and setups like for interaction) should go in there? Thanks, Paul [1] http://wiki.contextgarden.net/Project_structure --=-E4q6PILxgo5XAKVMXFfw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk7AFQUACgkQPX1aK2wOHVjKkwCfVhhhXFIpCzJr3EQ9HFBsVoal +3cAnjjGujBADtwFkdurnkyzRXJuUTKe =EECE -----END PGP SIGNATURE----- --=-E4q6PILxgo5XAKVMXFfw-- --===============1148320847== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1148320847==--