TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to generate the bibtex keys for many bibliography entries at the same time or in a batch mode?

I am using Jabref for the bibliograpy database and get the bibtex key while inputting the data. The problem is that when I am taking the bibtex entries from other sources, there citation key format varies from source to source. Jabref reads the text file but the keys are very different or dont follow any pattern. It is best to have a consistent citation key format and it will be very helpful if there is a way to use the key format I am using on all the entries rather than generating the key for each entry individually.

Thanking in advance for any solution.

share|improve this question
up vote 1 down vote accepted

Do a multiple select in jab-ref (either using ctrl-click or shift-click) and hit the magic wand button to generate keys for those selected entries.

share|improve this answer
I have already tried doing that. The key is generated only for the last entry of the selection. – Anusha Nov 15 '10 at 6:35
well, then you only select that entry? – Davy Landman Nov 15 '10 at 8:19
Thank you for the reply but it doesnt answer the question. – Anusha Nov 16 '10 at 5:21
This actually works if the interface for inputting information is not open. – Anusha Dec 13 '10 at 16:18

You can autogenerate new BibTeX keys with Jabref (There is a menu under tools). After your imports, just regenerate the keys.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.