cboettig / knitcitations

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

citep as formated for JSS #90

Open derek-corcoran-barrios opened 8 years ago

derek-corcoran-barrios commented 8 years ago

Hello:

Your package is very, very usefull, currently I am trying to use it to send a mansucript to the Journal of Statistical Software. In their papers, the in-line citations (citep or citet) have a link to the bibliography. I can't find a way to do that using knitcitations. Is that at all possible?

cboettig commented 8 years ago

The best way to have knitcitations formatted for any journal is to use it in pandoc mode (which is the default) and just supply the appropriate CSL stylesheet for the journal. (see http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html#citation_styles for documentation on this). I don't see a JSS CSL file in official repo of styles though: https://github.com/citation-style-language/styles , but maybe I missed it.

If you're feeling adventurous, you could always modify any one of the CSL files from that collection to conform to whatever the JSS standard is and submit a PR to them; the world would be indebted to you.

HTH,

krlmlr commented 8 years ago

FWIW, I used natbib mode in a recent exercise.