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.

I have a BibTeX file with a mix of entries, some with full author's names and some with just initials. I would like my typeset bibliography to only use initials. Is there a way to do this?

I have the following BibTeX commands currently in my file:

\usepackage[super,comma,sort&compress]{natbib} 
\bibliography{thesis}
\bibliographystyle{named}

I have found documentation on how to do this with biblatex, but not with natbib.

share|improve this question

1 Answer 1

up vote 18 down vote accepted
  1. Copy the file named.bst (in TeXLive it is in texmf-dist/bibtex/bst/beebe/named.bst) to the file abbrvnamed.bst in your working directory.

  2. Find in this file the line

    FUNCTION {format.names}
    

    and inside the function the line

      { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't :=
    
  3. Change this line to

      { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
    

Now you can put in your document \bibliographystyle{abbrvnamed}, and get the result you want.

For the curious: in this magic line ff means Full First names, f. means abbreviated First names, vv is "Von part", ll is for Last names, jj is for Junior suffix. Yes, BibTeX language is evil.

share|improve this answer
    
Thank you Boris! That worked perfectly. –  Paul Nov 30 '11 at 18:24
    
BibTeX Language is evil... It is the spawn of the computerized devil child. –  Nicholas Hamilton Mar 31 '13 at 23:33

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.