ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Persson <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem in sorting bibtex entries
Date: Mon, 22 Mar 2010 10:56:45 +0100	[thread overview]
Message-ID: <d5fddde01003220256h6a521ed6mde01d3b19a26b5aa@mail.gmail.com> (raw)
In-Reply-To: <d5fddde01003180428s2e1ad191y1ec9663a3ecefaec@mail.gmail.com>

On Thu, Mar 18, 2010 at 12:28 PM, Mikael Persson <mickep@gmail.com> 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[
>        sorttype=bbl,
> ]
>
> \setupbibtex[
>        database=mp,
> ]
>
> \starttext
> See~\cite{resi3,resi4} and also~\cite{resi2,resi1}.
>
> \placepublications[criterium=all]
> \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:
>        ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:83: in
> function <...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:80>
>        [C]: in function 'sort'
>        ...TeXt/tex/texmf-context/tex/context/base/bibl-tra.lua:93: in function 'flush'
>        <main ctx instance>:1: in main chunk.
> \typesetpubslist ...hacks.flush("\@@pbsorttype ")}
>                                                  \doendoflist
> \dodoplacepublications ...sttrue \typesetpubslist
>                                                  \inpublistfalse \endgroup ...
> l.14 \placepublications[criterium=all]
>
> If I uncomment the sorttype=bbl 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 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
___________________________________________________________________________________


  parent reply	other threads:[~2010-03-22  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-18 11:28 Mikael Persson
2010-03-18 12:48 ` Taco Hoekwater
2010-03-18 12:51   ` Mikael Persson
2010-03-22  9:56 ` Mikael Persson [this message]
2010-03-22 10:28   ` Jean Magnan de Bornier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d5fddde01003220256h6a521ed6mde01d3b19a26b5aa@mail.gmail.com \
    --to=mickep@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).