# Tag Info

137

(The following is an expansion of the biblatex tag entry, which I helped to write). First, some distinctions: bibtex and biber are external programs that process bibliography information and act (roughly) as the interface between your .bib file and your LaTeX document. natbib and biblatex are packages that format citations and bibliographies; natbib works ...

28

The error you are getting is a well known issue with biber. It creates binaries in a cache folder, and sometimes that can get corrupted. In order to solve the problem, you need to manually delete the cache folders. The name of the cache folder will be something like the following: par-<hex_encoded_username>/cache-* ...

26

Here is a MWE (not really minimum, but showing some options) that should get you started. Other possible values for the biblatex options are described in the biblatex documentation. \documentclass[]{article} \usepackage[autostyle]{csquotes} \usepackage[ backend=biber, style=authoryear-icomp, sortlocale=de_DE, natbib=true, url=false, ...

26

It is slower than bibtex which is in C, even if you take into consideration the first run unpacking. Bear in mind that biber does a lot more than bibtex too. They are hardly comparable in functionality at all. Your tikz and maths should make no difference to biber. If your cache is getting deleted every time you run, this will make a huge difference. Easy to ...

24

To parse BibTeX format files, Biber uses a C library called "btparse" which is, for all intents and purposes, 99.9% compatible with BibTeX. So, You should rarely have problem using Biber as a drop-in replacement for BibTeX. As mentioned by others, the issue is rather the slightly different data model which biblatex has compared with the data model in BibTeX. ...

21

There are two ways to make RefTeX find your bibliography. I suggest to use both approaches for robustness. To make RefTeX recognize your bibliography you can add it to the list reftex-default-bibliography. To do this add the following to your .emacs: ;; So that RefTeX finds my bibliography (setq reftex-default-bibliography '("path/to/bibfile.bib")) and ...

21

First, set AucTeX to use Biber: M-x customize-variable RET TeX-command-BibTeX RET and enter Biber in the text field. Then, add the appropriate command: M-x customize-variable RET TeX-command-list RET with the following options: Name: Biber Command: biber %s.bcf How: TeX-run-BibTeX A more elaborate setup could be made to automatically check the ...

18

Biber is only included in the 32-bit version of MiKTeX. Either install the 32-bit version (the 64-bit version is still experimental) or download Biber and copy biber.exe to $texfm$\miktex\bin.

18

As a principle: the more you make use of biblatex/Biber's strengths, the harder it gets to go back to a traditional BibTeX workflow. If you come with your BibTeX database and want to use it with biblatex/Biber there are only few areas you have to tweak: chapter 2.3 of the biblatex manual lists the following points: The entry type @inbook. See §§ 2.1.1 ...

18

I solved this is a mildly hacky way. First of all, I wrote a script called TeXShopBib.sh which looks like #!/bin/sh filestem=${1%.*} bibtype=head -n20 "${filestem}.tex" | sed -n 's/\%[ ]*![ ]*BIB[ ]*TS-program[ ]*=[ ]*$$[a-z]*$$/\1/p' if [ -z $bibtype ]; then echo "No option detected in TeX file. Defaulting to BibTeX." bibtype="bibtex" else ... 17 You should update to the newest version of MiKTeX, because it does already come with Biber included (by update I mean uninstall old version, install newest version, then run update manager). Biber will then be installed under %ProgramFiles(x86)%\MiKTeX 2.9\miktex\bin\biber.exe Then you only need to tell Texmaker to use biber % instead of bibtex %.aux (see ... 16 run texdoc biber from the command line and you'll get the documentation. However, using biber as a replacement for bibtex you have to define the backend with \usepackage[backend=biber,...]{biblatex} and then change your bibtex run into a biber one, that is all. 16 This is now implemented in Biber 0.9.8. Here is how to deal with your question. Given the sample file: \begin{filecontents}{\jobname-primary.bib} @BOOK{hectic, AUTHOR = {Henry Hectic}, TITLE = {How Horticulturalists Howl}, PUBLISHER = {Honorary Books: Henage}, YEAR = {2000} } \end{filecontents} ... 15 I've just updated the dev biber doc with instructions for this (and for TeXworks) http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/development/documentation/biber.pdf I have patched files for AUCTeX 11.86 which implement much more robust biber/biblatex support, details in the biber doc. New features are - much more biblatex macro ... 15 You should not mix up the the bib file-format and bibtex. Bibtex is a program that sorts and formats entries of the bib-file according to a style you specify. Bibtex has a few disadvantages, especially now when more and more people use utf8 as a file encoding. The problem of using a bib file with bibtex was always that you had to chose a style ... 15 It seems that Biber tries to be smarter than LaTeX. ;-) Perhaps there's a BibLaTeX/Biber way, but a workaround is easy to find. We just define the characters inputenc doesn't know. \begin{filecontents}{\jobname.bib} @BOOK{test, author = {A. Uthor}, title = {A title with some$\langle \Psi \rangle $stuff}, year = {2014}, publisher = {A Company}, } ... 14 Good multi-field sorting can't really be done using regexps. You have to be able to compare fields in a user definable order, with each field match locally allowing for case-sensitivity, ascending/descending, perhaps UTF-8 variable weight punctuation etc. While this is probably theoretically doable with a (very expanded, serious, like Perl's) regexp engine ... 13 They aren't really comparable. Biblatex+biber vs NbibTeX is a better comparison as the features of biblatex+biber are possible because the different tasks are parcelled out to engines with the most appropriate capabilities. Biblatex+biber do a great deal more than BibTeX or NbibTeX. NbibTeX allows users citation "keys" to be essentially a match on bib data. ... 13 I've discussed this with the biblatex maintainer and we will probably aim for a style implementation of this with biblatex 3.x. With 1.7/0.9.6, the following will be possible. You will have to use the experimental biblatexml datasource format for such entries (you can still have all of your normal entries in bibtex format). <?xml version="1.0" ... 13 Disclaimer: This answer might be considered a hack, so there's no garantee to work for every document. :) egreg and I were talking in the TeX, LaTeX and Friends chat room about the possibility of extending rubber to use biber. This answer is only possible because of his insight. Grazie mille, egreg. :) First of all, note that rubber does not seem to be ... 13 You have to assign a meaning to the Unicode characters you're using and that aren't set by default. Here's a way. \begin{filecontents*}{\jobname.bib} @article{concellon_synthesis_2006, title = {Synthesis of Enantiopure ({αS,βS)-} or ({αR,βS)-β-Amino} Alcohols by Complete Regioselective Opening of Aminoepoxides by Organolithium Reagents {LiAlH4} or ... 12 Actually, the field you should clear is labelmonth, not month. If you change the command to \clearfield{labelmonth}, it works. To fully clear months, you should clear both labelmonth and month. This is because authoryear styles use labeldate=true and therefore the label* fields are used as the sources for the various date fields. labelmonth and labelday ... 12 Hacking \UrlBreaks is not needed for \url inside the bibliography of biblatex. Package biblatex uses \biburlsetup and has already added lots of characters. The breaking at some character classes is controlled by counters. From the documentation of biblatex, "4.10.3 User-definable Lengths and Counters": biburlnumpenalty: If this counter is set to a value ... 12 Here is one approach which gives exactly the result you want. Put this in your biber.conf: <?xml version="1.0" encoding="UTF-8"?> <config> <sourcemap> <maps datatype="bibtex" map_overwrite="1"> <map maptype="field"> <map_pair map_source="AUTHOR"/> <also_set map_field="SHORTAUTHOR" ... 12 Couple of things: You don't need to add the [datatype=bibtex] option to \addbibresource - that's the default You need the full filename e.g. \addbibresource{bibliography.bib}. The optional arguments don't help with this. Biber is not run on the .bib file, it's run on the .bcf file which is produced when you use the backend=biber option to biblatex. You can ... 12 Sometimes (I am not sure why or when) biber gets stuck. It has something to do with running bibtex instead of biber but I haven't pinpointed it. Anyway, if you get a message like FATAL - Error loading data source package 'Biber::Input::file::bibtex': data source /tmp/par-username/cache-* then, removing the whole folder should solve the problem. In Linux ... 12 \documentclass{article} \usepackage{biblatex} \AtEveryBibitem{% \ifentrytype{inproceedings}{% \clearfield{year}% }{% }% } \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{A01, author = {Author, A.}, year = {2001}, title = {Alpha}, } @inproceedings{B09, author = {Buthor, B.}, editor = {Cuthor, C.}, year = {2009}, ... 12 By default, latexmk treats .bbl files as non-regeneratable. This is because the .bib from which they are made is not always available. See the documentation for a fuller explanation, especially the explanation of the$bibtex_use variable. To get latexmk -C to delete .bbl files, put the following in an initialization file: \$bibtex_use = 2;

11

You can't reliably do this yourself by either bib file keywords or style edits because maxnames (and maxbibnames, maxalphanames) is used internally by biber to do all sorts of things when generating the .bbl. So if it's not supported in biber as a per-entry option, entry information will potentially be wrong/inconsistent like labels, hashes and ...

11

Load biblatex in your main document using \usepackage[<options>]{biblatex}. Your configuration file biblatex.cfg should look as follows: \ProvidesFile{biblatex.cfg} \ExecuteBibliographyOptions{backend=biber} \endinput UPDATE: As Jonathan has hinted, with biblatex v2.0 (released July 2012) backend has become a loadtime option, so it is not possible ...

Only top voted, non community-wiki answers of a minimum length are eligible