Methods
(protected, inner) parseBibTeX(str) → {Array.<CSL>}
Format BibTeX data
- Source:
Parameters:
Name | Type | Description |
---|---|---|
str |
String
|
The input data |
(protected, inner) parseBibTeXJSON(data) → {Array.<CSL>}
Format BibTeX JSON data
- Source:
Parameters:
Name | Type | Description |
---|---|---|
data |
Object
|
Array.<Object>
|
The input data |
(protected, inner) parseBibTeXProp(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, inner) parseBibTeXType(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
(protected, inner) parseBibTxt(src) → {Array.<Object>}
Parse Bib.TXT data
- Source:
Parameters:
Name | Type | Description |
---|---|---|
src |
String
|
The input data |
Returns:
- Type:
-
Array.<Object>
Array of BibTeX-JSON
(protected, inner) parseBibTxtEntry(entry) → {Object}
Parse single Bib.TXT entry
- Source:
Parameters:
Name | Type | Description |
---|---|---|
entry |
String
|
The input data |
Returns:
- Type:
-
Object
Array of BibTeX-JSON