From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77772 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: inproceedings failes me Date: Sun, 5 Aug 2012 20:46:42 +0000 Message-ID: References: <4D72946F-32BC-4E2A-9D2A-8B11F01B9A1F@uva.nl> <9151A4D5-1260-47EA-89E2-7DE5B0632347@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344199614 23620 80.91.229.3 (5 Aug 2012 20:46:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2012 20:46:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 05 22:46:53 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sy7iv-0005b0-6T for gctc-ntg-context-518@m.gmane.org; Sun, 05 Aug 2012 22:46:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1D3110249; Sun, 5 Aug 2012 22:46: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 6VNLqgxziQvb; Sun, 5 Aug 2012 22:46:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 093B510246; Sun, 5 Aug 2012 22:46:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 511E410246 for ; Sun, 5 Aug 2012 22:46:47 +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 D-oXm6vCOfdA for ; Sun, 5 Aug 2012 22:46:45 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id CE74F10203 for ; Sun, 5 Aug 2012 22:46:44 +0200 (CEST) Original-Received: from holleman.uva.nl (holleman.uva.nl [146.50.108.228]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q75KkhDo031819 for ; Sun, 5 Aug 2012 22:46:43 +0200 Original-Received: from vanthoff.uva.nl (146.50.108.242) by holleman.uva.nl (146.50.108.228) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sun, 5 Aug 2012 22:46:43 +0200 Original-Received: from MBX04.uva.nl ([fe80::91d4:48a6:951c:ee1b]) by vanthoff.uva.nl ([::1]) with mapi id 14.01.0355.002; Sun, 5 Aug 2012 22:46:42 +0200 Thread-Topic: [NTG-context] inproceedings failes me Thread-Index: AQHNczkaVCJYY+r3NUuZsrm9dXzmEJdLbc6AgAAhDgA= In-Reply-To: <9151A4D5-1260-47EA-89E2-7DE5B0632347@uva.nl> 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: <8F2C0CBE0D49B8499104AC29040E8880@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.228; 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: 07HH8KHdm - 16bb35ceecca - 20120805 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77772 Archived-At: This error rang a bell after sifting (slowly) down into my subconscience, it seemed. But back in september last year I remembered having the same sort of problem. After much detective work I then found the culprit being \bibinsertcrossref. The solution proved to be the following redefinition: \unprotect \def\bibinsertcrossref#1#2#3{\bibdoifelse\@@pb@crossref{\edef\tmp{\@@pb@crossref}#1\cite[\tmp]#2}{#3}} \protect Doing this, the error dispappears. I think I reported it at the time, but that message might have been passed unnoticed. I therefore post this again. Will this be included in the next beta? Or perhaps something better than my (possibly clumsy) stopgap? Hans van der Meer On 5 aug. 2012, at 20:48, Meer, H. van der wrote: > Maybe it helps if add my def's. Just forgot them in my previous post, sorry. > > % Usage: \footnotecite[citation,citation,.. ][optional text] > % \footnotecite[citation,citation,..,][optional text on new line] > % \footnotecite[citation,,citation,..][optional text] white within > \def\bibentry#1{\noexpand\bibentrypar\cite[data][#1]\strut} > \def\footnotecite{\dodoubleargument\dofootnotecite} > \def\dofootnotecite[#1][#2]{% > \def\bibentrypar{\def\bibentrypar{\par}}% > \unskip\footnote{\processcommalist[#1]\bibentry > \doifnotempty{#2}{\space#2\strut\par}}} > > It might be the \processcommalist that now makes this code fail, but I cannot see why. > > Hans van der Meer > > > > On 5 aug. 2012, at 20:35, Meer, H. van der wrote: > >> Bibtex's inproceedings gives me an error. >> >> entries: >> >> @inproceedings{elgamal:84, >> Author = {T. ElGamal}, >> Crossref = {crypto84}, >> Pages = {10--18}, >> Title = {{A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms}}} >> @proceedings{crypto84, >> Booktitle = {{Proceedings of Crypto '84}}, >> Editor = {G. R. Blakley and D. Chaum}, >> Publisher = pub-springer, >> Series = j-lncs, >> Title = {{Advances in Cryptology}}, >> Volume = {196}, >> Year = {1985}} >> These worked in the past and should be ok. >> >> The error is: >> >> \pbd: >> \bibgetvart #1->\csname pbd:#1\endcsname >> \plussix >> \bibalternative ... \??pv \@@currentalternative #1 >> \endcsname >> \dotypesetapublication ...ative {\bibgetvart {#1}} >> \removeunwantedspaces \egr... >> \9>>3 #1,->\dobibdata {#1} >> \syst_helpers_do_process_comma_item >> \syst_helpers_do_process_comma_list ...rgument #1, >> ]\relax \global \advance \... >> ... >> l.5 ...elijke klaartekst\footnotecite[elgamal:84]. >> >> Version of ConTeXt: >> ConTeXt ver: 2012.07.20 00:58 MKIV fmt: 2012.7.22 int: english/english >> >> Version of bibtex according to the log >> This is BibTeX, Version 0.99d (TeX Live 2012) >> >> \footnotecite puts an bibentry in a footnote, other citations pose no problem, just inproceedings. >> >> 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 >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________