I'm using TeXstudio on OSX and try as I might I can't get a bibliography to compile.
The main doc of my MWE is main1.tex
\documentclass[]{article}
\begin{document}
This is a reference to reference \cite{citation123}.
\bibliographystyle{plain}
\bibliography{testbib}
\end{document}
My .bib file is testbib.bib
@book{citation123,
author = "E. Jones",
title = "A Book Title",
year = "2015" }
When I run Tools>Bibliography, I get this error
Error: One command expansion invalid.
Parent Command: bibliography
Primary Command: bibliography
And then when I run pdflatex it gives the warning
No file main1.bbl.
I walked through the steps described in the solution given for TeXstudio described here: Biblatex with Biber: Configuring my editor to avoid undefined citations
but I always get the errors above. I've tried switching the default bibliography tool to bibtex, bibtex8, and biber; all give the same error. How do I make TeXstudio generate the .bbl
file?
"
is missing after Jones."
, thanks. Same error.\bibliography{testbib}
, but the error you show calls the file by another name"testingbibilio.bbl
. to be successful, those two names should be the same. (it's not clear from your example where the latter name comes from.)testingbiblio.tex
is the name of the main tex document. I just changed the name tomain1.tex
to make this more clear. The name of my bib file istestbib.bib
. I'm fairly certain that my tex and bib files don't need the same names (although I tried making them the same and got the same errors). The warning I get now isNo file main1.bbl
.