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?
pdflatex test2.tex,bibtex test2,pdflatex test2.tex,pdflatex test2.tex? – Mensch Sep 06 '16 at 17:49.bbland.auxfiles . . . – DG' Sep 06 '16 at 17:51latexmk, which is also theLaTeXiladefault... – DG' Sep 07 '16 at 12:14