LaTeX forum ⇒ BibTeX, biblatex and biberBiber not displaying bib

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
siou0107
Posts: 1
Joined: Tue Nov 22, 2022 7:54 am

Biber not displaying bib

Postby siou0107 » Tue Nov 22, 2022 8:59 am

Hello,

I get no compilation error, but the bibliography just won't print. Deleting Biber cache of my editor (Texifier 1.9.12) did not work, and deleting PDF file to typeset it again just lets me lose my output without regenerating any. File is almost empty, do not know what to do… Options I used on Biber have been commented out, even the most basic call did not work.

\documentclass[11pt]{article}
\usepackage{geometry}
\geometry{a4paper, total={170mm, 247mm}, left = 20mm, top = 25mm}
\usepackage{amssymb}
\usepackage[pdfpagelabels,bookmarks,hyperindex,hyperfigures]{hyperref}

\usepackage{biblatex} %[backend=biber, style=alphabetic]
\addbibresource{myBibliography-ext.bib}

\usepackage[utf8]{inputenc}
\usepackage[british]{babel}

\title{My doc}
\author{My name}
%\date{\displaydate{date}}
% Activate to display a given date or no date \date{}

\begin{document}
\maketitle
\nocite{BCe}
\section*{Notations}
An element $x = \left(x^1, ..., x^d\right) \in \mathbb{R}^d$ is a column vector with transpose $x'$.

\section{Section}
Stuff
\clearpage

\appendix

\section{Appendix}
Other stuff in appendix

\printbibliography %[heading=bibintoc]

\end{document}


Bibliography
@book{BCe,
	author = {Doe, John AND Dane, Jeanne-Fran\c{c}oise},
	date-modified = {2022-11-22 07:31:07 +0100},
	publisher = {Springer},
	title = {Some Book},
	year = {2016}}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

Biber not displaying bib

Postby MjK » Tue Nov 22, 2022 11:18 am

A Infominimal working example combined for the online editor:
\begin{filecontents}{myBibliography-ext.bib}
@book{BCe,
	author = {Doe, John AND Dane, Jeanne-Fran\c{c}oise},
	date-modified = {2022-11-22 07:31:07 +0100},
	publisher = {Springer},
	title = {Some Book},
	year = {2016}}
\end{filecontents}
\documentclass[11pt]{article}
\usepackage{geometry}
\geometry{a4paper, total={170mm, 247mm}, left = 20mm, top = 25mm}
\usepackage{amssymb}
\usepackage[pdfpagelabels,bookmarks,hyperindex,hyperfigures]{hyperref}

\usepackage{biblatex} %[backend=biber, style=alphabetic]
\addbibresource{myBibliography-ext.bib}

\usepackage[utf8]{inputenc}% You don't need this line with LaTeX >= 2018/04/01.
\usepackage[british]{babel}% I would always select the language before loading most other packages.

\title{My doc}
\author{My name}
%\date{\displaydate{date}}
% Activate to display a given date or no date \date{}

\begin{document}
\maketitle
\nocite{BCe}
\section*{Notations}
An element $x = \left(x^1, ..., x^d\right) \in \mathbb{R}^d$ is a column vector with transpose $x'$.

\section{Section}
Stuff
\clearpage

\appendix

\section{Appendix}
Other stuff in appendix

\printbibliography %[heading=bibintoc]

\end{document}

does work in the online compiler. So this is a configuration issue on your computer, either the editor or the TeX distribution. First have a look into the directory of the document. Is there a file with extension .log and file date/time of your last LaTeX run? If so, have a look into it. It's a simple text file, so you can open it with the editor. Are there any error message or other strange messages? If there isn't such a file, already calling LaTeX has been failed. Try another LaTeX editor. If you cannot find something strange in the log file, search for a file with extension .blg and file date/time of your last biber run. Do the same with this file, as mentioned for the log file, because this is the log file of biber.

Doing the LaTeX run and the biber run manually from a terminal window (don't forget, you need at least: LaTeX + biber + LaTeX + LaTeX for a complete build) could also give more information. At least after doing so, you know whether you have a LaTeX, biber or editor issue.

BTW: I don't know anything about TeXifier. So I don't know anything about using the editor to delete the biber cache. However, you can also try biber --cache in a terminal window. If this works, you can manually delete the shown directory. Note: The next biber run after deleting the cache will be slow, because it first has to build a new cache. If biber --cache already fails, you have to search the cache directory manually and delete it manually.

Note: Sometimes updating MacTeX/TeX Live and deleting all auxiliary files in the document directory (make a backup copy before!) can solve problems. Unfortunately sometimes things get worse by an update.
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.

c_robin
Posts: 1
Joined: Sun Jun 23, 2024 1:32 pm

Biber not displaying bib

Postby c_robin » Sun Jun 23, 2024 1:33 pm

Hi, did you ever find a solution to this? I'm also attempting to a compile a bibliography in Texifier and am facing exactly the same issue.

It's such a shame that Texifier is running into this issue as it's a great UI for interfacing with Latex...


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 3 guests