From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26860 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: Re: More on XML and citations Date: Thu, 06 Apr 2006 10:36:38 -0700 Organization: Die Guten Message-ID: References: <200604041908.27562.johannes_graumann@web.de> <443369E6.3070206@elvenkind.com> <4434DD86.2040200@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144345281 1368 80.91.229.2 (6 Apr 2006 17:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Apr 2006 17:41:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 06 19:41:17 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FRYTj-0007bv-2H for gctc-ntg-context-518@m.gmane.org; Thu, 06 Apr 2006 19:41:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6AAD127B1; Thu, 6 Apr 2006 19:41:06 +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 02162-01-4; Thu, 6 Apr 2006 19:41:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B918112792; Thu, 6 Apr 2006 19:41:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7E1271278F for ; Thu, 6 Apr 2006 19:40:59 +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 02162-01-3 for ; Thu, 6 Apr 2006 19:40:58 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 61A6E12792 for ; Thu, 6 Apr 2006 19:40:58 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FRYT6-0007RZ-FG for ntg-context@ntg.nl; Thu, 06 Apr 2006 19:40:29 +0200 Original-Received: from iluvatar.caltech.edu ([131.215.35.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Apr 2006 19:40:28 +0200 Original-Received: from johannes_graumann by iluvatar.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Apr 2006 19:40:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 64 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iluvatar.caltech.edu User-Agent: KNode/0.10.2 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:26860 Archived-At: Taco Hoekwater wrote: > > > Johannes Graumann wrote: >> Could you - maybe - point me towards the more cumbersome 'official' >> solution? > > See attached example. > > Cheers, taco Taco, With this preamble code \unprotect \def\bibauthoryearxref[#1]% {\ixbibauthoryear{#1}% {{\currentbibauthor}\bibalternative\c!inbetween \bibalternative\v!left{\currentbibyear}\bibalternative\v!right} {\bibalternative\c!pubsep{\currentbibauthor}\bibalternative\c!inbetween \bibalternative\v!left {\currentbibyear}\bibalternative\v!right} {\bibalternative\c!lastpubsep{\currentbibauthor}\bibalternative\c!inbetween \bibalternative\v!left {\currentbibyear}\bibalternative\v!right}} \setupcite [authoryearx] [\c!andtext={ and }, \c!otherstext={ et al.}, \c!pubsep={, }, \c!lastpubsep={ and }, \c!compress=\v!yes, \c!inbetween={, }, \c!left={}, \c!right={}] \protect I get the following error at compile time: ! Undefined control sequence. \c!andtext ={ and } \xprocesscommaitem #1,#2->\if ,#1 ,\@EA \xprocesscommaitem \else \if ]#1\@EAE... \c!andtext ={ and }, \c!otherstext ={ et al.}, \c!pubsep ={, }, \... \xdogetparameters #1]->\xprocesscommaitem #1 ,],\@relax@ \next1 #1,->\dosetupcite {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... l.224 \c!right={}] What am I doing wrong? Outdated ContTeXt/bib module? Joh