From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46923 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Defining a function Date: Wed, 21 Jan 2009 13:43:14 +0100 Message-ID: <115224fb0901210443p737889d1gdaf93bce9f6f0c30@mail.gmail.com> References: 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: ger.gmane.org 1232542023 11095 80.91.229.12 (21 Jan 2009 12:47:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2009 12:47:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 21 13:48:16 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LPcVE-00030f-7w for gctc-ntg-context-518@m.gmane.org; Wed, 21 Jan 2009 13:48:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 29B171FDFD; Wed, 21 Jan 2009 13:46:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26474-05-4; Wed, 21 Jan 2009 13:46:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1C271FDF0; Wed, 21 Jan 2009 13:45:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 12A321FDF0 for ; Wed, 21 Jan 2009 13:45:29 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22568-07 for ; Wed, 21 Jan 2009 13:44:55 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id F26751FDDF for ; Wed, 21 Jan 2009 13:44:54 +0100 (CET) Original-Received: from mail-bw0-f16.google.com (mail-bw0-f16.google.com [209.85.218.16]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0LCisPg031237 for ; Wed, 21 Jan 2009 13:44:54 +0100 Original-Received: by bwz9 with SMTP id 9so705684bwz.2 for ; Wed, 21 Jan 2009 04:44:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yug0A80SKRFO0yrXWpBxylh2TwAAGctLWYKAFhhr5rY=; b=cq1Jp+XcYIsUKR76jd+yKYZX0pVqClGF0lXMUVpEBzqh4AyAReZOZUvpdVbp7EbkLd nXo+dgsxxO+EHcAZT/uMUn94o7CDkgpcRuRt8mPYSAqnCP83DXt2ZitmxGTIG9uvfzPo fAet6DINzSfVxdEfhGesM1fyq4U5i64Q57bVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=nqRxUNzzSJTeHVXXmTd9BFdMnBjTzedKaEWpklKODMch5l/HXmNGdSkaS2gHNA+EPZ VrDQltQsT0FkgN/3kaelWU+TgEwFiq/ywcWMkJozRdFREgYrNvoXx1j5bPRXl9o/6lOS uuqwNphnhx2L2qvUSZfWye9J6jF8vcXUFX0cQ= Original-Received: by 10.223.114.135 with SMTP id e7mr874570faq.89.1232541794569; Wed, 21 Jan 2009 04:43:14 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.16; 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: 168512558 - 5d0c2d66f8d3 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:46923 Archived-At: On Wed, Jan 21, 2009 at 1:28 PM, Cecil Westerhof wrote: > I defined a command as descriped in > http://wiki.contextgarden.net/Processing_Lists. (\def\IHaveTo#1#2{I > have to #1 on #2.\par}) > If I define it in the tex-file that is processed it works. > But when I put the definition in the template file that is used, it > does not work. What do I need to do to define a command in a template > file? How do you load your template file? Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________