First of all, Precise ships with a prehistoric TeXLive 2009, so I needed the 2012 backport:
sudo add-apt-repository ppa:texlive-backports/ppaStill no biber though, as the 0.9.9 version in the repository is broken (and has been for ages). There are binaries on sourceforge: biber 0.9.9, x86 and x64, which I untarred in ~/bin/.
sudo apt-get update
sudo apt-get dist-upgrade
Now for the Kile configuration. I followed this blog (it's in German, but the pictures are self explaining), but got a persistent "[Biber] failed to start" message. The reason was that Kile has no idea about the user's path settings - so anything like biber or even ~/bin/biber will fail.
/home/<myusername>/bin/biber worked nicely.
Example code:
\usepackage[style=numeric-comp,backend=biber,maxnames=3,sorting=none,abbreviate=true,firstinits=true,isbn=false,url=false,doi=false]{biblatex}The biber documentation can be found here.
\addbibresource{bibfile1.bib}
\addbibresource{bibfile2.bib}
[…]
\printbibliography
Hi,
ReplyDeleteSorry, but can you be more explicit about "even ~/bin/biber will fail. /home//bin/biber worked nicely.". I don't understand if it is in Linux or kile that you set up something.
Thanks a lot ...
Sorry - I realise on rereading that it's a bit short and confusing. Also, quite a while ago :)
ReplyDeleteI assume it's the General tab in kile's tool configuration. In the first screenshot in the linked blog post, the input field after 'Command' just says 'biber'. Didn't work for me, I had to put in the absolute path to the biber executable. HTH.
I'll probably check the current state of biber and rework the post a bit.
Update:
ReplyDeleteIf you're on Xenial, there are again dependency problems. This bug discussion has a fix:
https://bugs.launchpad.net/ubuntu/+source/biber/+bug/1565842
oK ... thank you for the info.
ReplyDelete