\documentclass[a4paper,style=index,xindy,x11names]{book}
\usepackage[T1,LGR,T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[greek,russian,main=british]{babel} % Compile w/PDFLaTeX !!!!!
\languageattribute{greek}{ancient}
\usepackage{cjhebrew}
\usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,columnsep=30pt]{geometry} % Document margins and spacings
\usepackage{amssymb}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{epigraph}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber, useprefix=false]{biblatex}
\AtEveryCitekey{\toggletrue{blx@useprefix}}
\setlength\bibitemsep{\baselineskip}
\addbibresource{references.bib}
\usepackage{xcolor}
\usepackage[linktoc=all, colorlinks]{hyperref}
\begin{document}
This is a sentence \cite{Festinger1957}.
\printbibliography
\end{document}
@book{Festinger1957,
title={A theory of cognitive dissonance},
author={Festinger, Leon},
volume={2},
year={1957},
publisher={Stanford university press}
}
My references render as the cite key, rather than in an APA fashion, which is what I think I have told LaTeX to do. This excellent guide tells me to look for a .blg file, which I do not have.
The MWE above doesn't show it, but there is a glossary involved, so I compile: pdfLaTex → makeglossaries → biber → pdfLaTex → pdfLaTeX. With the exception of biber, all of these have worked for me before. I'm working with VS Code (1.71.2) and MikTeX (22.8.28).
What am I doing wrong?
Edit LaTeX.tool:
{
"name": "biber",
"command": "biber",
"args": [
"%DOCFILE%"
],
"env": {}
}
I also tried without the "env", which also did not work. I do have biber installed and updated according to MiK.
\citeshould be rather replaced with\parencite. – Ironupiwada Oct 03 '22 at 21:25.blgfile. Double check how you have VS Code set up to run these commands, and remember biber is run on the.bcffile. – frabjous Oct 04 '22 at 03:01