BibTeX, biblatex and biberBibliography. New & clueless

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
crum
Posts: 6
Joined: Wed Jul 05, 2023 2:54 am

Bibliography. New & clueless

Post by crum »

Hi. This is my first attempt at the biblatex bibliography feature and I am failing badly. I have no idea what the problem is.

thesis.tex

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[style=numeric]{biblatex}
\addbibresource{references.bib}
\author{boring author}
\begin{document}
\title{boring title}
\author{boring author}
\maketitle

boring text~\cite{blah} more boring text
\printbibliography
\end{document}
references.bib
@article{blah,
author = {boring author},
title = {boringarticle},
journaltitle = {boringjournal},
year = {1677},
}

After clicking the green arrow (Run) in TeXstudio, I look at the Messages/Log:

Process started

This is BibTeX, Version 0.99d (TeX Live 2020/Debian) The top-level auxiliary file: thesis.aux I found no \citation commands---while reading file thesis.aux I found no \bibdata command---while reading file thesis.aux I found no \bibstyle command---while reading file thesis.aux (There were 3 error messages)

Process exited with error(s)

---------
The blah citation appears as [blah] in the document. No bibliography is printed.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Bibliography. New & clueless

Post by Bartman »

According to the section 3.1.1 "Load-time Options" in the biblatex manual, the package is set to work with biber by default. If you don't need to use the bibtex program run by the editor, then change its setting.
crum
Posts: 6
Joined: Wed Jul 05, 2023 2:54 am

Bibliography. New & clueless

Post by crum »

After 3 days (yes, 3 days) of trying, I finally got somewhere. :)

Your post was a great help, Bartman.
After following your advice, I got a whole bunch of other errors.
Empty bibliography.
Undefined blah blah.

...and still no changes in the document. The rest was my own fault.

Options > Configure TeXstudio > Commands
biber % was inputted there. It was blank before.

Then I found out you can do this in terminal:
biber --help
I didn't even have Biber installed! So I installed it with the provided command that shows up after you run biber --help

Then I ran the 2 green arrows in TeXstudio (Build & View)
The I ran Tools > Bibliography.
The I ran the 2 green arrows (Build & View) again.

I finally got it working after that. I can hardly believe it.
3 days!

Thanks so much :)
Post Reply