Copying entries between bib files

Dear colleagues
I am copying bib entries between different bibfiles.
I am accumstomed to using the citation key ‘name:yy’.
since my latest update of JabRef the citation key is automatically converted to ‘nameyyyy’.

Can I get rid of this automatic change of the citation key?

Hello rjandl,

you can disable overwriting citationkeys in the preferences:

By default, JabRef’s citekey is [Author][Year], if i remember right, so yyyy would be correct i think.
From what version of JabRef did you upgrade to which version?

if have upgraded from 5.6 to 5.7.
I recognize that [auth][yyyy] is the valid format. However, I am using author:yy since ever and would not like to change the entire database.

Taking the highly appreciated advice I went to Options>Preferences >Citatations keys. I found [auth][year], replaced it with my favorite format [auth]:[yy] and saved it. – However, JabRef is maintaining the original version.

all the best

first of all latest version of Jabref is 5.9.
Did you press enter after changing the citation key in the table? Otherwise it’s not saved!

yes, I saved! I think the format [aut]:[yy] was not recognized.

1 Like

[yy] does not exist as formatter. I would try [shortyear], which will use the last 2 digits of the publication year. A detailed explanation about configuration options of the citationkey generator is available at Customize the citation key generator - JabRef

Before you change all your citationkeys, i would check if you still have a backup of your old library file(s). If not, create a backup, so if something goes wrong, you can go back to it.

In my personal opinion, while it is convenient to use non-complex citekeys for ease of writing, in the long run you can run into trouble once you encounter authors with the same name and or authors that publish multiple articles in the same year and you have both entries in the same database. Therefore, I would advise to use a complex key. CTRL + L allows you to push them to your external application and with CTRL + F you will find your citekeys easily also in your external application.

1 Like

oh and by the way, since you are copying between different library files: Citationkey generation patterns can also be saved in the library file, so to make sure both files have the same configuration, check Library > Library properties > Citation Key Patterns

thanks a lot for your valuable information. I change my bib files to the default …