Skip to content

Commit

Permalink
Add explicit list of characters (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Nov 12, 2024
1 parent bf1f6ba commit 251bc23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion en/setup/citationkeypatterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,12 @@ The citation key generator preferences contain an option for removing unwanted c

![Citation key generator preferences - unwanted characters](<../.gitbook/assets/preferences-citation-key-generator-remove-characters.png>)

Removing `-` from this list will allow it to be used while generating citation keys.
<!-- issues https://github.com/JabRef/jabref/issues/6295 and https://github.com/JabRef/jabref/issues/4709 -->
Since JabRef 6.0, the default unwanted characters are `?`, `!`, `;`, `^`, `ʹ`, and backtick (&grave;).
If you also want to have `-` be removed (e.g., "Al-Ketan, 2019" should be "AlK19" instead of "Al-19" when using `[auth3][shortyear]`, add `-` to this list.

Note that [characters not allowed in BibTeX](https://tex.stackexchange.com/a/408548/9075) are completely removed - independent of this configuraiton.
These characters are `{`, `}`, `(`, `)`, `,`, `=`, `\`, `"`, `#`, `%`, `~`', and `'`.

## Default citation key pattern

Expand Down

0 comments on commit 251bc23

Please sign in to comment.