From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22823 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: bib module: \setupcite macro Date: Mon, 3 Oct 2005 08:04:40 +0200 Message-ID: <169D75E2-B11F-4E90-9E00-C270D2CFCEAD@uni-bonn.de> References: <4341B250@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1128319584 30090 80.91.229.2 (3 Oct 2005 06:06:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2005 06:06:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 03 08:06:15 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EMJSb-0002ou-8n for gctc-ntg-context-518@m.gmane.org; Mon, 03 Oct 2005 08:06:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCD3D127D5; Mon, 3 Oct 2005 08:06:00 +0200 (CEST) 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 15973-07-2; Mon, 3 Oct 2005 08:05:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4831D127D1; Mon, 3 Oct 2005 08:05:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ECA39127D1 for ; Mon, 3 Oct 2005 08:05:55 +0200 (CEST) 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 15973-07 for ; Mon, 3 Oct 2005 08:05:55 +0200 (CEST) Original-Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by ronja.ntg.nl (Postfix) with ESMTP id 1BF4A127B8 for ; Mon, 3 Oct 2005 08:05:52 +0200 (CEST) Original-Received: from fwd35.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1EMJSS-0007Wi-01; Mon, 03 Oct 2005 08:05:52 +0200 Original-Received: from [192.168.0.2] (GiUsF2ZcgejHfzENVIE2p4dShfnhxDtcjc8XMi5eZaFrGcPM2PpLg+@[84.172.120.130]) by fwd35.sul.t-online.de with esmtp id 1EMJSL-0Ffmq00; Mon, 3 Oct 2005 08:05:45 +0200 In-Reply-To: <4341B250@webmail.colostate.edu> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.734) X-ID: GiUsF2ZcgejHfzENVIE2p4dShfnhxDtcjc8XMi5eZaFrGcPM2PpLg+@t-dialin.net X-TOI-MSGID: 4f289e53-5ba7-4f85-9d31-d04258672b35 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22823 Archived-At: Just add an extra pair of braces: \def\citeyear[#1]{% {{\cite[year]}[#1]% }% } Thomas On Oct 3, 2005, at 1:01 AM, Idris Samawi Hamid wrote: > My definition for \citeyear crashes. This used to work-) > > \def\citeyear[#1]{% > {\cite[year][#1]% > }% > } >