From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72387 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Project structure: Do macros go into the environment? Date: Sun, 13 Nov 2011 20:09:46 +0100 Message-ID: <96965C50-6939-4111-937A-D6ED3FA6FCB9@googlemail.com> References: <1321211141.3396.62.camel@mattotaupa> 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 1321211403 739 80.91.229.12 (13 Nov 2011 19:10:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2011 19:10:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 13 20:09:58 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 1RPfRF-00076L-IJ for gctc-ntg-context-518@m.gmane.org; Sun, 13 Nov 2011 20:09:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 28869CB0EB; Sun, 13 Nov 2011 20:09:57 +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 THxs+EoWDjw0; Sun, 13 Nov 2011 20:09:54 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B819CCB0E3; Sun, 13 Nov 2011 20:09:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 884F4CB0E3 for ; Sun, 13 Nov 2011 20:09:53 +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 gMGUAImPJyCy for ; Sun, 13 Nov 2011 20:09:51 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id A1650CB0C3 for ; Sun, 13 Nov 2011 20:09:51 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pADJ9o44001066 for ; Sun, 13 Nov 2011 20:09:51 +0100 Original-Received: by bke17 with SMTP id 17so5633987bke.14 for ; Sun, 13 Nov 2011 11:09:50 -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=EC9cWKEDu4hGXHCPXA5v70wKeyofARuZ01DN2UrtrRo=; b=Qh+JE2KpwQWe/h8otd4vt9UQKK/nFBDLWCjX+Hb8LshBIMKJGjnYs6sXvSg2s4H+fv VG++czMkldSM+PixRRlWwJahDicKgDacFUg6dS+l0vgq8dohdP3jif2Zbo7ruqmGWcT5 CZbFI1Y2EIaSQkpk0AfA2bbx8dAmSaBbG6VPQ= Original-Received: by 10.205.132.69 with SMTP id ht5mr8397161bkc.115.1321211390225; Sun, 13 Nov 2011 11:09:50 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFDE33.dip.t-dialin.net. [87.175.222.51]) by mx.google.com with ESMTPS id z15sm26982132bkv.4.2011.11.13.11.09.48 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 13 Nov 2011 11:09:49 -0800 (PST) In-Reply-To: <1321211141.3396.62.camel@mattotaupa> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 04FUH9Oa7 - a40ed8d3b8cf - 20111113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:72387 Archived-At: Am 13.11.2011 um 20:05 schrieb Paul Menzel: > Dear ConTeXt folks, > = > = > I am using the project layout [1] and have a file `env.tex` which gets > loaded. > = > \startenvironment env > = > \mainlanguage[de] > = > \setupinteraction > [title=3DTitel, > author=3DJohn Doe, > keyword=3D{keyword}] > = > \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}]} > = > [=85] > \stopenvironment > = > My question is if all macro definitions (and setups like for > interaction) should go in there? Yes. 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 ___________________________________________________________________________= ________