Configure kile and biblatex
- Go to
Settings->Configure Kile
- Choose on the left
Build
- Choose
New
and insert the namebiber
- Now
click on this new item and insert on
the right into the field for the
command
/usr/local/texlive/2010/bin/x86_64-linux/biber
(this example shows my path) - Into the
parameter field insert
"%S"
- Now
enable the
Quick Build
item on the left and addbiber
in the field on the right.
Close the windows and everything should work. At the first time when running biber it takes a lot of time because it has to unpack all included files into a temporary directory. In your document do not forget to set
\usepackage[backend=biber,...]{biblatex}
With the latest version of biblatex
it should be the default.
EDIT: It seems like my method calls biber every time it compiles after all, so scratch this. I was pretty certain I checked that it worked like I wanted, but it seems like I was wrong. I'll leave my answer below anyway.
Since this is the top result in Google for "kile biber" and "kile biblatex", and the question doesn't have a perfect solution (@Herbert's answer seems to run biber every time I compile, which is unnecessary), I'll try and explain my solution to this problem. I'm not completely certain I understand how my solution works, but at least it seems to do what I want, which is:
- Automatically run
biber
and rerunpdflatex
when needed (when I change my bibliography or citations) when I run the toolPDFLaTeX
in KileTo make Kile work as wanted this is what I did:
First we make a new configuration for the
BibTeX
tool:
- Go to
Settings -> Configure Kile... -> Tools -> Build
- Select
BibTeX
in the window underSelect a tool
- On the right side under
Choose a configuration for the tool BibTeX
, press theNew
button- Enter the name
Biber
- In the
General
tab:
- in the
Commmand
field enterbiber
, in theOptions
field enter"%S"
- In the
Advanced
tab
- Set everything equal to the
Default
configuration, except theSource extension
, which should bebcf
- Set everything equal to the
Default
configuration in theMenu
tabNow just make sure that this new configuration is selected in the drop down box
Choose a configuration for the tool BibTeX
, and that the boxAutomatically run additional tools
is ticked off in the configuration you use for thePDFLaTeX
tool. Now the toolPDFLaTeX
can be run by itself, or used in another tool likeQuickBuild
, and it will automatically runbiber
and rerunpdflatex
when needed.I'm on Linux Mint 15 (olivia) (basically Ubuntu 13.04), using Kile version
2.1.3
, pdflatex version3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
, and biber version0.9.9
. I think those are the versions from the default repositories, but I'm not certain.
Go to Settings, Configure Kile. In the left panel, select Tools and Build. Press the "New..." button. Follow the next image instructions:
Now, from "Select a tool" listbox, select QuickBuild. Perform the necessary changes to have the same that the illustration:
Press OK and compile your file/project :)
Reference: Florian Schöngaßner webpage.