[NTG-context] Reset bibliography numbering

Martin HasoĊˆ martin.hason at gmail.com
Wed Oct 24 15:08:26 CEST 2018


Hi all,

I want to use a custom bibliography for every section in document. It is
possible to starting the numbering from 1 for each section?


\setupbtxrendering[default][
    repeat=yes,
    continue=yes,
    method=local,
    numbering=yes,
    criterium=section,
]

\usebtxdataset[default][bib.buffer]
\starttext
\startsection[title=Section 1]
    \cite[a]
    \placelistofpublications
\stopsection

\startsection[title=Section 2]
  \cite[b] \cite[a] \cite[c]
  \placelistofpublications
\stopsection
\stoptext


Actual output:

Section 1
[1]

1  bib a


Section 2
[2] [1] [3]

2 bib b

1 bib a

3 bib c


Expected output:

Section 1
[1]

1  bib a


Section 2
[1] [2] [3]

1 bib b

2 bib a

3 bib c

Many thanks for your help

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20181024/c5738995/attachment.html>


More information about the ntg-context mailing list