MultiBiB and moderncv

Asked by Donald Bucci on 2011-07-16

I'm having an issue getting the template.tex and publications.bib to work correctly in producing the subdivided bibliography as shown in template_multibib.pdf. I'm using MiKTeX 2.9 and TeXworks and my steps are as follows:

1) Uncomment the following lines:
\usepackage{multibib}
\newcites{book,misc}{{Books},{Others}}
......
\section{Publications}
\nocitebook{book1,book2}
\bibliographystylebook{plain}
\bibliographybook{publications} % 'publications' is the name of a BibTeX file
\nocitemisc{misc1,misc2,misc3}
\bibliographystylemisc{plain}
\bibliographymisc{publications} % 'publications' is the name of a BibTeX file

2) Run pdfLaTeX twice
3) Run BibTeX twice
4) Run pdfLaTeX three times.

No bibliography entries end up appearing. The contents of my template.bbl file are empty and the contents of my template.blg file are::

--------------
This is BibTeX, Version 0.99dThe top-level auxiliary file: template.aux
I found no \bibdata command---while reading file template.aux
I found no \bibstyle command---while reading file template.aux
(There were 2 error messages)
-------------------

Thanks for any help!

Question information

Language:
English Edit question
Status:
Solved
For:
moderncv Edit question
Assignee:
No assignee Edit question
Solved by:
Donald Bucci
Solved:
2011-07-19
Last query:
2011-07-19
Last reply:
Donald Bucci (don-bucci) said : #1

I'm sorry. I also comment the following lives before building:

\nocite{*}
\bibliographystyle{plain}
\bibliography{publications} % 'publications' is the name of a BibTeX file

Donald Bucci (don-bucci) said : #2

Ok, I ended up figuring it out. You actually need to open up the Aux files in TeXworks manually and run BiBTeX on them. So my new process:

1) pdfLaTeX on template.tex --> template.aux, book.aux, misc.aux
2) BiBTeX on book.aux and misc.aux --> corresponding bbl and blg files
3) pdfLaTeX on template.tex