I am writing my CV using markdown and want to have multiple bibliography sections (one for journal articles, another for book chapters etc). I'm using the RefManagerR
package to do this and it works nicely.
library("RefManageR")
BIB <- structure(list(structure(list(title = "Quantitative palaeotemperature records inferred from fossil pollen and chironomid assemblages from Lake Gilltjarnen, northern central Sweden", author = structure(list(structure(list(given = "K", family = "Antonsson", role = NULL, email = NULL, comment = NULL), .Names = c("given", "family", "role", "email", "comment")), structure(list(given = "SJ", family = "Brooks", role = NULL, email = NULL, comment = NULL), .Names = c("given", "family", "role", "email", "comment")), structure(list(given = "H", family = "Seppa", role = NULL, email = NULL, comment = NULL), .Names = c("given", "family", "role", "email", "comment"))), class = "person"), journal = "Journal of Quaternary Science", year = "2006", number = "8", pages = "831-841", volume = "21"), .Names = c("title", "author", "journal", "year", "number", "pages", "volume"), bibtype = "Article", key = "RID:0428130725771-5", dateobj = structure(1136070000, class = c("POSIXct", "POSIXt"), tzone = "", day.mon = 0L))), strings = structure(character(0), .Names = character(0)), class = c("BibEntry", "bibentry"))
NoCite(BIB)
PrintBibliography(BIB, .opts = list(style = "latex", bib.style = "authoryear",
sorting = "ydnt"))
Which is rendered in the pdf as
Antonsson, K, S. Brooks and H. Seppa (2006). “Quantitative palaeotemperature records inferred from fossil pollen and chironomid assemblages from Lake Gilltjarnen, northern central Sweden”. In: Journal of Quaternary Science 21.8, pp. 831-841.
I want to change the style of the reference. Basically, I want to remove the quote marks and the In:
, and put initials after the name. I understand that the style is set using tools::bibstyle
and that I need to make a routine called formatArticle
but the example for tools::bibstyle
only shows how to change the sort order and I cannot work out how to see the default JSS style.
Please can someone show me how to use bibstyle
.
Alternatively, please can someone show me how to make multiple bibliography sections in a single document using the bibliography generator built into rmarkdown, so I can use a csl file.
pdf
? If not, you can uselatex
directly to achieve what you want, though you'll need to Tame the BeaST and from personal experience, it isn't much fun. – Kevin Arseneau