Convert a bibliography
convert_bibliographyConvert reference lists between BibTeX, RIS, CSL JSON, and plain text, with format auto-detection and cleanup of page ranges, DOIs, and names.
Instructions
Convert a reference list between BibTeX, RIS, CSL JSON and plain text (a simple author, year, title style). The input format is detected unless you pass it. Page ranges, DOIs and names are cleaned on the way. Example: text is a BibTeX entry and to is "ris", and output is the same reference as RIS. Set from only to override detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The format to write. | |
| from | No | The format of the text. Defaults to auto, which looks at the text to decide. | |
| text | Yes | The reference list as text: BibTeX, RIS or CSL JSON. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The format that was written. | |
| from | Yes | The format that was read. | |
| count | Yes | How many entries were converted. | |
| output | Yes | The converted reference list. |