BibTeX, biblatex and biber ⇒ Same authors, two papers, one year citations
Same authors, two papers, one year citations
I am new to lyx and referencing and I hope someone can help.
I edit my references using Notepad and I have a windows based version of lyx, which I am writing my masters on.
I have two papers, written by the same authors in the same year. My reference in the text should look like this:
author and author, 2003a
author and author, 2003b
But when I extract the pdf of my work, the reference looks like this:
author and author, 003a
The program is taking the last four digits of the year category and I am losing the "2". How do I change this. I am using bib style apalike.
Many thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Re: Same authors, two papers, one year citations
@article{author2003a,
author = "author and author",
year = "2003a"
}
@article{author2003b,
author = "author and author",
year = "2003b"
}
This causes problems because the year can only hold four digits (and it therefore cuts the first number off). The apalike style file figures out automatically that there should be an a and a b, so you don't have to list it explicitly. Use the following instead:
@article{author2003a,
author = "author and author",
year = 2003
}
@article{author2003b,
author = "author and author",
year = 2003
}
(putting in the title, pages, etc., of course). This should solve your problem.