I have a trial.tex file with the following content:
\documentclass[12pt,twoside]{report}
\usepackage{biblatex}
\addbibresource{trial_ref.bib}
\begin{document}
2 plus 2 equals 4.\parencite{test}
\printbibliography
\end{document}
And then a trial_ref.bib file located at the same directory:
@article{test,
author = {Pythagoras},
title = {On the result of 2 + 2},
journaltitle = {Ellinikos Mathematikos},
year = {100 bC}
}
However I don't get a bibliography section at all.
biber? It does not happen automatically? You need to run something similar topdflatex,biber,pdflatex,pdflatex. With that your example works fine for me. – daleif May 23 '22 at 08:01.blgfile (a simple text file) that logs all warnings and errors. – moewe May 23 '22 at 08:03datefield, and use the-0100format. For more info see Section 2.3.8 of the Biblatex manual – Guido May 23 '22 at 08:09pdfLaTeX, then once withBiber, and then twice withpdfLaTeX. However it doesn't work. When I run it withbiberI get the following error:INFO - This is Biber 2.17 INFO - Logfile is 'trial.blg' INFO - Reading 'trial.bcf' ERROR - Error: Found biblatex control file version 3.3, expected version 3.8. This means that your biber (2.17) and biblatex (3.7) versions are incompatible. See compat matrix in biblatex or biber PDF documentation. INFO - ERRORS: 1. I'm using rhe TexWorks IDE. – zest16 May 23 '22 at 08:17biberandbiblatex, these need to match. – daleif May 23 '22 at 08:47apt/apt-get, please mention your OS)? Did you install any packages manually? Do you maybe have several TeX live installations on your machine? – moewe May 23 '22 at 09:57biberis:execve: Permission denied. – zest16 May 23 '22 at 10:15biblatexand are generally not necessary. See also https://tex.stackexchange.com/a/447539/35864. What do you get when you typewhich -a tlmgr,which -a pdflatex,which -a biberin the command line? What do you get if you typekpsewhich -all biblatex.sty? – moewe May 23 '22 at 14:57biblatexis at version 3.7 (from December 2016)! It is pretty odd that thebiblatexversion is so old. It is possible that you don't have several TeX live installations, but a local outdated copy ofbiblatex.stysomewhere. In addition to the output of the queries from my comment above, can you upload the.logfile of the LaTeX run on the example document to a text-sharing site such as https://pastebin.com/ or https://gist.github.com/, please? – moewe May 23 '22 at 15:05trial.log: https://pastebin.com/xtZmNmLH – zest16 May 24 '22 at 10:10~> which -a tlmgroutputswhich: no tlmgr in (/home/bscuser/.local/bin:/home/bscuser/bin:/usr/local/bin:/usr/bin:/bin);~> which -a pdflatexoutputs/usr/bin/pdflatex;~> which -a biberoutputswhich: no biber in (/home/bscuser/.local/bin:/home/bscuser/bin:/usr/local/bin:/usr/bin:/bin);~> kpsewhich -all biblatex.styoutputs/usr/share/texmf/tex/latex/biblatex/biblatex.sty. – zest16 May 24 '22 at 10:11tlmgrindicating it is from your OS package manager. Can you show us a screenshot of your TeXmaker "Commands" settings where you configure all the programs? – moewe May 24 '22 at 14:51/home/bscuser/.config/TUG/TeXworks.confand "Resources":/home/bscuser/.TeXworks/. (https://imgur.com/8aGH2TK). The location of the file I installed from that page is/home/bscuser/Downloads/. – zest16 May 25 '22 at 07:39/home/bscuser/Downloads/? Normally, when you install from TUG.org, you get an install script that guides you through the installation and lets you select a installation directory? Did you actually run the script you downloaded? What directory did you tell it to install into? – moewe May 25 '22 at 15:58install-tl-unx.tar.gzis indeed in/home/bscuser/Downloads/. What I did was unpack that directory and follow the instructions under "Running the installer"(https://tug.org/texlive/quickinstall.html).cd /your/unpacked/directory perl install-tl [... messages omitted ...] Enter command: i– zest16 May 26 '22 at 06:58/usr/local/texlive/2022/bin/x86_64-linuxto the top. Delete all temporary files (.aux,.bbl,.bcf, ...) and compile again. Hopefully that already works. You definitely have two TeX systems. One is probably system installed, but does not include all of TeX Live. You also have the vanilla TeX live from TUG. If you change the PATH settings to prefer the TUG TeX Live we'll hopefully no longer have version mismatches. – moewe May 27 '22 at 13:46