I am trying to switch from natbib to biblatex for references, but I'm facing some issues and I can't really understand the problem. The .bib file I am using is automatically created by Mendeley, it is in the same folder as my tex file and I am using TexStudio.
Here is a MWE:
\documentclass[11pt,a4paper]{article}
\usepackage[
backend=biber,
style=alphabetic,
sorting=ynt
]{biblatex}
\addbibresource{LawsCosmology.bib}
\begin{document}
Lorem ipsum
\cite{Earman2004}
\nocite{*}
\printbibliography
\end{document}
And here is the error message I get:
Process started: bibtex.exe "Ref Laws Cosmo"
This is BibTeX, Version 0.99d (MiKTeX 21.8)
The top-level auxiliary file: Ref Laws Cosmo.aux
I found no \citation commands---while reading file Ref Laws Cosmo.aux
I found no \bibdata command---while reading file Ref Laws Cosmo.aux
I found no \bibstyle command---while reading file Ref Laws Cosmo.aux
(There were 3 error messages)
Process exited with error(s)
Also is there any bibliography style that resembles the APA style for biblatex?
Any help would be much appreciated, thanks.
backend=bibertobackend=bibtexor, better yet, figure out how to run biber instead of bibtex. (biber and bibtex are both external programs.) Incidentally, what makes you think thatstyle=alphabeticwill format the bib entries according to APA style? (For sure,sorting=yntis not compatible with APA guidelines.) Have you thought about maybe usingstyle=apa? – Mico Aug 03 '23 at 08:46backend=biber,. So why are you using bibtex? See https://tex.stackexchange.com/a/154754/2388 (do not switch to the bibtex backend, biber is much better). – Ulrike Fischer Aug 03 '23 at 08:47style=alphabetic, sorting=yntwithstyle=authoryear,. If you want real APA style, replace it withstyle=apa,. If you get any errors from any these things, first clear out the temporary files (.aux,.bbl,.bcf, ...), then recompile and try to fix the errors starting from the first. If you need any help, show us which errors you get and share a document that reproduces the errors. – moewe Aug 05 '23 at 06:11