GeneralSort moderncv publications by year AND month (multibib+bib)

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
erictamlam
Posts: 8
Joined: Sun Apr 29, 2012 7:41 am

Sort moderncv publications by year AND month (multibib+bib)

Post by erictamlam »

Hi, 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: https://svn.strategoxt.org/repos/Strate ... nyrrev.bst. The bst file is also attached at the end. 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:

Code: Select all

 

\documentclass[10pt,legalpaper,roman]{moderncv}  

\usepackage{multibib}
\newcites{jrnl}{Journal papers}
\begin{document}

......

\section{Selected publications}
\nocitejrnl{*}
\bibliographystylejrnl{plainyrrev}
\bibliographyjrnl{journalpapers}                 

\renewcommand{\refname}{Conference papers}
\nocite{*}
\bibliographystyle{plainyrrev}
\bibliography{confpapers}
\end{document}
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!

[1]: https://svn.strategoxt.org/repos/Strate ... nyrrev.bst
Attachments
plainyrrev.bst
bst file
(22.84 KiB) Downloaded 459 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post Reply