I am new to Latex and I am trying to incoorperate references/bibliography in my document. First I want to get the code working that I got from here http://www.bibtex.org/Using/
\documentclass[11pt]{article}
\usepackage{cite}
\begin{document}
\title{My Article}
\author{Nobody Jr.}
\date{Today}
\maketitle
Blablabla said Nobody ~\cite{Nobody06}.
\bibliography{mybib}{}
\bibliographystyle{plain}
\end{document}
The .bib file is as follows
@misc{ Nobody06,
author = "Nobody Jr",
title = "My Article",
year = "2006" }
This doesn't work. It doesn't show my list of references and when it should cite
~\cite{Nobody06}
then it just displays
[?]
If have read that this has something to do with bibtex not running the right files. I should see this in my blg file. But I have not been able to find my blg file yet.
It's probably a super simple solution but I haven't found it. I am using TexWorks and MikTex.
Thank you for your help
\bibliography{mybib}? – Joseph Wright Apr 13 '18 at 09:37\bibliography{mybib}{}is something I am not familiar with...I am used to a format like\bibliography{mybib}that means that thebibfile that will be used is named "mybib.bib"... also usually this command follows the\bibliographystylecommand. Edit: I suppose that the second{}just left there by mistake and you can remove it... I dont think it creates a problem... But doesn't belong there – koleygr Apr 13 '18 at 09:39