From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59449 Path: news.gmane.org!not-for-mail From: Michael Murphy Newsgroups: gmane.comp.tex.context Subject: Re: Mutiple citations doesn't work with compress=no + interaction Date: Wed, 09 Jun 2010 11:34:29 +0200 Message-ID: <4C0F6025.3010807@uni-ulm.de> References: <4C0E6302.90904@uni-ulm.de> <4C0E9033.7090105@elvenkind.com> <4C0F5D19.7010106@uni-ulm.de> <4C0F5DBD.5080605@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040007020406020606020107" X-Trace: dough.gmane.org 1276076102 1762 80.91.229.12 (9 Jun 2010 09:35:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 09:35:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 09 11:34:55 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 1OMHgS-0006F2-70 for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jun 2010 11:34:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6605DC9C38; Wed, 9 Jun 2010 11:34:51 +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 xx48nDU7Aeci; Wed, 9 Jun 2010 11:34:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 877D2C9BF4; Wed, 9 Jun 2010 11:34:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4CDFC9BDC for ; Wed, 9 Jun 2010 11:34:46 +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 JT1JRsAqpFSK for ; Wed, 9 Jun 2010 11:34:32 +0200 (CEST) Original-Received: from mail.uni-ulm.de (mail.uni-ulm.de [134.60.1.11]) by balder.ntg.nl (Postfix) with ESMTP id ACA2BC9C07 for ; Wed, 9 Jun 2010 11:34:31 +0200 (CEST) Original-Received: from [134.60.83.35] (karneol3.physik.uni-ulm.de [134.60.83.35]) (authenticated bits=0) by mail.uni-ulm.de (8.14.3/8.14.2) with ESMTP id o599YUGf024431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 9 Jun 2010 11:34:30 +0200 (MEST) User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 In-Reply-To: <4C0F5DBD.5080605@elvenkind.com> X-DCC-INFN-TO-Metrics: poseidon 1233; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new 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:59449 Archived-At: This is a multi-part message in MIME format. --------------040007020406020606020107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 09/06/10 11:24, Taco Hoekwater wrote: > Michael Murphy wrote: >> On 08/06/10 20:47, taco wrote: >>> >>> It also only happens in mkiv, something is broken there. As is >>> usual in the mkiv version of the bib module, I can't figure >>> it out :( >>> >>> However, here is a workaround: >>> >>> ... >> > >> >> ... and indeed, this works for the minimal example, but in my actual >> document, I get an error: >> >> ! Undefined control sequence. >> \dododescriptioncomponent ...entdescriptioncoding >> \s!tex \fi \ifx >> >> and I have no idea why. I guess I'll play around some more. > > Wild guess: can you try with this definition in the setup part > of your document? > > \unexpanded\def\dodescriptioncomponent > {\doifelsedescriptioncomponent > \nododescriptioncomponent\dododescriptioncomponent} > > Best wishes, > Taco 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). -- Michael Murphy --------------040007020406020606020107 Content-Type: text/plain; name="min_bib_fn.bbl" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="min_bib_fn.bbl" \setuppublicationlist[samplesize={CKRGO08},totalnumber=3] \startpublication[k=Balachandran2008,t=article, a={{Balachandran},{Gong}},y=2008,o={10.1103/PhysRevA.77.012303}, n=1,s=BG08] \artauthor[]{Vinitha}[V.]{}{Balachandran} \artauthor[]{Jiangbin}[J.]{}{Gong} \pubyear{2008} \arttitle{Adiabatic quantum transport in a spin chain with a moving potential} \journal{Phys. Rev. A} \volume{77} \issue{1} \pages{012303} \doi{10.1103/PhysRevA.77.012303} \stoppublication \startpublication[k=Borzi2002,t=article, a={{Borz\`i},{}},y=2002, n=2,s=BSH02] \artauthor[]{Alfio}[A.]{}{Borz\`i} \artauthor[]{Georg}[G.]{}{Stadler} \artauthor[]{Ulrich}[U.]{}{Hohenester} \pubyear{2002} \arttitle{Optimal quantum control in nanostructures: Theory and application to a generic three-level system} \journal{Phys. Rev. A} \volume{66} \stoppublication \startpublication[k=Bose2007,t=article, a={{Bose}},y=2007,o={http://dx.doi.org/10.1080/00107510701342313}, n=3,s=Bos07] \artauthor[]{Sougato}[S.]{}{Bose} \pubyear{2007} \arttitle{Quantum communication through spin chain dynamics: an introductory overview} \journal{Contemporary Physics} \volume{48} \issue{1} \pages{13} \doi{http://dx.doi.org/10.1080/00107510701342313} \stoppublication --------------040007020406020606020107 Content-Type: text/x-tex; name="min_bib_fn.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="min_bib_fn.tex" \setupinteraction[state=start] \usemodule[bib] \setuppublications[refcommand=authoryears] \let\NORMALcite\cite \newif\ifSEEN \def\cite#1[#2]{\SEENfalse \def\processitem##1{\ifSEEN, \else\SEENtrue \fi \NORMALcite[##1]}% (\processcommalist[#2]\processitem )} \unexpanded\def\dodescriptioncomponent {\doifelsedescriptioncomponent \nododescriptioncomponent\dododescriptioncomponent} \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 --------------040007020406020606020107 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 ___________________________________________________________________________________ --------------040007020406020606020107--