From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46579 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Newcomer bibliography question Date: Wed, 31 Dec 2008 13:06:58 +0100 Message-ID: <495B6062.9050805@elvenkind.com> References: <200812311253.10396.cdome@bk.ru> 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 1230725422 4946 80.91.229.12 (31 Dec 2008 12:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 12:10:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 31 13:11:29 2008 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 1LHzv6-00069t-Ok for gctc-ntg-context-518@m.gmane.org; Wed, 31 Dec 2008 13:11:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB92E1FD76; Wed, 31 Dec 2008 13:10:12 +0100 (CET) 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 16612-02-6; Wed, 31 Dec 2008 13:08:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B785E1FC0B; Wed, 31 Dec 2008 13:08:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53F801FC03 for ; Wed, 31 Dec 2008 13:08:44 +0100 (CET) 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 16612-02-5 for ; Wed, 31 Dec 2008 13:07:35 +0100 (CET) Original-Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by ronja.ntg.nl (Postfix) with ESMTP id 3E6EC1FC0B for ; Wed, 31 Dec 2008 13:06:59 +0100 (CET) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id mBVC6wp6009585 for ; Wed, 31 Dec 2008 13:06:59 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.18 (X11/20081120) In-Reply-To: <200812311253.10396.cdome@bk.ru> X-Virus-Scanned: by XS4ALL Virus Scanner 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:46579 Archived-At: Andrey Riabushenko wrote: > Happy New Year, > > I am trying to create style skeleton for my reports in ConTeXt. Aw test case I > decided to add my bibliography from previous articles written in LaTeX. I > have tried this bibliography with plain bibtex, natbib, biblatex with no > problems. With ConTeXt bib module I get bunch of errors. > I am using latest ConTeXt minimals on FreeBSD. > I am adding the bibliography like this: > \usemodule[bib] > > \setuppublications[alternative=apa, refcommand=authoryears, numbering=yes, > criterium=all] > > \setupbibtex[database=report, sort=author] > > \completepublications[criterium=all] > > I can't figure out on my own what is wrong with my bibliography (attached). It is bug in the module triggered by the lack of issue information in some of the article entries. To fix it, best put this in your preamble for now: \setuppublicationlayout[article]{% \insertartauthors{}{ }{\insertthekey{}{ }{}}% \insertpubyear{(}{). }{\unskip.}% \insertarttitle{\bgroup }{\egroup. }{}% \insertjournal{\bgroup \it}{\egroup} {\insertcrossref{In }{}{}}% \insertvolume {\bgroup \it, } {\egroup\insertissue{\/(}{)}{}\insertpages{, }{.}{.}} {\insertpages{, pp. }{.}{.}}% \insertnote{ }{.}{}% \insertcomment{}{.}{}% } I will fix this in the next release. > P.S. By the way. Is it possible to supply multiple sorting criteria? Possible > like this, > \setupbibtex[database=report, sort={author,year,title}] > ^^^^^^^^^^^^ No, that is not possible. I have a lua-based bibliography converter planned and once that is in place, this will be possible. Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________