ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: I want cited bib items only in my bibliography
Date: Thu, 5 Apr 2012 10:24:40 +0200	[thread overview]
Message-ID: <CAHy-LL9jp=GjpnRexp6WnLNwRYhyGvFOE+82ozAX9kDWSG3djA@mail.gmail.com> (raw)

Dear list,

What is the right way today to get only the cited items in the
bibliography? I have some problems doing this. With the test file

% Start mps.tex
\usemodule[bib]
\setupbibtex[database=referenser]

\starttext
Foo~\cite[anno].

\subject{References}
\placepublications[] % I've read somewhere that this should work
%\placepublications[criterium=all]
\stoptext
% Stop mps.tex

I get an [[error 2]] in the pdf file where the citation is supposed to
be. Also, the References list is empty.

If I change \placepublications[] to \placepublications[criterium=all]
I get all entries in my bib file, even the ones that are not cited.

My referenser.bib is given below:

% Start referenser.bib
@book {anno,
    AUTHOR = {Anno},
     TITLE = {No},
    SERIES = {National Bureau of International Bureau's},
    VOLUME = {1},
      YEAR = {2012},
     PAGES = {10},
}

@article {bent,
    AUTHOR = {Bent},
     TITLE = {Yes},
   JOURNAL = {Letters of Letters},
    VOLUME = {369},
      YEAR = {2013},
    NUMBER = {1},
     PAGES = {39--69},
}
% Stop referenser.bib

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
___________________________________________________________________________________


             reply	other threads:[~2012-04-05  8:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-05  8:24 Mikael P. Sundqvist [this message]
2012-04-05 10:27 ` Pontus Lurcock
2012-04-05 10:33   ` Mikael P. Sundqvist

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='CAHy-LL9jp=GjpnRexp6WnLNwRYhyGvFOE+82ozAX9kDWSG3djA@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).