Hi,
I'm looking for a style which will order my bibliography by date. I'm writing my thesis, and at the beginning I have a list of papers I've written. I'm using \bibliography{blah} to list them, but I would prefer a way to list them in date order. If this is not possible, then is there a style which lists them in the order they appear in the .bib file?
thanks
Andrew
General ⇒ Order bibliography by date
NEW: TikZ book now 40% off at Amazon.com for a short time.
Order bibliography by date
I don't know any style which orders references by year or position in the bib file. However, the unsrt style follows the order of citation in the document. You can use this fact to achive your goal: anywhere in your document, before the first \cite command, write a series of \nocite commands in the order you would like. For example, if your bib file contains entries labeled book2007, paper2005 and paper2003, you should write:
Remember that \nocite produces no output. It only influences the way the bibliography is generated.
Code: Select all
(initial stuff)
\nocite{paper2003}\nocite{paper2005}\nocite{book2007}
(more stuff)
In my book \cite{paper2003},... (remaining \cite commands)
(more stuff)
\bibliographystyle{unsrt}
\bibliography{mybibfile}
(final stuff)
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Order bibliography by date
That is a awesome tip!
It has worked like a treat.
I was able to shorten it by combining the nocite commands to this:
I should have mentioned I wasn't actually citing my publications, I was just producing a list.
Oh, and while testing this I found out that if I didn't cite any of them, used \nocite{*), and the unsrt style, then it will be sorted in the order within the bib file.
Thanks
It has worked like a treat.
I was able to shorten it by combining the nocite commands to this:
Code: Select all
\nocite{brampton2007cui,brampton2008cew,macquire2008acf}
\bibliographystyle{unsrt}
\bibliography{related}
Oh, and while testing this I found out that if I didn't cite any of them, used \nocite{*), and the unsrt style, then it will be sorted in the order within the bib file.
Thanks