Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am recently using the moderncv template with multibib package for writing my cv. The problem that I encounter is as the following:

\documentclass[11pt,a4paper,sans]{moderncv} 
\moderncvstyle{casual}  
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}
\usepackage{multibib}
\newcites{j}{Journals}

\begin{document}
\makecvtitle

\section{Publications}
\nocitej{wang2012}
\bibliographystylej{plain}
\bibliographyj{publications}
\end{document}

When I try to compile BiBTeX first, it also shows the error message: "Process exited with error(s)" and nothing else....

I do this on a Windows7 system, any suggestions? If not using the multibib package, everything works out fine, which means:

\documentclass[11pt,a4paper,sans]{moderncv} 
\moderncvstyle{casual}  
\moderncvcolor{blue}
\usepackage[scale=0.75]{geometry}
%\usepackage{multibib}
%\newcites{j}{Journals}

\begin{document}
\makecvtitle

\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}
\end{document}
share|improve this question
1  
My suggestion would be to use biblatex instead of multibib. I think it is more convenient. But I don't know if that is an option for you. –  jmc Mar 31 '12 at 17:32
1  
I just tried your MWE and it works perfectly on my system. Make sure i) you are using a sufficiently recent version of moderncv (support for multi bib was added in v.0.8, of May 24, 2010) and ii) you are calling BiBTeX correctly, i.e. bibtex j (bibtex publications might call the dummy bibliography file provided with moderncv, which does not has a reference for wang2012) –  Xavier Mar 31 '12 at 23:10
    
@Xavier~ To your first question, I've just re-downloaded the latest version of moderncv (v1.0). For the second one, I don't quite get what you mean... the bibtex j is simply like a key for the \newcites, which shouldn't have anything related to the publications.bib file? cuz the publications.bib file is simply the storage of the references. Or am I misunderstood any of them? Thanks. –  Taco Apr 1 '12 at 7:39
    
I found the solutions!! how weird!!! I'll have to open up the followings manually and run them, for example: template.tex --> template.aux --> j.aux, could this be some kind of bug? (I don't really know why and how these happens...) Below is the solution that I found somewhere else for your reference: click here –  Taco Apr 1 '12 at 8:31
    
We'd like to keep answers separate from questions, so you should write a separate answer instead of editing your answer into the question. Self-answers are perfectly admissible, and a well-written answer may earn you additional reputation. –  lockstep Apr 1 '12 at 11:09
show 3 more comments

1 Answer

Solutions are as below:

The compiling process in TeXmaker should be the following steps:

  1. template.tex (compile the bibtex first --> Quick Build) -->
  2. j.aux (open up in TeXmaker -->
    Compile with bibtex (and check if process existed normally)) -->
    Back to step 1. And do it again, should work!!

(Though may have some error messages occur, it works fine and produce a PDF file successfully!)

share|improve this answer
add comment

Your Answer

 
discard

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.