LaTeX forum ⇒ BibTeX, biblatex and biberCitation 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

Postby dane » Fri Sep 13, 2019 10:20 am

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!

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

Postby Ijon Tichy » Fri Sep 13, 2019 11:31 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 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.

dane
Posts: 4
Joined: Fri Sep 13, 2019 10:17 am

Postby dane » Fri Sep 13, 2019 12:42 pm

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 19 times

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

Postby Ijon Tichy » Fri Sep 13, 2019 1:41 pm

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.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: MSN [Bot] and 5 guests