I need help with page headers in latex. I'm using fancyhdr to define page header. That works on all pages except first page of bibliography(references). Since there are three pages of references, only first is missing the header, the other two are ok. I'm generating references like so:
%\clearpage
%\pagestyle{plain}
%\thispagestyle{fancy}
\renewcommand{\bibname}{Literatura in viri}
\bibliographystyle{abbrv}
\bibliography{library}
%\pagestyle{fancy}
I have tried all possible permutations of lines that are commented out to no avail.
library is bib file auto generated by Mendeley.
If I use
\begin{thebibliography}{99}
\thispagestyle{fancy}
\bibitem{Blum} somethingorother
\end{thebibliography}
the problem dissapears, but I don't want to add 30+ references manually.
Can anyone help me?