We have a very big master BibTeX file which contains all the
bibliographic items every body in this group are using. For a
conference paper, it is a good idea to embed the ".bbl" file
replacing "\bibliography{master_references}" in the LaTeX file
at the final stage, in order to avoid the dependence to the
big master BibTeX file. However, sometimes we need to extract
those BibTeX entries which are referenced in a LaTeX file.
pybcompact, which is a part of
Pybliographer,
exactly does this job. For example
$ pybcompact vtc00f.tex master_references.bib > vtc00f.bib
generate "vtc00f.bib" file extracting all the referenced BibTeX
entries in "vtc00f.tex" from "master_references.bib" file.