| print.BibEntry {RefManageR} | R Documentation |
Print BibLaTeX bibliography Entries
Description
Prints bibliographic information stored in BibEntry objects in BibLaTeX style
Usage
## S3 method for class 'BibEntry'
print(x, .opts = list(), ...)
Arguments
x |
a BibEntry object |
.opts |
a list of formatting options from
|
... |
extra parameters to pass to the renderer. |
Note
setting max.names to value is equivalent to setting maxnames=value and
minnames=value in BibLaTeX.
Custom BibLaTeX styles may be defined using the function bibstyle. To fully
support BibLaTeX, the created
environment must have functions for formatting each of the entry types described in
BibEntry.
References
Lehman, Philipp and Kime, Philip and Boruvka, Audrey and Wright, J. (2013). The biblatex Package. http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/biblatex/doc/biblatex.pdf.
See Also
BibEntry, ReadBib, sort.BibEntry
Examples
if (requireNamespace("bibtex")) {
file.name <- system.file("Bib", "biblatexExamples.bib", package="RefManageR")
bib <- suppressMessages(ReadBib(file.name))
print(bib[author="aristotle"], .opts = list(bib.style = "numeric"))
print(bib[55:57], .opts = list(bib.style = "authortitle", first.inits = FALSE))
print(bib[80:88], .opts = list(bib.style = "alphabetic", max.names = 1,
no.print.fields = "issn"))
print(bib[32:36], .opts = list(bib.style = "draft"))
oldopts <- BibOptions(bib.style = "authoryear", dashed = TRUE, sorting = "ydnt")
bib[editor = "westfahl"]
BibOptions(oldopts)
}