following the question answer creating bibliographies with biblatex and moderncv, i would like to show the year on the publication BUT only once for year each year.
This example print the year after each one
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@ARTICLE{a1,
author = {Author},
title = {Title},
journaltitle = {Superjournal},
year = {2003},
}
@article{a4,
author = {Author4},
title = {Title4},
journaltitle = {Superjournal},
year = {2003},
}
@article{a2,
author = {Buthor},
title = {Ztitle},
journaltitle = {Superjournal},
year = {2000},
}
@article{a3,
author = {Duthor},
title = {Ztitle},
journaltitle = {Superjournal},
year = {2002},
}
@InProceedings{p1,
author = {Author},
title = {Title},
Booktitle = {conference xy},
year = {2003},
}
@InProceedings{p4,
author = {Author4},
title = {Title4},
Booktitle = {conference xy},
year = {2003},
}
@InProceedings{p2,
author = {Buthor},
title = {Ztitle},
Booktitle = {conference xy},
year = {2000},
}
@InProceedings{p3,
author = {Duthor},
title = {Ztitle},
Booktitle = {conference xy},
year = {2002},
}
\end{filecontents*}
\documentclass{moderncv}
\usepackage[sorting=ydnt,
style=numeric-comp,
,doi=false,url=false,
firstinits=true,
backend=biber]{biblatex}
\defbibenvironment{bibliography}
{\list
{\printfield{year}}
{\setlength{\topsep}{0pt}
\setlength{\labelwidth}{\hintscolumnwidth}%
\setlength{\labelsep}{\separatorcolumnwidth}%
\leftmargin\labelwidth%
\advance\leftmargin\labelsep}%
\sloppy\clubpenalty4000\widowpenalty4000}
{\endlist}
{\item}
\moderncvstyle{classic}
\moderncvcolor{blue}
\firstname{John}
\familyname{Doe}
\addbibresource{\jobname.bib}
\begin{document}
\section{Publications}
\begin{refsection}
\nocite{*}
\printbibliography[title={Article},heading=subbibliography,type=article]
\end{refsection}
\begin{refsection}
\nocite{*}
\printbibliography[title={Proceedings},heading=subbibliography,type=inproceedings]
\end{refsection}
\end{document}
i would like to get rid of the second 2003 in each sub-bibliography.
someone can help?

