From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17074 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: m-bib -- pages Date: Tue, 16 Nov 2004 11:45:58 +0100 Message-ID: <4199DA66.20303@elvenkind.com> References: <49374.62.251.0.62.1100591371.squirrel@62.251.0.62> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100602085 4632 80.91.229.6 (16 Nov 2004 10:48:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Nov 2004 10:48:05 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 16 11:47:52 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CU0sJ-0001AA-00 for ; Tue, 16 Nov 2004 11:47:51 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34F92127A5; Tue, 16 Nov 2004 11:47:50 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14444-02; Tue, 16 Nov 2004 11:47:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C98E512799; Tue, 16 Nov 2004 11:46:02 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1682312799 for ; Tue, 16 Nov 2004 11:46:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14444-01 for ; Tue, 16 Nov 2004 11:46:00 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com (unknown [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 3FE7F12783 for ; Tue, 16 Nov 2004 11:46:00 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 4953E19376; Tue, 16 Nov 2004 11:45:31 +0100 (CET) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27179-10; Tue, 16 Nov 2004 11:45:30 +0100 (CET) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 8961C19371; Tue, 16 Nov 2004 11:45:30 +0100 (CET) User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en Original-To: r.ermers@hccnet.nl In-Reply-To: <49374.62.251.0.62.1100591371.squirrel@62.251.0.62> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: by 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-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17074 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17074 r.ermers@hccnet.nl wrote: > Dear friends, > > Does anybody know how to generate references of the type: > > Jansen (2002:22), Pietersen (1998:28,39) and Hendriks (2000:12-19) > maintain that ... while the latter (2000:21) ... Do you want this (i've invented keys for the items)?: %%%%%%%%%%%%%%%%%%%%%%%%% \setupcite[author,year][left={},right={}] \def\myciteyear[#1][#2]{(\cite[year][#1]:#2)} \def\mycite[#1][#2]{\cite[author][#1]~\myciteyear[#1][#2]} \starttext \mycite[Jansen2002][22], \mycite[Pietersen1998][28,39] and \mycite[Hendriks2000][12-19] maintain that ... while the latter \myciteyear[Hendriks2000][21] \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%