1

I would like to use citing in my document. I have an *.bib file like this:

@misc{ Nobody06,
       author = "Nobody Jr",
       title = "My Article",
       year = "2006" }

My document is this:

\documentclass[11pt]{article}
\usepackage{cite}

\begin{document}

\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle

Blablabla said Nobody \cite{Nobody06}.

\bibliography{refm}{}
\bibliographystyle{plain}
\end{document}

but I can't see this reference at the end of my document. How can I solve this problem?

  • 1
    The \bibliographystyle command should precede \bibliography (remove also the empty {}). Did you run BibTeX? – egreg May 3 '14 at 14:23
  • 2
    Are you running bibtex and then pdflatex (or latex) again? – Sigur May 3 '14 at 14:24
  • 1
    @Sigurwhat should I do exactly? – Kaja May 3 '14 at 14:30
  • I'm almost sure that your editor has a button or menu which says BibTeX. Clique on it. – Sigur May 3 '14 at 14:32
  • 3
    In order for the references to appear, you must first run pdfLatex, then BibTex, and then pdfLatex again. – cbento May 3 '14 at 14:37
0

A minor change is needed in your bib file:

@misc{ Nobody06,
       author = {Nobody Jr},
       title = {My Article},
       year = {2006}
 }

For making pdf do the following commands:

pdflatex yourfile.tex
bibtex yourfile
padflatex yourfile

And the yourfile.pdf would be ready.

  • Note that I replaced ".." with {..} – BeC Jul 14 '15 at 13:15

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.