From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59450 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Mutiple citations doesn't work with compress=no + interaction Date: Wed, 09 Jun 2010 13:02:52 +0200 Message-ID: <4C0F74DC.9050607@elvenkind.com> References: <4C0E6302.90904@uni-ulm.de> <4C0E9033.7090105@elvenkind.com> <4C0F5D19.7010106@uni-ulm.de> <4C0F5DBD.5080605@elvenkind.com> <4C0F6025.3010807@uni-ulm.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030109040002050700050208" X-Trace: dough.gmane.org 1276081394 20196 80.91.229.12 (9 Jun 2010 11:03:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 11:03:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 09 13:03:08 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMJ3r-0007Oy-Qo for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jun 2010 13:03:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75893C9BC9; Wed, 9 Jun 2010 13:03:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xAHjRzw1d5r9; Wed, 9 Jun 2010 13:03:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C920BC9BC4; Wed, 9 Jun 2010 13:02:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA657C9BD0 for ; Wed, 9 Jun 2010 13:02:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YE4LnH8Q4YrJ for ; Wed, 9 Jun 2010 13:02:52 +0200 (CEST) Original-Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by balder.ntg.nl (Postfix) with ESMTP id DCECFC9BC4 for ; Wed, 9 Jun 2010 13:02:52 +0200 (CEST) Original-Received: from [192.168.178.26] (boo.demon.nl [83.163.247.99]) (authenticated bits=0) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o59B2qT0021544 for ; Wed, 9 Jun 2010 13:02:52 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.23 (X11/20090822) In-Reply-To: <4C0F6025.3010807@uni-ulm.de> X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59450 Archived-At: This is a multi-part message in MIME format. --------------030109040002050700050208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Murphy wrote: > > Thanks for the code, but that turns out not to help. The problem seems > to be when I want to have references in footnotes (see attached minimal > example). Ok, now I see. Attached is a new version of min_bib_fn.tex that fixes citations in footnotes. However ... something totally weird happens in the current context and beta's: the footnote appears to be repeated inside the body text. For some reason I do not understand, \placepublications also seems to process the footnote list (and because there is no proper definition for handling them, rubbish appears on the top of the publication list). This problem is not caused by the \cite inside the \footnote, nor by the redefinition of \cite, it happens without those as well. Best wishes, Taco --------------030109040002050700050208 Content-Type: application/x-tex; name="min_bib_fn.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="min_bib_fn.tex" \setupinteraction[state=start] \usemodule[bib] \setuppublications[refcommand=authoryears] \let\NORMALcite\cite \newif\ifSEEN \unexpanded\def\cite#1[#2]{\SEENfalse \def\processitem##1{\ifSEEN, \else\SEENtrue \fi \NORMALcite[##1]}% (\processcommalist[#2]\processitem )} \setupcite[authoryears][compress=no,left=,right=] \starttext I can cite single authors, like this \cite[Balachandran2008], and now I can also do more than one\footnote{but unfortunately I get errors when I have citations \cite[Balachandran2008] in footnotes}% citation \cite[Balachandran2008,Borzi2002,Bose2007]. \blank \placepublications \stoptext --------------030109040002050700050208 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --------------030109040002050700050208--