From: Benjamin Buchmuller <benjamin.buchmuller@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Extract bib entries used in a document
Date: Thu, 15 Jul 2021 21:53:19 +0200 [thread overview]
Message-ID: <ACC7C86E-9F95-4402-B6EB-3C25A91EF5B8@gmail.com> (raw)
In-Reply-To: <mailman.723.1626371942.1143.ntg-context@ntg.nl>
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
___________________________________________________________________________________
next parent reply other threads:[~2021-07-15 19:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.723.1626371942.1143.ntg-context@ntg.nl>
2021-07-15 19:53 ` Benjamin Buchmuller [this message]
2021-07-15 20:23 ` Alan Braslau
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=ACC7C86E-9F95-4402-B6EB-3C25A91EF5B8@gmail.com \
--to=benjamin.buchmuller@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).