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:
Code: Select all
\documentclass{article}\usepackage{biblatex}\title{EXAMPLE}\addbibresource{bib.bib}\begin{document}\maketitleThis is a citation \textcite{example2008}.\printbibliography\end{document
EXAMPLE
This is a citation Example [1].
References
[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:
Code: Select all
\documentclass{article}\usepackage[backend=biber,style=apa]{biblatex}\title{EXAMPLE}\addbibresource{bib.bib}\begin{document}\maketitleThis is a citation \textcite{example2008}.\printbibliography\end{document
EXAMPLE
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:
Code: Select all
[conchobhar@archlinux ~/Work]$ biber latexINFO - This is Biber 2.19INFO - Logfile is 'latex.blg'INFO - Reading 'latex.bcf'INFO - Found 5 citekeys in bib section 0INFO - Processing section 0INFO - Looking for bibtex file 'unicitation.bib' for section 0INFO - 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 latexThis is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Arch Linux) (preloaded format=pdflatex)restricted \write18 enabled.entering extended mode(./latex.texLaTeX2e <2022-11-01> patch level 1L3 programming layer <2023-02-22>(/usr/share/texmf-dist/tex/latex/base/article.clsDocument Class: article 2022/07/02 v1.4n Standard LaTeX document class(/usr/share/texmf-dist/tex/latex/base/size10.clo))(/usr/share/texmf-dist/tex/latex/biblatex/biblatex.sty(/usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty(/usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty)(/usr/share/texmf-dist/tex/generic/iftex/iftex.sty)(/usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty))(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty)(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)(/usr/share/texmf-dist/tex/latex/kvoptions/kvoptions.sty(/usr/share/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty))(/usr/share/texmf-dist/tex/latex/logreq/logreq.sty(/usr/share/texmf-dist/tex/latex/logreq/logreq.def))(/usr/share/texmf-dist/tex/latex/base/ifthen.sty)(/usr/share/texmf-dist/tex/latex/url/url.sty)(/usr/share/texmf-dist/tex/latex/biblatex/blx-dm.def)

Cheers!