From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71305 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: bibmodule acquired problem Date: Sun, 25 Sep 2011 17:58:55 +0000 Message-ID: <116E73AB-3E37-4E22-964C-25C62D70EE1F@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316973561 17041 80.91.229.12 (25 Sep 2011 17:59:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Sep 2011 17:59:21 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 25 19:59:16 2011 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 1R7syv-0005RB-1k for gctc-ntg-context-518@m.gmane.org; Sun, 25 Sep 2011 19:59:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E48DACAFCA; Sun, 25 Sep 2011 19:59:10 +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 V+EZ3kaG0FA6; Sun, 25 Sep 2011 19:59:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6152DCAFC7; Sun, 25 Sep 2011 19:59:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2F6CCAFC7 for ; Sun, 25 Sep 2011 19:59:07 +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 apsR029pan2b for ; Sun, 25 Sep 2011 19:58:56 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id B5E29CAFC5 for ; Sun, 25 Sep 2011 19:58:56 +0200 (CEST) Original-Received: from jansen.uva.nl (jansen.uva.nl [146.50.108.229]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8PHwuvQ025536 for ; Sun, 25 Sep 2011 19:58:56 +0200 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by jansen.uva.nl ([146.50.108.229]) with mapi id 14.01.0289.001; Sun, 25 Sep 2011 19:58:56 +0200 Thread-Topic: bibmodule acquired problem Thread-Index: AQHMe6zKcLE4gJ59f0aBC18P9tNVGA== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.229; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06FB5WU9j - 9de4b8d97204 - 20110925 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:71305 Archived-At: I used the following macro for typsetting literature references in footnotes. It worked without problems until now, but then I didn't use the bib module for some time. It looks like a problem has crept in with the type. the macro setup: \usepublications [literature] \setuppublications [alternative=apa] \setuppublications [numbering=short,refcommand=data] \setuppublicationlist [% editor=\normalauthor,% author=\normalauthor,% artauthor=\normalauthor] \setuppublicationlist[firstnamesep={ },surnamesep={}] \def\bibentry#1{\bibentrypar \doifemptyelse{#1}{\def\bibentryspace{}}{\def\bibentryspace{\ }}% \cite[data][#1]\strut} \def\footnotecite{\dodoubleargument\dofootnotecite} \def\dofootnotecite[#1][#2]{% \def\bibentrypar{\def\bibentrypar{\par}}% \unskip\footnote{\processcommalist[#1]\bibentry \doifnotempty{#2}{\bibentryspace#2\strut\par}} } It fails for the following entry: \startpublication[k=campbell:92,t=inproceedings, a={{Campbell},{Wiener}},y=1992, n=54,s=CW92] \author[]{K.~W.}[K.~W.]{}{Campbell} \author[]{M.~J.}[M.~J.]{}{Wiener} \pubyear{1992} \arttitle{{DES is not a group}} \crossref{crypto92} \pages{512--517} \pubname{Springer-Verlag} \stoppublication But it works ok when is replaced by . The error message: \pbd: \bibgetvart #1->\csname pbd:#1\endcsname \plussix \bibalternative ... \??pv \@@currentalternative #1 \endcsname \dotypesetapublication ...ative {\bibgetvart {#1}} \removeunwantedspaces \egr... \next3 #1,->\dobibdata {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.34 \par Hans van der Meer ___________________________________________________________________________________ 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 ___________________________________________________________________________________