0

My file test2.tex

\documentclass{article}
\usepackage[utf8]{inputenc}

\begin{document}
\section{Hello}
Testing Bibs from Jabref
\cite{einstein}

\bibliography{mybib}
\bibliographystyle{plain}


\end{document}

and my mybib.bib file

@article{einstein,
    author =       "Albert Einstein",
    title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
        [{On} the electrodynamics of moving bodies]",
    journal =      "Annalen der Physik",
    volume =       "322",
    number =       "10",
    pages =        "891--921",
    year =         "1905",
    DOI =          "http://dx.doi.org/10.1002/andp.19053221004"
}

Compile using pdflatex -interaction=nonstopmode -synctex=1 test2.tex

I always get an error : Citation einstein is undefined and No file test2.bbl

What am I missing?

0 Answers0