Skip to contents

Joins the BibTeX entries of how_to_cite() into one string. It is printed, or written to file.

Usage

bibtex(x, ...)

# S3 method for class 'how_to_cite'
bibtex(x, file = NULL, other = TRUE, ...)

Arguments

x

A how_to_cite object.

...

Unused. Anything passed here is refused.

file

Optional path of a .bib file to write the entries to in place of printing them.

other

Logical. TRUE (the default) includes the related references. FALSE keeps the references the methods text cites.

Value

The string of entries separated by blank lines, invisibly.