I am trying to sort my publication list with year and month to differentiate publications from the same year. I am kind of struggling to get this right. I used one of your implementation and i manage to split in various subsection the right items calling my own .bib file but the sorting in each subsection is wrong. any help?
\documentclass{article}
\usepackage[utf8]{inputenc}
%\usepackage[T1]{fontenc}
%\usepackage[french]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsmath, amssymb}
\usepackage[backend=biber,sorting=ndymdt,style=phys]{biblatex}
\DeclareFieldFormat{labelnumberwidth}{}
\setlength{\biblabelsep}{0pt}
\DeclareSortingScheme{ndymdt}{
\sort{
\field{presort}
}
\sort[final]{
\field{sortkey}
}
\sort{
\name{sortname}
\name{author}
\name{editor}
\name{translator}
\field{sorttitle}
\field{title}
}
\sort[direction=descending]{
\field{sortyear}
\field{year}
\literal{9999}
}
\sort[direction=descending]{
\field[padside=left,padwidth=2,padchar=0]{month}
\literal{99}
}
\sort[direction=descending]{
\field[padside=left,padwidth=2,padchar=0]{day}
\literal{99}
}
\sort{
\field{sorttitle}
}
\sort[direction=descending]{
\field[padside=left,padwidth=4,padchar=0]{volume}
\literal{9999}
}
}
\addbibresource{mybiblio2016.bib}
\begin{document}
\nocite{*}
\printbibliography[type=article,title={Journal articles}]
\printbibliography[type=inproceedings,title={Conference papers}]
\printbibliography[type=book,title={Books chapters}]
\printbibliography[type=unpublished,title={Presentations}]
\printbibliography[type=misc,title={Invited talks}]
\printbibliography[type=artwork,title={Posters}]
\printbibliography[type=report,title={Technical notes}]
\printbibliography[type=thesis,title={Thesis}]
\printbibliography[type=patent,title={Patents}]
\end{document}
.bib
file we cannot really test your MWE. And from your description it is not entirely clear to me what exactly is wrong? But maybe the optiondefernumbers=true
can help you. Note that you will have to delete the temporary.aux
,.bcf
and.bbl
files before you re-compile for a change in this option to take effect..bib
file is quite massive, so I'm not sure where to focus on exactly.