From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49541 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Bib module in mkiv Date: Fri, 17 Apr 2009 19:52:13 +0200 Message-ID: <49E8C1CD.2020808@elvenkind.com> References: <49E835F3.5060906@elvenkind.com> <49E8BE6A.7000304@wxs.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239990971 3451 80.91.229.12 (17 Apr 2009 17:56:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2009 17:56:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 17 19:57:30 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LusGn-0006Tj-5a for gctc-ntg-context-518@m.gmane.org; Fri, 17 Apr 2009 19:54:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF4561FC51; Fri, 17 Apr 2009 19:53:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17596-03-6; Fri, 17 Apr 2009 19:52:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB3091FBBA; Fri, 17 Apr 2009 19:52:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24B351FBBA for ; Fri, 17 Apr 2009 19:52:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25147-02-3 for ; Fri, 17 Apr 2009 19:52:15 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id B66851FB8C for ; Fri, 17 Apr 2009 19:52:15 +0200 (CEST) Original-Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3HHqEgE012165 for ; Fri, 17 Apr 2009 19:52:15 +0200 Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id n3HHqE7o093524 for ; Fri, 17 Apr 2009 19:52:14 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.19 (X11/20090114) In-Reply-To: <49E8BE6A.7000304@wxs.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=194.109.24.33; 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: 210346870 - eec42999a427 - 20090417 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49541 Archived-At: Hans Hagen wrote: >> just to clarify things: on the download site in the garden, you write: >> "This release has support for the new mkiv structure code, but it >> needs a very new beta (2009.04.16 23:52)" The latest beta I could find >> was 2009.04.16 22:27, and with this, I still get the error >> >> ! Undefined control sequence. >> ... [\bibrefprefix ][\sectionseparator > > as i'm clueless about what the code does, can you add this to t-bib.mkiv There is actually a pretty elaborate documentation string in the code :( > \def\preparebibreflist#1% > {\let\bibreflist\empty} > > and see if it solves the problem? Unlikely. It will remove the error message, though. ;) Here is the relevant bit of docs: %D \macros{preparebibrefprefix} %D %D The reference list only writes bare references when the criterium %D is `all'. Otherwise, a prefix is added to make sure that pdfTeX %D does not encounter duplicate named references. On the generation %D side, this is not a big problem. \type{\preparebibrefprefix} %D creates a suitable string to prepend if a prefix is needed. Or, in pseudo-input: \chapter{...} \section{...} \placepublications[section] \section{..} \placepublications[section] \section{All chapter refs} \placepublications[chapter] Can now work without crossreference key clashes, even though each of the publication lists contains the same items (which would all result in the same key names begin defined as cross- reference labels if that prefix trickery was not in place) But: %D \macros{preparebibreflist} %D %D But this optional prefixing is a bit of a problem on the %D other side. We would like to do \type{\goto{}[article-full]} %D but can't do it like that, because the actual label may be %D \type{1:2:0:3:4:article-full]} or so. The problem is solved %D by building a commalist that looks like this: %D \starttyping %D \def\bibreflist% %D {1:2:0:3:4:article-full, %D 1:2:0:3:article-full, %D 1:2:0:article-full, %D 1:2:article-full, %D 1:article-full, %D article-full} %D \stoptyping ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________