ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Romain Diss <romain.diss@yahoo.fr>
To: mailing list for ConTeXt users <NTG-context@ntg.nl>
Subject: Bibliography : wrong order of references when rendered by chapter
Date: Mon, 18 Mar 2019 14:14:27 +0100	[thread overview]
Message-ID: <20190318131427.GA27546@nereid.neptune> (raw)

Hi,

I try to use multiple renderings to place a bibliography list at the end
of each chapters. I use the option 'criterium=chapter' to place the
bibliography and i also use the options 'repeat=yes,method=local'
because I want each chapter to have its own bibliography with an
independant numbering (starting from 1 for each chapter).

However, it doesn't wwork as expected. When a reference that exists in a
previous chapter appears again in another one, the ordering is broken (I tried
th option 'continue=no' but I don't know what it does).

I don't know if it's very clear so here's a minimal 'non' working example (in
the second chapter, ward reference should be numbered 1 and knuth should be 2,
following the order of appearence in the bibliography list):

% mnwe.tex
\usebtxdataset[biblio.bib]
\setupbtxrendering
    [repeat=yes,
    continue=no,
    method=local]

\startdocument
    \startchapter[title=First chapter]
        \input knuth \cite[knuth]\blank
        \placelistofpublications[criterium=chapter]
    \stopchapter

    \startchapter[title=Second chapter]
        \input ward \cite[ward,knuth]\blank
        \placelistofpublications[criterium=chapter]
    \stopchapter
\stopdocument
% end


% biblio.bib
@book{knuth,                                                                                                                         
    title = "Title",
    author = "Knuth",
    publisher = "Publisher",
    year = "2019",
}
@book{ward,
    title = "Title",
    author = "Ward", 
    publisher = "Publisher",
    year = "2019",
}
% end

Thank you for your help.

Best.

-- 
Romain Diss
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2019-03-18 13:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20190318131427.GA27546@nereid.neptune \
    --to=romain.diss@yahoo.fr \
    --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).