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.

In my .bib file, I have two entries with exactly the same author names:

@article{Seshadrinathan2010A-Subjective-St,
    Author = {K. Seshadrinathan and R. Soundararajan and A. C. Bovik and L. K. Cormack},
....

@article{Seshadrinathan2009Study-of-Subjec,
    Author = {K. Seshadrinathan and R. Soundararajan and A. C. Bovik and L. K. Cormack},
....

When cited after each other, and typeset with the IEEEtran bibliography style, the .bbl file reads:

\bibitem{Seshadrinathan2010A-Subjective-St}
K.~Seshadrinathan, R.~Soundararajan, A.~C. Bovik, and L.~K. Cormack, ``A
  subjective study to evaluate video quality assessment algorithms,''
  \emph{SPIE Proceedings Human Vision and Electronic Imaging}, 2010.

\bibitem{Seshadrinathan2009Study-of-Subjec}
------, ``Study of subjective and objective quality assessment of video,''
  \emph{IEEE Transactions on Image Processing}, 2009.

As you can see, the author names have been replaced with ------. It looks like this in the final PDF:

enter image description here

Is this normal behavior?

share|improve this question
6  
It depends on the bibliography style. This bahavior is normal for style IEEEtrans. –  Marco Daniel Sep 24 '11 at 17:52
    
Most other bibliography styles don't have this behavior. –  Ken Bloom Sep 25 '11 at 0:15

3 Answers 3

up vote 31 down vote accepted

The behavior mentioned is the default using IEEEtran.bst style. To change it, you can define a IEEEtranBSTCTL entry in your bib database and change the default value for CTLdash_repeated_names. So, in this case, your entry should look like this:

@IEEEtranBSTCTL{IEEEexample:BSTcontrol,
  CTLdash_repeated_names = "no"
}

Then in the body of your .tex file you have to activate the change by using

\bstctlcite{IEEEexample:BSTcontrol}

Example (thanks to Marco):

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@IEEEtranBSTCTL{IEEEexample:BSTcontrol,
CTLdash_repeated_names= "no",
}

@article{Seshadrinathan2010A-Subjective-St,
    Author = {K. Seshadrinathan and R. Soundararajan and A. C. Bovik and L. K. Cormack},
    title={foo},
    year={2011},
    journal={bla}
}

@article{Seshadrinathan2009Study-of-Subjec,
    Author = {K. Seshadrinathan and R. Soundararajan and A. C. Bovik and L. K. Cormack},
    title={bar},
    year={2010},
    journal={bla}
}
\end{filecontents}

\documentclass{IEEEtran}
%\usepackage{IEEEtrantools}% only needed if a class different from IEEEtran is used.


\begin{document}
\bstctlcite{IEEEexample:BSTcontrol}
\cite{Seshadrinathan2010A-Subjective-St}

\cite{Seshadrinathan2009Study-of-Subjec}


\bibliographystyle{IEEEtran}
\bibliography{\jobname}
\end{document}

Result

share|improve this answer
1  
+1, but I think that both your and my method may have merit. –  lockstep Sep 24 '11 at 18:03
    
@lockstep: I don't think so. To define a small bibsetup.bib (maybe with filecontents) is much easier and more comfortable for the user as the manipulation of the bst-file. –  Marco Daniel Sep 24 '11 at 18:08
    
Okay, so I put this right at the top of my .bib file, trashed all auxiliary files, ran pdflatex, bibtex, pdflatex twice, and it's still there? I'm not particularly worried about it if it's normal, but it would be nice to know how to get rid of it. –  slhck Sep 24 '11 at 18:09
2  
@Marco: See slhck's comment for an example how "much easier and more comfortable for the user" it is. –  lockstep Sep 24 '11 at 18:15
    
@slhck: please post a minimal example showing the problem. I did some tests before posting my answer and everything worked as expected. –  Gonzalo Medina Sep 24 '11 at 18:18

To remove the dash, copy the file IEEEtran.bst, located in /bibtex/bst/IEEEtran of your TeX distribution, to your working directory and rename it to myIEEEtran.bst. In the renamed copy, replace

FUNCTION {default.is.dash.repeated.names} { #1 }

with

FUNCTION {default.is.dash.repeated.names} { #0 }

and compile your .tex document using \bibliographystyle{myieeetran}.

EDIT: To the person who downvoted: The original (commented) code in IEEEtran.bst reads

% #0 turns off the "dashification" of repeated (i.e., identical to those
% of the previous entry) names. IEEE normally does this.
% #1 enables
FUNCTION {default.is.dash.repeated.names} { #1 }

so I think the style designer(s) viewed changing #1 to #0 as a valid method of customization.

share|improve this answer
1  
In this case there's really no need to edit a copy of the .bst file; see my answer. –  Gonzalo Medina Sep 24 '11 at 18:00
    
I was using the IEEEtranBST.zip from the paperplaza website. I had the same problem and I only opened the IEEEtran.bst and changed the #1 to #0 for the default.is.dash.repeated.names and it solved the problem. –  NKN Jan 7 at 20:40

It depends on the bibliography style. This behavior is normal for style IEEEtrans.

Some bibliography styles are illustrated on the page BibTeX Style Examples.

At this point I recommend the package biblatex where you can set this behavior via the dashed option.

The package itself doesn't provide an IEEEtran style but there is a contrib: biblatex-ieee.

share|improve this answer
    
About your recommendation to use biblatex: is there a ready-made "style file" for biblatex that reproduces the look-and-feel of the IEEEtran .bst specification? –  Mico Sep 24 '11 at 20:53
    
@Mico: I edited my post. –  Marco Daniel Sep 24 '11 at 22:59
1  
Wow, that's very useful information. Thanks. –  Mico Sep 25 '11 at 1:09
1  
Useful indeed! Thanks. –  percusse Oct 25 '11 at 21:37
1  
I was using the IEEEtranBST.zip from the paperplaza website. I had the same problem and I only opened the IEEEtran.bst and changed the #1 to #0 for the default.is.dash.repeated.names and it solved the problem. –  NKN Jan 7 at 20:38

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.