1

I am using the following code to include my references:

\bibliographystyle{alpha}
\addcontentsline{toc}{chapter}{Bibliography}

There is one generated item in .bbl file:

\bibitem[DD05]{DaaaDbbb05} ....the content...

The problem is that since both authors' name starts from D, the system automatically generates the abbreviation DD05. With DD05, there is an compiling error. If I change this item by DeD05 for example in the .bbl file, it will work. Do you know what is wrong? It is not the first time for me to meet this problem.

Here is my bib entry:

@article {DaaaDbbb05On,
AUTHOR = {Daaa, Xcccc and Dbbbb, Fffff},
 TITLE = {A sample paper},
 JOURNAL = {Sample journal},
 VOLUME = {1},
 YEAR = {2005},
 NUMBER = {1},
 PAGES = {1--17},
 }

The compiling error is

 ./my_thesis:133:Undefined control sequence \bibitem[DD05]{DaaaDbbb05On}
10
  • 1
    perhaps you should add the whole entry from your .bib file to the question, by way of example
    – henrique
    Feb 13, 2012 at 14:47
  • Just added the bib entry. :-)
    – Anand
    Feb 13, 2012 at 14:55
  • 1
    I could'nt reproduce the problem here... Maybe you should add more real examples of your code... (Before anything, you could try to delete the .aux and .bbl files and rerun latex)
    – henrique
    Feb 13, 2012 at 16:03
  • 4
    what is the error? It is in the LaTeX run I presume. Also as mentioned give a full minimal example file that generates it. Without it there's not way to guess the issue. Feb 13, 2012 at 18:25
  • 2
    Please post the compiling error you mentioned.
    – henrique
    Feb 13, 2012 at 18:51

1 Answer 1

2

I created an minimal example based on your code snippet. Whatever I get no errors:

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article {DaaaDbbb05On,
AUTHOR = {Daaa, Xcccc and Dbbbb, Fffff},
 TITLE = {A sample paper},
 JOURNAL = {Sample journal},
 VOLUME = {1},
 YEAR = {2005},
 NUMBER = {1},
 PAGES = {1--17},
 }
\end{filecontents}
\documentclass{article}
\begin{document}
\cite{DaaaDbbb05On}
\bibliographystyle{alpha}
\bibliography{\jobname}
\end{document}

Results in enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .