LaTeX forum ⇒ LaTeX Beginner's GuideIssues with biblatex, unable to format citation style

Questions and answers about the LaTeX Beginner's Guide

Issues with biblatex, unable to format citation style

Postby ConchobharOMathuna » Sun Feb 11, 2024 4:42 pm

Hi, I'm running LaTeX for the first time natively on my system, rather than using OverLeaf, and I'm having some issues being able to change my citation style to APA.

SET UP: I am running Arch Linux, vim is my text editor, I downloaded all of the basic TeX Live programs listed in the Arch wiki, and I don't use any auto-compilers, just commands from the terminal.

ISSUE: I'm able to make the default citation style just fine, but whenever I try to add anything in square brackets to the \usepackage{biblatex} command, the text comes up in red on vim, and the pdf will unformat all citations made in the text to just be the author name.

This code will result in a document with functional citation:
This is a citation \textcite{example2008}.


This is a citation Example [1].

[1] Example Author. "An Example". In: vol. 1(2). Example Quarterly, 2008, pp. 1-234.

This code will not cite properly, and anything in the square brackets will be red no matter what:
This is a citation \textcite{example2008}.


This is a citation Example.

%\printbibliography will not run

I'm still rather new to Linux and working with computers directly in general, so I'm not really sure what I'm supposed to be looking for in an error report and how to debug, but here's what is displayed in my terminal when I run biber and pdflatex to compile the document:

[conchobhar@archlinux ~/Work]$ biber latex
INFO - This is Biber 2.19
INFO - Logfile is 'latex.blg'
INFO - Reading 'latex.bcf'
INFO - Found 5 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex file 'unicitation.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'unicitation.bib'
INFO - Overriding locale 'en-US' defaults 'normalization =
NFD' with 'normalization = prenormalized'
INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting list 'nty/global//global/global' of type 'entry' with template 'nty' and locale 'en-US'
INFO - No sort tailoring available for locale 'en-US'
INFO - Writing 'latex.bbl' with encoding 'UTF-8'
INFO - Output to latex.bbl

[conchobhar@archlinux ~/Work]$ pdflatex latex
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Arch Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-22>
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def))) (./latex.aux)
(/usr/share/texmf-dist/tex/latex/biblatex/lbx/english.lbx)))) (./latex.bbl)
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) [1{/var/lib/tex

LaTeX Warning: Empty bibliography on input line 60.

[2] (./latex.aux)

LaTeX Warning: There were undefined references.

Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                latex
(biblatex)                and rerun LaTeX afterwards.

Output written on latex.pdf (2 pages, 64119 bytes).
Transcript written on latex.log.

Any help is appreciated, I have a review paper to finish in three days and this has to get solved :D


Recommended reading 2024: • •
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics

Issues with biblatex, unable to format citation style

Postby ConchobharOMathuna » Sun Feb 11, 2024 7:56 pm

Update: problem has been solved! Apparently, \usepackage{graphicx} (something I copied over from Overleaf} was interfering with the functionality of biblatex in my main document. I guess four hours of testing can do something :lol:

User avatar
Stefan Kottwitz
Site Admin
Posts: 10199
Joined: Mon Mar 10, 2008 9:44 pm

Issues with biblatex, unable to format citation style

Postby Stefan Kottwitz » Tue Mar 05, 2024 1:27 am

Welcome to the forum! Good to hear that it's solved!


Last bumped by Anonymous on Tue Mar 05, 2024 1:27 am. admin

Return to “LaTeX Beginner's Guide”

Who is online

Users browsing this forum: No registered users and 5 guests