I am using moderncv
to create my CV. I want to sort the publications in chronologically descending order (not just by year, but by month as well). I have googled a lot of solutions and found a BiB style file named plainyrrev.bst
. Here is the link: plain year reverse (seems not to work longer). However, this BiB style file can only sort publication date in descending order by year. Publications in the same years are not strictly sorted in descending order by month. In my case, March 2013 has appeared before October 2013.
I am using multibib
package to separate journal publications from conference publications. Here's the TeX code:
\documentclass[10pt,legalpaper,roman]{moderncv}
\moderncvstyle{banking}
\moderncvcolor{red}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[scale=0.75]{geometry}
\name{John}{Doe}
\title{Resum\'{e}}
\makeatletter
\renewcommand*{\bibliographyitemlabel}{[\arabic{enumiv}]}
\makeatother
\usepackage{multibib}
\newcites{jrnl}{Journal papers}
\begin{document}
\makecvtitle
\section{Selected publications}
\nocitejrnl{*}
\bibliographystylejrnl{plainyrrev}
\bibliographyjrnl{journalpapers}
\renewcommand{\refname}{Conference papers}
\nocite{*}
\bibliographystyle{plainyrrev}
\bibliography{confpapers}
\end{document}
The BibTeX source of journalpapers.bib
is as follows:
@ARTICLE{xxd1,
author = {A and B and C},
title = {Article title 1},
journal = {Journal name},
year = {2014},
volume = {3},
pages = {1-5},
number = {2},
month = {April}
}
@ARTICLE{xxd2,
author = {A and B and C},
title = {Article title 2},
journal = {Journal name 2},
year = {2013},
volume = {1},
pages = {1-10},
number = {1},
month = {October}
}
@ARTICLE{xxd3,
author = {A and B and C and D},
title = {Article title 3},
journal = {Journal name 3},
year = {2013},
volume = {2},
pages = {2-5},
number = {2},
month = {March}
}
The BibTeX source of confpapers.bib
is as follows:
@INPROCEEDINGS{xxdc1,
author = {Author 1},
title = {Title 1},
booktitle = {Conference 1},
year = {2012},
pages = {1-5}
}
@INPROCEEDINGS{xxdc2,
author = {Author 2},
title = {Title 2},
booktitle = {Conference 2},
year = {2010},
pages = {9-10}
}
@INPROCEEDINGS{xxdc3,
author = {Author 3},
title = {Title 3},
booktitle = {Conference 3},
year = {2011},
pages = {30-35}
}
Below is the created CV. All conference papers are sorted by year, as expected. Journal papers are sorted by year as well, but not by month, see the 2nd and 3rd journal paper.
How can I sort the publications in descending order by both year and month? or even day? Please refer to the given link for style file code I am currently using.
Thank you!
[4]
, not[1]
.