I'm trying to use biblatex to generate a list of publications on my CV.
This works fine, however it doesn't generate the output I wanted:
\documentclass{article}
\usepackage[
sorting=ydnt,
bibstyle=ieee
]{biblatex} %ydnt: Sort by year (descending), name, title.
\addbibresource{MyPublications.bib}
\begin{document}
\cite{FirstPaper}
\printbibliography[title={Journal Papers}]
\end{document}
Then I tried this, following the example 3.10.4 in biblatex user's guide:
\documentclass{article}
\usepackage[
sorting=ydnt,
bibstyle=ieee
]{biblatex} %ydnt: Sort by year (descending), name, title.
\addbibresource{MyPublications.bib}
\DeclareBibliographyCategory{primary}
\addtocategory{primary}{FirstPaper}
\begin{document}
\printbibheading
\printbibliography[category=primary,heading=subbibliography,title={Journal Papers}]
\end{document}
The code produces an empty document with only a section titled 'References'.
I'm using 64-bit MiKTeX 2.9 and TeXstudio (Windows), however I also tried TeXnicCenter and WinEdt.
BTW, in the second case the .bbl file is empty (except for the header), which might give some indication as to what's wrong.
sortingafterstyle=ieee. As the IEEE style has a particular sort order, it sets this in the style. That will override the style you have set if you give it before. – Joseph Wright Jun 19 '12 at 07:54