Learn R Programming

knitcitations (version 0.6-2)

bib_format: Specify the order in which citation elements should be returned

Description

An internal function used by methods such as print_rdfa and print_markdown to specify a custom odering of the elements.

Usage

bib_format(ordering = c("authors", "year", "title", "journal", "volume",
  "number", "pages", "doi", "url"), authors, year, title, journal, volume,
  number, pages, doi, uri, collapse = " ")

Arguments

ordering
a character string giving the ordering of elements
authors
the author element
year
the year element
title
element
journal
journal element
volume
volume element
number
isue number element
pages
the pages element
doi
the doi element
uri
the URL element
collapse
the collapse value passed to paste (e.g. separate with spaces only)

Details

currently not possible to specify custom markup (quotations, bold, italics, etc) though this could be added more or less without changing the API.