From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57330 Path: news.gmane.org!not-for-mail From: Mikael Persson Newsgroups: gmane.comp.tex.context Subject: Re: Problem in sorting bibtex entries Date: Mon, 22 Mar 2010 10:56:45 +0100 Message-ID: References: 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 1269251838 23799 80.91.229.12 (22 Mar 2010 09:57:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2010 09:57:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 22 10:57:14 2010 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 1NteNl-0006mM-7Y for gctc-ntg-context-518@m.gmane.org; Mon, 22 Mar 2010 10:57:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 007B9C9DE5; Mon, 22 Mar 2010 10:57: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 ImnSFt6nCssl; Mon, 22 Mar 2010 10:57:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C4B9C9DD7; Mon, 22 Mar 2010 10:56:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3FB1CC9DCD for ; Mon, 22 Mar 2010 10:56:59 +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 AkjSPmpRsTbV for ; Mon, 22 Mar 2010 10:56:53 +0100 (CET) Original-Received: from mail-bw0-f221.google.com (mail-bw0-f221.google.com [209.85.218.221]) by balder.ntg.nl (Postfix) with ESMTP id 3CE64C9DDB for ; Mon, 22 Mar 2010 10:56:46 +0100 (CET) Original-Received: by bwz21 with SMTP id 21so5127663bwz.15 for ; Mon, 22 Mar 2010 02:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=3TJF30u38sVNekxBvrp68UpAiv/dilOStJa1+vJ1l1E=; b=W4qJbF2oguSyg9/0pbbm4/XlP4VJs21I0wPnr/8UIT+AFBYsO9vmlFYGdvzHBVgCNj BsT/ZQUtFyqMxvbC9M2GHUA3656nybeArvY45vZVepIhBlfLsE0jT2A/os/QFlfRPUZq xtvQJ1aLooe94Vz5pak9mWQoxMDWwFo3pPFcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=d8g/FCp48A65lNtSdItRDl01TFOM8c/TYXde6YYzUztTs3lg7wo4zsTabEDf7oE1uK w9RzmEXnRhjYISt1OW+KgYiu4W94gwMe4dVigFA73WYpUvnErEPWsgCopgONaNOHltRU LX5Q/MTBElIU/UUnjxNJpxDwPROE/cN6uylb0= Original-Received: by 10.204.156.217 with SMTP id y25mr4257053bkw.2.1269251805808; Mon, 22 Mar 2010 02:56:45 -0700 (PDT) In-Reply-To: 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:57330 Archived-At: On Thu, Mar 18, 2010 at 12:28 PM, Mikael Persson wrote: > Dear Taco and list, > > I have a problem (with the latest minimals) sorting bibtex entries: > > Consider the following example: > > % bibbug.tex > \usemodule[bib] > > \setuppublications[ > =A0 =A0 =A0 =A0sorttype=3Dbbl, > ] > > \setupbibtex[ > =A0 =A0 =A0 =A0database=3Dmp, > ] > > \starttext > See~\cite{resi3,resi4} and also~\cite{resi2,resi1}. > > \placepublications[criterium=3Dall] > \stoptext > % end of bibbug.tex > > I get an eror: > ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: > attempt to compare two nil values > stack traceback: > =A0 =A0 =A0 =A0...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83= : in > function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80> > =A0 =A0 =A0 =A0[C]: in function 'sort' > =A0 =A0 =A0 =A0...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93= : in function 'flush' > =A0 =A0 =A0 =A0
:1: in main chunk. > \typesetpubslist ...hacks.flush("\@@pbsorttype ")} > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0\doendoflist > \dodoplacepublications ...sttrue \typesetpubslist > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0\inpublistfalse \endgroup ... > l.14 \placepublications[criterium=3Dall] > > If I uncomment the sorttype=3Dbbl line, it compiles. > > Attached is the tex file, the log file, and my bib file. > > Best regards, Mikael > Nobody has an idea about this sorting problem? Hans? Best regards, Mikael ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________