ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Newcomer bibliography question
Date: Wed, 31 Dec 2008 13:06:58 +0100	[thread overview]
Message-ID: <495B6062.9050805@elvenkind.com> (raw)
In-Reply-To: <200812311253.10396.cdome@bk.ru>

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
___________________________________________________________________________________


      reply	other threads:[~2008-12-31 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-31 10:53 Andrey Riabushenko
2008-12-31 12:06 ` Taco Hoekwater [this message]

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=495B6062.9050805@elvenkind.com \
    --to=taco@elvenkind.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).