BibTeX, biblatex and biberCitation in LaTex - question mark+author-year

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

Citation in LaTex - question mark+author-year

Post by dane »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Citation in LaTex - question mark+author-year

Post by Ijon Tichy »

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 Infominimal working example?

See also: Question mark or bold citation key instead of citation number

Off-topic: I would recommend to use biblatex + biber instead of the old fashioned [t]\bibliographystyle[/t] and BibTeX.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
dane
Posts: 4
Joined: Fri Sep 13, 2019 10:17 am

Citation in LaTex - question mark+author-year

Post by dane »

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
(964 Bytes) Downloaded 261 times
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Citation in LaTex - question mark+author-year

Post by Ijon Tichy »

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.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply