ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bib: ignoring 'criterium=cite'
Date: Mon, 29 Nov 2010 18:35:03 +0100	[thread overview]
Message-ID: <AANLkTi=Qy9AF8RouDjPPS06mY1jN2e3caxAXkV2Ugy5k@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=DB1te6Vfr64NwmKAxA-o=of_cTEPo_sE9D95P@mail.gmail.com>

Dear Hans,

Here's a minimal example that I have promissed, showing the
misbehaviour of bib module in MKIV. I have realized later that there's
another thread running (under the name "Bibliography contains
references not cited in the text") with basically the same bug report.
The behaviour in MKII perfectly fine.

\usemodule
	[bib]
\setuppublications
	[alternative=num,
	 criterium=cite,
	 sorttype=cite]

\setuppublicationlayout[web]{%
	{\sc url}: \inserturl{}{}{}%
}

\startpublication[k=a,t=web]
\biburl{http://pragma-ade.com}
\stoppublication
\startpublication[k=b,t=web]
\biburl{http://contextgarden.net}
\stoppublication
\startpublication[k=c,t=web]
\biburl{http://ntg.nl}
\stoppublication

\starttext

(ntg should be 1, but invisible: \nocite[c])
(pragma should be 2: \cite[a])

% this is OK (try to [un]comment)
\placepublications

\section{Section}

% this is completely wrong; but I cannot avoid criterium=all,
% else nothing is written at all
\placepublications[criterium=all]

\stoptext


Mojca


On Sat, Nov 27, 2010 at 00:39, Mojca Miklavec wrote:
> Dear Taco/Hans,
>
> In MKIV the argument criterium=cite is ignored: I get the complete
> list of publications even though some of them are never cited
> anywhere. In MKII the list shows up just fine.
>
> On top of that the space between number [n] and bibliography item is
> simply too small when 10 or more bibliography items are used (in MKII
> it is fine). On the other hand MKII doesn't have enough blank space
> between title and the start of bibliography listing (I remember that
> bug since 2006 at least), while it is OK in MKIV.
>
> I use:
>
> \setuppublications
>        [alternative=num,
>         criterium=cite,
>         sorttype=cite]
>
> But I will send a complete minimal example, hopefully tomorrow.
>
> Mojca
___________________________________________________________________________________
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-11-29 17:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 23:39 Mojca Miklavec
2010-11-26 23:46 ` Mojca Miklavec
2010-11-29 17:35 ` Mojca Miklavec [this message]
2010-11-29 17:40   ` Mojca Miklavec

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='AANLkTi=Qy9AF8RouDjPPS06mY1jN2e3caxAXkV2Ugy5k@mail.gmail.com' \
    --to=mojca.miklavec.lists@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).