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?

  • 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

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.

  • 1
    Also no need to add the file extension in \bibliographyarticle{publication.bib} etc. – user11232 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
  • 1
    @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
  • 1
    @DanM. You can try arara for automating the compilation. – user11232 Apr 12 '13 at 23:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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