From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71354 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: bibmodule acquired problem Date: Tue, 27 Sep 2011 14:23:41 +0000 Message-ID: <43EA33F7-AAA4-4C68-9D1B-FBF5D20F4CC9@uva.nl> References: <116E73AB-3E37-4E22-964C-25C62D70EE1F@uva.nl> <182B9444-49D1-4CC9-84A5-377F4DDE40E1@xs4all.nl> <77B9ED10-CC61-4342-A953-18F8D991A197@uva.nl> <122417A7-6837-4A98-8063-228717082B13@uva.nl> <4E81A0BF.2070706@gmx.de> <4E81AA90.4000007@gmx.de> <4F4F1A67-566B-4C9A-A686-C81044757084@uva.nl> <05EC3C07-FABB-4D47-841C-0E49DF6A45C8@uva.nl> <4E81C816.7080701@elvenkind.com> <4E81CA7A.4070209@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317133440 6477 80.91.229.12 (27 Sep 2011 14:24:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2011 14:24:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 27 16:23:56 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 1R8YZg-0003kq-7J for gctc-ntg-context-518@m.gmane.org; Tue, 27 Sep 2011 16:23:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DEC47CAFDC; Tue, 27 Sep 2011 16:23:55 +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 xeZ08Fng-B8L; Tue, 27 Sep 2011 16:23:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B889CAFD6; Tue, 27 Sep 2011 16:23:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1AACCAFD6 for ; Tue, 27 Sep 2011 16:23:48 +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 MpJdTkDOsGJu for ; Tue, 27 Sep 2011 16:23:43 +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 B30E6CAFD4 for ; Tue, 27 Sep 2011 16:23:43 +0200 (CEST) Original-Received: from holleman.uva.nl (holleman.uva.nl [146.50.108.228]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8RENgMs025789 for ; Tue, 27 Sep 2011 16:23:43 +0200 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by holleman.uva.nl ([146.50.108.228]) with mapi id 14.01.0289.001; Tue, 27 Sep 2011 16:23:42 +0200 Thread-Topic: [NTG-context] bibmodule acquired problem Thread-Index: AQHMfOwjx315DKKFcESLeX53Uqr7KZVgvakAgAAJjgCAABhggIAAB3cAgAAEPQCAAAvOgIAAFdsAgAABiQCAAALaAIAAFWYA In-Reply-To: <4E81CA7A.4070209@gmx.de> 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: <9AC2EA9AF829F44C9473BDD0536E21D7@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: 06FBOnHol - 468c8152feac - 20110927 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:71354 Archived-At: This problem MIGHT BE SOLVED. I cross my fingers! I tried to analyze what happens. The following is seen when typesetting [ca= mpbell:92] with a crosslink to [crypto92]: > Parameter on bibgetvard\pbd:campbell:92 > ------ crossref crypto92 -------- CALLED FROM \bib@crossref#1 > Parameter on bibgetvart\pbd:campbell:92 > ------ authoretallimit -------- > ------ authoretaldisplay -------- > ------ firstnamesep -------- > ------ lastnamesep -------- > ------ firstnamesep -------- > ------ | | -------- NOTE THIS COMES FROM \bibinsertcrossref#1#2#= 3 >>> all 3 are empty > ------ left -------- > Parameter <> on bibgetvard\pbd: > ------ \writestatus {ERROR}{Parameter <> on bibgetvart\pbd:}\pbd: \plussi= x -------- > Parameter <> on bibgetvart\pbd: ! Missing \endcsname inserted. I can see that \bibinsertcrossref gets the proper reference because the def= ined variable is: @@pb@crossref=3Dcrypto92 Experimenting on \bibinsertcrossref (inside \unprotect-\protect): Redefine \def\bibinsertcrossref#1#2#3{\cite[crypto92]} CITE WORKS! But redefine: \def\bibinsertcrossref#1#2#3{\cite[\@@pb@crossref]} CITE GIVE= S AN ERROR The redefine: \def\bibinsertcrossref#1#2#3{\edef\tmp{\@@pb@crossref}\cite[\= tmp]} CITE WORKS Therefore I propose to change the definition of \bibinsertcrossref to: \def\bibinsertcrossref#1#2#3{\bibdoifelse\@@pb@crossref{\edef\tmp{\@@pb@cro= ssref}#1\cite[\tmp]#2}{#3}} Hans van der Meer On 27 sep. 2011, at 15:07, Stefan M=FCller wrote: > On 27.09.2011 14:56, Taco Hoekwater wrote: >> On 09/27/2011 02:51 PM, Meer, H. van der wrote: >>> My best guess now is the description of the >>> FUNCTION {format.crossref} >>> { "" "\crossref" crossref do.out >>> } >>> entry on the .bst file. Probably this generates the bad code leading >>> to a missing \endcsname. >> = >> I do not have time to pay close attention right now, but the .bst has >> not changed in years, as far as I know. >> = >> Best wishes, >> Taco > = > Maybe the problem is already present for so long. It occurs only if "tit= le" of an "inproceedings" that has "crossref" set is accessed. The bibl-*.= tex files don't do that. > = > Stefan > _________________________________________________________________________= __________ > 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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________