## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Citation in LaTex - question mark+author-year

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
dane
Posts: 4
Joined: Fri Sep 13, 2019 10:17 am

### Citation in LaTex - question mark+author-year

I am trying to cite in LaTex.

Code:

\bibliographystyle{plainnat}

\begin{document}

repeated interactions\cite(Axelrod1985)

\bibliography{C:/citations/library.bib}

\end{document}

the output gives me: repeated interactions [?]Axelrod1985) instead of repeated interactions (Axelrod1985).

Do you know I can get rid of the question mark?

Thanks!

Ijon Tichy
Posts: 265
Joined: Mon Dec 24, 2018 10:12 am
Have you run BibTeX (concrete: pdflatex+bibtex+pdflatex+pdflatex)? Can you show us the *.blg file of the BibTeX run? Is the cite-key correct? Can you show us a minimal working example?

Off-topic: I would recommend to use biblatex + biber instead of the old fashioned [t]\bibliographystyle[/t] and BibTeX.

dane
Posts: 4
Joined: Fri Sep 13, 2019 10:17 am
I am using WinEdt so I cannot run BibTeX. I can only run PDFTeXify.
I attached the .blg file...

Many thanks,
Dan
Attachments
Eran dissertation proposal.blg

Ijon Tichy
Posts: 265
Joined: Mon Dec 24, 2018 10:12 am
You've used \cite(…) instead of \cite{…}. Note \cite is a usual LaTeX command. Only picture commands use (…) (for coordinates etc.). Generally LaTeX commands use {…} for mandatory arguments and […] for optional arguments.

Off-topic: I would recommend to learn, how to run LaTeX and the single auxiliary programs yourself. PDFTeXify is a nice helper application, but it may fail and sometimes it is useful to be able to do the single runs on your own to find out the reason of a problem.