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.

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

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
up vote 46 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
2  
+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
1  
I tried the above steps and it work only for two references with the same author. However, I have 4 references with same author. Only two are showing the author's name while the 3rd and 4th are showing "------". Any work suggestions!! – EngS Jul 2 '14 at 22:43

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 '14 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 '14 at 20:38

All of these solutions didn't work for me so I found a simple solution: just add \vspace{0mm} to some part of the name of the author and it's OK.

share|improve this answer
    
Hmmm, you must be doing something different then. – Werner Sep 8 '15 at 20:50

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.
http://tex.stackexchange.com/questions/29381/is-it-normal-for-bibtex-to-replace-similar-author-names-with/29385
tex.stackexchange.com
crawl=CC-MAIN-2016-26
112397
application/http; msgtype=response
sha1:AOXRWEWAXWVQ6JNSPJACRIB7JWJHPGOC
<urn:uuid:b9259f4f-a885-4915-9392-db4014ceae2d>
2016-06-25T19:29:21Z
151.101.193.69
sha1:TJSFZO745G2TW2N4MGQYQKZBWCS5B5RH
<urn:uuid:41d08374-0f38-4ae6-bfa8-3b8d8dbfaf1c>
http://tex.stackexchange.com/questions/29381/is-it-normal-for-bibtex-to-replace-similar-author-names-with/29385
response
<urn:uuid:241aaeba-4e2e-4f3c-9282-734543a35ae4>
robots: classic
hostname: ip-10-164-35-72.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-26
operator: CommonCrawl Admin
description: Wide crawl of the web for June 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf