Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When copying bibtex entries from journal websites, they usually include a lot of information, and not all of it is necessary depending on the journal you are submitting the paper too.

Currently I have two bib files, one with the full citation as taken from the journal page, and the other with the shorthand that I manually entered.

Is there an automatic way to get bibtex to refactor bibliographies? The citation list is starting to get rather large, and so I would like to avoid just copying the main bib file and trimming down the fields by hand. I've heard of people holding on to 4 or 5 bib files with different citation styles, but if you have 30-40 references, keeping track of 150+ references becomes untenable.

More specifically I want the bibliography to ignore title entries and automagically replace 4+ authors with the first author + et al.

If it matters, I'm looking to submit to an AIP journal and want to follow their style manual.

share|improve this question
    
Related question –  Lev Bishop Nov 19 '10 at 23:46
9  
You don't normally alter the .bib file for this: the job of the BibTeX style is to choose what information to include in the bibliography. If the journal style uses all authors, then it does: that is a decision they've made. (I'm a chemist, and we always include all authors as the lead author is always last in the list!) –  Joseph Wright Nov 20 '10 at 7:08

4 Answers 4

As the comments have mentioned, I would recommend against maintaining a bibliography with the abbreviations done by hand. This is exactly the sort of automatic thing that bibtex should be doing for you. That said, I don't know how to control this sort of thing with bibtex. I seem to remember that natbib did automatically truncate author lists, but I can't remember how much control it gave you. (indeed, this could well have been one of the things that made me move to biblatex...)

The biblatex solution would simply be to set maxnames=4 as a package option. Incidentally, biblatex is no longer in beta: v1.0 was uploaded to CTAN yesterday.

share|improve this answer
up vote 5 down vote accepted

I feel a little guilty answering my own question, but this is for the sake of people looking this up in the future.

Bibliography style files dictate how the bibliography is typeset and which fields are kept/modified. As such you simply have to select the right \bibliographystyle{style} before calling \bibliography{bibfilename}

In my case, I had left over boilerplate code from the template I start from for all my latex articles. Revtex sets the style automatically when specifying the document class (and the journal substyle), however I still had a \bibliographystyle{plain} left over from my template. All I had to do was remove that line in order to let revtex select the bib style automagically.

share|improve this answer

I came across such issue today, and this is my solution. Since I use Endnote as my daily reference manager, so I intend to export the references as Bibtex format from Endnote. The default output style of BibTeX Export in Endnote is listing all the authors; definitely, you can edit the author key one by one in the .bib output file, but it takes a lot of time if you have several tens of references. The best way is to modify the export style, that is edit the BibTeX Export style in Endnote, find Bibliograpy sub-panel, edit Author Lists and Templates as the means they appear, e.g. you can control the author list by editing the number of authors wish to appear and the others with et al.

share|improve this answer
    
Welcome to TeX.sx! –  lockstep Nov 2 '12 at 15:16

A quick search for "et~al." in the .bst file will reveal the code where this is done. In my case (apsrev.bst) I found that the code will look for the key word "other" in the author list and replace with "et~al."

This means I just have to modify the bibitem author to replace all the other authors with "and other". It's not really the correct fix because it requires modifying the bibtex database file, but it is the best solution I could find.

share|improve this answer
    
As Seamus pointed out, have a look at biblatex. For starters, see this question. –  lockstep Dec 8 '10 at 21:06

Your Answer

 
discard

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.