From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72388 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: Re: [solved] Project structure: Do macros go into the environment? Date: Sun, 13 Nov 2011 20:21:03 +0100 Message-ID: <1321212063.3396.66.camel@mattotaupa> References: <1321211141.3396.62.camel@mattotaupa> <96965C50-6939-4111-937A-D6ED3FA6FCB9@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0547549412==" X-Trace: dough.gmane.org 1321212098 5331 80.91.229.12 (13 Nov 2011 19:21:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2011 19:21:38 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 13 20:21:30 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 1RPfcM-0002dh-G7 for gctc-ntg-context-518@m.gmane.org; Sun, 13 Nov 2011 20:21:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCAEFCB0F8; Sun, 13 Nov 2011 20:21:25 +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 E26h3vHSdwMq; Sun, 13 Nov 2011 20:21:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EA6BCB0E3; Sun, 13 Nov 2011 20:21:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26A87CB0E2 for ; Sun, 13 Nov 2011 20:21:20 +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 wNUOz5wbKHFh for ; Sun, 13 Nov 2011 20:21:09 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 02241CB0E3 for ; Sun, 13 Nov 2011 20:21:08 +0100 (CET) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pADJL4G0020102 for ; Sun, 13 Nov 2011 20:21:06 +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 1RPfcF-0002Q7-PP for ntg-context@ntg.nl; Sun, 13 Nov 2011 19:21:19 +0000 In-Reply-To: <96965C50-6939-4111-937A-D6ED3FA6FCB9@googlemail.com> X-Mailer: Evolution 3.0.3-2 X-Bayes-Prob: 0.0001 (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: 0cFUHl4Ar - bb9041ba83c8 - 20111113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:72388 Archived-At: --===============0547549412== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8GopchcQr9Zj8jjF0kbu" --=-8GopchcQr9Zj8jjF0kbu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Sonntag, den 13.11.2011, 20:09 +0100 schrieb Wolfgang Schuster: > Am 13.11.2011 um 20:05 schrieb Paul Menzel: > > I am using the project layout [1] and have a file `env.tex` which gets > > loaded. > >=20 > > \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 > >=20 > > My question is if all macro definitions (and setups like for > > interaction) should go in there? >=20 > Yes. As always, thank you for the fast response! Thanks, Paul --=-8GopchcQr9Zj8jjF0kbu 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) iEYEABECAAYFAk7AGJ8ACgkQPX1aK2wOHViVbACgjDeRhtJeOr1uPaPAWTo76An1 DNkAniJv56CXL4C81aY28ofCuQNn/k3E =jQ/v -----END PGP SIGNATURE----- --=-8GopchcQr9Zj8jjF0kbu-- --===============0547549412== 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 ___________________________________________________________________________________ --===============0547549412==--