cboettig / knitcitations

:package: Generate citations for knitr markdown and html files
http://carlboettiger.info
Other
219 stars 28 forks source link

Citations using bibfile should be able to take just the key name #3

Closed cboettig closed 11 years ago

cboettig commented 12 years ago

Should be able to do:

use_bibtex("example.bib")
citep(c("Halpern2006", "knitr"))

Where those strings are keys in the bibtex example.

cboettig commented 12 years ago

This works for both DOIs and bibtex entries after they have been cited already. Could be initialized with

bib <- read.bibtex("example.bib")
citep(bib)

and then the key-based citations will work.

cboettig commented 11 years ago

This works, only that all citations in the bibtex file would then be returned by bibliography() even if not cited elsewhere.