Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 961 Bytes

readme.md

File metadata and controls

30 lines (19 loc) · 961 Bytes

bibcon

The purpose of bibcon (BibTeX condenser) is to extract all references cited in Quarto / RMarkdown documents from a main BibTeX library to a "condensed" BibTeX file.

This is a fast (and functioning) reimplementation of condensebib by Andreas Beger.

Please pay attention that this software is called bibcon, not Bitcoin.

install

Please note that this software is still super experimental

## install cargo from here: https://doc.rust-lang.org/cargo/getting-started/installation.html
cargo install --git https://github.com/gesistsa/bibcon 

usage

weat.qmd contains 5 unique citations, whereas weat.bib contains 6 entries. The following generates BibTeX of only 5 entries.

bibcon tests/weat.qmd -b tests/weat.bib

r1.rmd and r2.rmd contain 4 unique citations, whereas main.bib contains 12 entries.

bibcon -b tests/main.bib tests/r1.rmd tests/r2.rmd