From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22831 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: bib module: \setupcite macro Date: Mon, 03 Oct 2005 15:09:00 +0200 Message-ID: <43412D6C.2090503@elvenkind.com> References: <4344165E@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.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 1128344958 32581 80.91.229.2 (3 Oct 2005 13:09:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2005 13:09:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 03 15:09: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 1EMQ3r-0002OG-TT for gctc-ntg-context-518@m.gmane.org; Mon, 03 Oct 2005 15:08:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EC581277B; Mon, 3 Oct 2005 15:08: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 19594-03; Mon, 3 Oct 2005 15:08:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA0B51278F; Mon, 3 Oct 2005 15:08:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D487A1278F for ; Mon, 3 Oct 2005 15:08:48 +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 19349-04-4 for ; Mon, 3 Oct 2005 15:08:47 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id D58991277B for ; Mon, 3 Oct 2005 15:08:47 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 7DF701817E for ; Mon, 3 Oct 2005 15:08:47 +0200 (CEST) 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 29320-04 for ; Mon, 3 Oct 2005 15:08:46 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 3108B15BC7 for ; Mon, 3 Oct 2005 15:08:46 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4344165E@webmail.colostate.edu> X-Virus-Scanned: by amavisd-new at elvenkind.net 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:22831 Archived-At: Idris Samawi Hamid wrote: > Hi Taco, > > >>===== Original Message From Taco Hoekwater ===== >> >>>My definition for \citeyear crashes. This used to work-) >> >>First: this problem is caused by the fact that year >>citations are by default uncompressed. if year compression >>is turned on, then different code is used, and the problem >>never happens. > > > Please forgive my cluelessness, but what is "year compression" and how do I > turn it on? \setupcite[year][compress=yes] It is supposed to work similar to compression for author-year combinations (where it already is turned on by default), so that if you do \cite[year][johhnson1,smithson2] and both were published in the same year, you get only one year typeset instead of two. Whether or not that makes sense is another issue, the feature came 'free' with the author-year variant where it sometimes really does make sense to compress the typeset data. Cheers, Taco PS I've seen the rest of your comments as well, but no chance of doing something with them today.