I'm new to LaTeX, so I might be making a very simple mistake, but I can't seem to get my publications to show up on my CV. I'm using the moderncv
and multibib
packages and MiKTeX. Here's a simplifi:
The references are in a file called publication.bib
:
@article{article1,
title={Article 1},
author={Doe, J.},
year={2012},
journal={Journal}
}
@book{book1,
title={Book 1},
author={Doe, J.},
year={2012},
publisher={Publisher}
}
And the CV.tex
file looks like this:
\documentclass[11pt,letterpaper,sans]{moderncv}
\moderncvstyle{banking}
\usepackage{apacite}
\usepackage[scale=0.75]{geometry}
\firstname{John}
\familyname{Doe}
\address{somewhere}{}
\usepackage{multibib}
\newcites{article,book}{{Articles},{Books}}
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
\makecvtitle
% Publications from a BibTeX file using the multibib package
\section{Publications}
\nocitebook{book1}
\bibliographystylebook{plain}
\bibliographybook{publication.bib}
\nocitearticle{article1}
\bibliographystylearticle{apacite}
\bibliographyarticle{publication.bib}
\clearpage
\end{document}
When I typeset it, the header, etc. all come out right, but the Publications section is empty. What am I doing wrong?
Typeset
command in MikTeX/TeXworks with pdfLaTeX+MakeIndex+BibTeX, which I assume runs bibtex, but I am not sure. I looked through the log and found this, which seems relevant, but I don't know how to fix:LaTeX Warning: Citation 'book1' undefined on input line 20.
...No file book.bbl.
...LaTeX Warning: Citation 'article1' undefined on input line 24.
...No file article.bbl.