* Extract bib entries used in a document
[not found] <mailman.723.1626371942.1143.ntg-context@ntg.nl>
@ 2021-07-15 19:53 ` Benjamin Buchmuller
2021-07-15 20:23 ` Alan Braslau
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Buchmuller @ 2021-07-15 19:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
I was wondering if there is a way to get the internal bibliography manager to write out a .bib (or XML or Lua table) containing only the entries used in a document?
Somewhat similar to BibTeX (https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file).
I guess it must be internally created, but I don't see, at least from the manual, a command like \exportbtxdataset[default][way=bytext][used_references.bib].
Two use cases:
(1) Sharing a clean bib file with someone.
(2) Merging bib files from different sources based on the document. (Or even by chapter.)
Thanks for your reply.
Benjamin
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Extract bib entries used in a document
2021-07-15 19:53 ` Extract bib entries used in a document Benjamin Buchmuller
@ 2021-07-15 20:23 ` Alan Braslau
0 siblings, 0 replies; 2+ messages in thread
From: Alan Braslau @ 2021-07-15 20:23 UTC (permalink / raw)
To: mailing list for ConTeXt users, Benjamin Buchmuller
On 15/07/21 21:53, Benjamin Buchmuller wrote:
> I was wondering if there is a way to get the internal bibliography manager to write out a .bib (or XML or Lua table) containing only the entries used in a document?
>
> Somewhat similar to BibTeX (https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-of-a-bigger-bib-file).
>
> I guess it must be internally created, but I don't see, at least from the manual, a command like \exportbtxdataset[default][way=bytext][used_references.bib].
>
> Two use cases:
>
> (1) Sharing a clean bib file with someone.
>
> (2) Merging bib files from different sources based on the document. (Or even by chapter.)
>
> Thanks for your reply.
>
>
> Benjamin
\savebtxdataset [my.bib] [criterium=chapter]
for example.
--
Alan
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-15 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.723.1626371942.1143.ntg-context@ntg.nl>
2021-07-15 19:53 ` Extract bib entries used in a document Benjamin Buchmuller
2021-07-15 20:23 ` Alan Braslau
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).