From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73305 Path: news.gmane.org!not-for-mail From: Pontus Lurcock Newsgroups: gmane.comp.tex.context Subject: Re: Citation "Error 2" using BibTeX db Date: Tue, 20 Dec 2011 16:51:52 +1300 Message-ID: <20111220035152.GZ23782@rae.vm.bytemark.co.uk> References: 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 1324353145 16928 80.91.229.12 (20 Dec 2011 03:52:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2011 03:52:25 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 20 04:52:19 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 1RcqkR-0000nD-Js for gctc-ntg-context-518@m.gmane.org; Tue, 20 Dec 2011 04:52:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1F7ACB186; Tue, 20 Dec 2011 04:52:14 +0100 (CET) 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 6gHuGbGUsK-g; Tue, 20 Dec 2011 04:52:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC19CCB183; Tue, 20 Dec 2011 04:52:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 037C1CB183 for ; Tue, 20 Dec 2011 04:52:10 +0100 (CET) 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 bllS7lXgLdNU for ; Tue, 20 Dec 2011 04:51:53 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 3F965CB170 for ; Tue, 20 Dec 2011 04:51:53 +0100 (CET) Original-Received: from rae.vm.bytemark.co.uk (rae.talvi.net [89.16.174.99]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBK3pqO9001897 for ; Tue, 20 Dec 2011 04:51:52 +0100 Original-Received: from pont by rae.vm.bytemark.co.uk with local (Exim 4.69) (envelope-from ) id 1Rcqk4-0000jQ-0j for ntg-context@ntg.nl; Tue, 20 Dec 2011 03:51:52 +0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.16.174.99; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rGbfPQle - 283747a5f6c0 - 20111220 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73305 Archived-At: On Sun 18 Dec 2011, Chris Lott wrote: > I was testing citation capability with a BibTeX db based on the > Context Garden bibliography page: > http://wiki.contextgarden.net/Bibliography > > The example code using the xampl.bib from my distribution didn't work > at all. So I've tried to make a very small example, which results in > an in-text citation that says [[error 2]] and no citations listed in > the References section: > > CONTEXT --VERSION > mtx-context | main context file: > /Users/chrislott/context/tex/texmf-context/tex/context/base/context.mkiv > mtx-context | current version: 2011.12.18 15:57 > > CTXBIBTEST.TEX (I've tried with and without the bibltx module, which > isn't found on my system) > \usemodule[bib] > \usemodule[bibltx] > \setupbibtex[database=bibtest] > \starttext > "Oh No," he said \cite[lott]. > \completepublications > \stoptext > > BIBTEST.BIB > @book{lott, > author = "Chris Lott", > title = "FUBARed", > publisher = "NonExistent Press", > year = "2011", > address = "Timbuktu" > } Looks as though it might be a bug in \completepublications, since I get correct output by changing your tex file to: \setupbibtex[database=bibtest] \starttext "Oh No," he said \cite[lott]. \chapter{Publications} \placepublications[criterium=text] \stoptext (MkIV, ConTeXt suite 2011.10.01 10:48 on Ubuntu 32-bit) If you're using MkIV, neither of the \usemodules should be necessary. Hope this helps, Pont ___________________________________________________________________________________ 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 ___________________________________________________________________________________