%%% Add all relevant publications to ./papers.bib
%%% Define \firstauth{Name} and \addboldnames{{Name, I.},{Name, First-Name}} in PhDThesisED182.cls
%%% Will go through all references, add categories based on First Author, Second Author or Contributor
%%% Can also add conference talks and posters as non-articles
\chapter*{List of Publications}
\chaptermark{Publications}
\markboth{PUBLICATIONS}{PUBLICATIONS}
\addcontentsline{toc}{chapter}{List of Publications}

\begin{refsection}
    \nocite{*}%
    \newrefcontext[sorting=ynt]
    \printbibliography[keyword={first},check=JoPR,type=article,heading=subbibliography,title={First Author}]%
    \printbibliography[keyword={main},check=JoPR,type=article,heading=subbibliography,title={Main contribution}]%
    \printbibliography[keyword={collab},check=JoPR,type=article,heading=subbibliography,title={Analysis team}]%
    \printbibliography[keyword={self},nottype=article,heading=subbibliography,title={Conferences}]%
\end{refsection}
\resetboldnames
