TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:

  title={Article 1},
  author={Doe, J.},
  title={Book 1},
  author={Doe, J.},

And the CV.tex file looks like this:



%            content

% Publications from a BibTeX file using the multibib package




When I typeset it, the header, etc. all come out right, but the Publications section is empty. What am I doing wrong?

share|improve this question
I am using the 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. – Dan M. Oct 29 '12 at 1:16
up vote 10 down vote accepted

Your MWE nearly works for me as is (see note below), but you must run the following commands

pdflatex myfile.tex
bibtex myfile.aux
bibtex article.aux
bibtex book.aux
pdflatex myfile.tex
pdflatex myfile.tex

Note that the plain style gives the error undefined control sequence \@listctr which can be fixed by using


Note that you may have to remove the auxiliary files first.


Following the comments, this process can be streamlined using TeXworks as detailed in Multibib with TeXworks: how to parse second .aux file?

Note that MiKTeX is your TeX distribution; it is responsible for the executable, package, and class files, but your IDE is responsible for running commands unless you want to use the command line/DOS prompt.

share|improve this answer
Also no need to add the file extension in \bibliographyarticle{publication.bib} etc. – Harish Kumar Oct 29 '12 at 1:25
@HarishKumar good point – cmhughes Oct 29 '12 at 1:26
Thanks, but is there a more streamlined way to make this work within MikTex or is the command-line approach the only way? – Dan M. Oct 29 '12 at 1:29
@DanM. this depends. First of all, note that MiKTeX is your TeX distribution; it is responsible for the executable files, but your IDE is responsible for running commands. The multibib package provides a lot of flexibility, and you can name your bibliographies anything that you like- getting an IDE to predict such names will be tricky. Which IDE are you using? – cmhughes Oct 29 '12 at 1:41
@DanM. You can try arara for automating the compilation. – Harish Kumar Apr 12 '13 at 23:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.