bibtex

Cite.parse. bibtex

Deprecated:
Source:

Methods

(protected, static) json(data) → {Array.<CSL>}

Format BibTeX JSON data

Source:
Parameters:
Name Type Description
data Object | Array.<Object>

The input data

Returns:
Type:
Array.<CSL>

The formatted input data

(protected, static) prop(name, value) → {Array.<String>}

Transform property and value from BibTeX-JSON format to CSL-JSON

Source:
Parameters:
Name Type Description
name String

Field name

value String

Field value

Returns:
Type:
Array.<String>

Array with new name and value

(protected, static) text(str) → {Array.<CSL>}

Format BibTeX data

Source:
Parameters:
Name Type Description
str String

The input data

Returns:
Type:
Array.<CSL>

The formatted input data

(protected, static) type(pubType) → {String}

BibTeX pub type to CSL pub type. Defaults to 'book'.

Source:
Parameters:
Name Type Description
pubType String

BibTeX type

Returns:
Type:
String

CSL type