2

I do not understand why my bibliography is not showing: I ran a very simple file to test it and I get the same error as in my main file.

\documentstyle{amsart}
\begin{document}
\nocite{*}
\bibliographystyle{amsplain}
\bibliography{C:\Users\...\References}
\end{document}

I get on line 5 (\bibliography)

! Undefined control sequence.<write> \string \bibdata {C:\Users\...\Bibliography ... ...rdo\...\References} 

I am running the correct sequence on TeXMaker to get the bibliography and I even did get an output on other files. the bibtex file is not in the same folder as the script, but there is no difference when they are together. What is wrong?

EDIT

 \documentclass{article}

 \begin{document}
 \cite{Franceschini.2008}
 \bibliographystyle{amsplain}
 \bibliography{C:/Users/.../References}
 \end{document}
  • 1
    Are you using ... to mask the path in your MWE or you really have them in your document? – karlkoeller Feb 24 '15 at 9:41
  • Can you give a minimal failing example? – Raphael Feb 24 '15 at 11:33
6

\Users is an undefined command. Use / as the path separator.

  • That solves the error, thank you! But I still get no bibliography. I cite one reference in the text, but I get the warning it is undefined and nothing is printed out at the end. I updated the MWE – laureapresa Feb 24 '15 at 9:34
  • @writingthesis have you run bibtex? then latex again? – David Carlisle Feb 24 '15 at 9:39
  • @writingthesis but don't edit the question to ask a new question: That makes the site impossible for later readers to follow. If one question is answered move on, and if necessary ask a new question (but needing latex bibtex latex latex is a faq) – David Carlisle Feb 24 '15 at 9:41
  • Yes. PdfLaTeX + BiB(la)TeX(x2) + PdfLaTeX(x2) + View Pdf – laureapresa Feb 24 '15 at 9:41
  • Sorry about it, I was just trying to solve this issue once and for all. I'll ask a new question if you prefer. And ... is there just to mask the path – laureapresa Feb 24 '15 at 9:43

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.