I am using bibtex to create a list of publications. For each year, I have a .bib file containing the publications of that year. What I have tried to do is the following:
\documentclass{article}
\usepackage{filecontents, pgffor}
\title{\Large\bfseries
Selected Publications
}
\author{
{\scshape Dr MWE}\\
Department of Minimum Working,\\
University of Examples
}
\begin{filecontents}{publications_2000.bib}
@article{MWE1,
author = {MWE, Dr},
title = {How to produce an {MWE}},
journal = {Journal of MWEs},
year = {2000},
volume = {1},
pages = {1--10}
}
\end{filecontents}
\begin{filecontents}{publications_2001.bib}
@article{MWE2,
author = {MWE, Dr},
title = {How to produce yet another an {MWE}},
journal = {Journal of MWEs},
year = {2001},
volume = {2},
pages = {1--10}
}
\end{filecontents}
\begin{filecontents}{publications_2002.bib}
@article{MWE2,
author = {MWE, Dr},
title = {How to produce yet another {MWE}, again},
journal = {Journal of MWEs},
year = {2002},
volume = {3},
pages = {1--10}
}
\end{filecontents}
\begin{document}
\maketitle
\nocite{*}
\bibliographystyle{unsrt}
\foreach \yr in {2000,...,2002}{
\renewcommand\refname{\large \yr}
\bibliography{publications_\yr}
}
\end{document}
Which I hoped would output the bibliography for each file (publications_20xx.bib). The output I got however was the following:
In other words, repetition of the same year over and over. I've tried having a look at the package multibib, but I can't seem to get it to work for this example. I appreciate any help.



aux->bbl, etc.), you are not able, with the standard BibTeX interface, to invoke\bibliographymore than once in a document while expecting a different output each time. – Steven B. Segletes Oct 10 '18 at 13:51bblfiles for each year's bibliographic entries. It would require the\bibliographymacro to be extended to indicate whichbblfile to use, and would require theauxfile to keep track of it all. I think it is a formidable undertaking, but never underestimate the drive of LaTeXers. There may already be a package that can do it...but it is certainly not part of the standard LaTeX macro packages. – Steven B. Segletes Oct 10 '18 at 19:47.bstfile quite heavily to output a multi-part bibliography. – moewe Oct 11 '18 at 07:53biblatexhttps://tex.stackexchange.com/q/346564/35864 and linked questions could solve the problem as posed, but you might also be interested in https://ctan.org/pkg/biblatex-publist to produce a list of publications. – moewe Oct 11 '18 at 07:55bibtex, it gave me a good opportunity to switch tobiblatex. So I have only one advice: Switch tobiblatex! There is a good documentation and plenty of examples here (https://ctan.org/tex-archive/macros/latex/contrib/biblatex/doc/examples) – DRi Oct 11 '18 at 09:12