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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- 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.