Generate cite keys
generate_cite_keysCreate consistent citation keys from first author family name, year, and first meaningful title word; duplicate keys get letters, and old/new keys plus updated BibTeX are returned.
Instructions
Create consistent cite keys from the first author's family name, the year and the first meaningful word of the title, like smith2024deep. Repeated keys get a letter added. Returns the old and new key for each entry and the list as BibTeX with the new keys. Example: an entry with key old1, author "Smith, John", year 2024 and title "Deep Learning for Graphs" gives old_key old1 and new_key smith2024deep, or smith2024 when include_title_word is false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The reference list as text: BibTeX, RIS or CSL JSON. | |
| format | No | The format of the text. Defaults to auto, which looks at the text to decide. | |
| include_title_word | No | Add the first meaningful title word, so you get smith2024deep and not smith2024. Defaults to true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| count | Yes | ||
| bibtex | Yes | The list as BibTeX using the new keys. |