Hello and thanks to begin with for reading my question.
I'm trying to do an important project in LaTeX, but I am finding some trouble. It has a heavy bibliography that I was hoping biber could help me with, but the format wasn't working and \printbibliography didn't print anything. So I made a simplified test file and the same happened.
I run the test on a separate file with a separate .bib. TeXworks didn't show any errors while running it on XeLaTeX or pdfLaTeX, but the bibliographic refferences still didn't work after a few compilations.
After searching this page for similar problems, I tried running it from PowerShell, and there I was told the .bcf file was missing. I checked my original file and, sure enough, no .bcf file had been generated.
The only problem is I don't know why. I have biber well installed.
\documentclass[11pt,leqno]{article}
\linespread{1.6}
\pdfpagewidth=\paperwidth
\pdfpageheight=\paperheight
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{amsfonts}
\usepackage{kvoptions}
\usepackage{etoolbox}
\usepackage{logreq}
\usepackage{pdftexcmds}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage[backend=biber]{biblatex}
\usepackage{hyperref}
\addbibresource{bib.bib}
\author{author}
\date{date/date/date}
\title{Titleing}
\begin{document}
\maketitle
University
\pagebreak
\begin{abstract}
Abstract
\end{abstract}
\pagebreak
\section{Section 1}
Testing the waters~\cite{test1}. Then we make another one~\cite{test2}.
\pagebreak
\printbibliography
Failed
\end{document}
And this is the .bib file
@article{test1,
author = "Autor Aleatorio",
title = "Titulo Titulado",
journaltitle = "Jornal la Jornada",
year = 2023}
@book{test2,
author = "Donio Donde",
title = "Liber libertas",
year = 2023,
editor = "Donde Donio",
edition = 7,
publisher = "publi"}
menu edit->preferences->typesetting->processing toolsif your tools (the one beside the green arrow has an option --clean or something with output directly, if yes remove them. – Ulrike Fischer Jan 09 '24 at 22:55.bcffile is produced by a LaTeX (pdfLaTeX, LuaLaTeX, XeLaTeX, depending on your document and your preferences) run on your main.texfile. This file should be in the same directory as your main.texfile after the run. It is very unusual for this file not to be produced at all - you'd have to have had fatal errors along your LaTeX run if that is the case. Some editors try to be clever and move temporary files like the.bcfto a different '"build" location'. So check if there is a subdirectory in the directory of your.texfile that contains the.bcf. Check your editor settings – moewe Jan 10 '24 at 05:56.bcffile. You run Biber on the base name (the name without file extension) of your main.texfile. (In particular Biber is not run on the.bibfile name). After the successful Biber run you should run LaTeX twice more. So assuming your document is calledmydoc.texyou can run both LaTeX and Biber onmydoc, e.g.pdflatex mydoc,biber mydoc,pdflatex mydoc,pdflatex mydoc. You can read more about this at https://tex.stackexchange.com/q/63852/35864. – moewe Jan 10 '24 at 05:59\usepackage{hyperref}is enough. Becausehyperrefhas to work together with so many packages, it should usually be loaded last (save for a couple of exceptions). So you should remove your first\usepackage{hyperref}. ... – moewe Jan 10 '24 at 06:03biblatexyourself in the preamble.biblatexwill take care of that. There is generally no need to pollute your preamble with\usepackage{logreq},\usepackage{kvoptions},\usepackage{etoolbox},\usepackage{pdftexcmds}, unless you need to use features of these packages beforebiblatexis loaded (unlikely for most). – moewe Jan 10 '24 at 06:03pdflatex mydoccall went through without an error. If that's not the case, you can't expect any result. (Not sure if that's the case here, but it's the only issue I can imagine at the moment.) – moewe Jan 11 '24 at 05:49