0

I am using TeXWorks and running pdfLaTeX + MarkeIndex + BibTeX. I made my .bib file with the newest version of JabRef for PC. Here is my MWE:

 \documentclass[notitlepage]{article}

 \usepackage[backend=biber, style=alphabetic, citestyle=authoryear]{biblatex}

\usepackage{amsfonts}
\bibliography{/C:/Users/Ryan Schiller/Kannai}
\begin{document}

\printbibliography{}
\end{document}

I get the following error:

No pages of output. Transcript written on "try it.log".

Sorry, but "MiKTeX Compiler Driver" did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

C:\Users\Ryan Schiller\AppData\Local\MiKTeX\2.9\miktex\log\texify.log

But as you can see, I do have a .bib file:enter image description here

So I renamed the document to "tryit" without a space. Then I deleted my aux files. Then in command line I ran pdflatex tryit.tex, pdflatex tryit.tex,biber tryit.tex, pdflatex tryit.tex

But on the first run, I got the error:

LaTeX Warning: Empty bibliography on input line 10. (tryit.aux) LaTeX Warning: There were undefined references. Package biblatex Warning: Please (re)run Biber on the file: (biblatex) tryit (biblatex) and rerun LaTeX afterwards. ) No pages of output. Transcript written on tryit.log

How do I get my references?

  • Don't add the same .bib file with \addbibresource and \bibliography, use only one of the two. I strongly prefer \addbibresource. Note that if you use \addbibresource you must include the file extension (.bib), but you must not include it when you use \bibliography. The MWE as shown will not produce any bibliography or citations because nothing was cited, see tex.stackexchange.com/q/17128/35864. Unfortunately the .log info produced by texify is not very helpful. In any case you need to run Biber on your document and not BibTeX. – moewe Aug 8 at 18:20
  • I looked into it more, and I am still getting errors. What would you recommend here? – EverythingEnds Aug 8 at 19:26
  • To get to the bottom of the errors, do not use texify. Run LaTeX, Biber, LaTeX, LaTeX manually (best would even be from the command line/console/terminal if you are comfortable with that; assuming your .tex document is called test.tex you need to run pdflatex test, biber test, pdflatex test, pdflatex test in that order). Before you do that delete all temporary files (.aux, .bbl, .bcf, ...). If you managed to run LaTeX, Biber, LaTeX, LaTeX without error upload the .log and .blg files. See also tex.stackexchange.com/q/286706/35864 – moewe Aug 8 at 19:42
  • 1
    Avoid spaces in file names. – egreg Aug 8 at 21:29
0

I was mixing up Biber and Bibtex. I also didn't have keys for my sources.

Not the answer you're looking for? Browse other questions tagged or ask your own question.