Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use biblatex, but I still go through running bibtex on my .bib files, rather than biblatex-biber, which is/will be preferred. How do I arrange for C-c C-c to run the relevant biber command, rather than bibtex?

share|improve this question
    
You can also use latexmk (which automatically runs biber when it's needed for a document) with emacs, see e.g. stackoverflow.com/questions/7587287/… –  N.N. Oct 18 '11 at 20:20
1  
You may also want to setup Emacs for editing biblatex bibliography files. –  N.N. Feb 15 '13 at 15:23

2 Answers 2

up vote 22 down vote accepted

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 backend and set TeX-command-BibTeX accordingly.

share|improve this answer

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 font-lock highlighting, auto-detection of biber/bibtex usage, much better auto-prompting for which tool to run next etc. If you use these updated lisp files, no extra setup is needed at all.

UPDATE: AucTeX 11.87 is now released and includes this biber support.

share|improve this answer
    
Great work! Relatedly there is biblatex support in BibTeX mode since Emacs 24.1. –  N.N. Dec 13 '12 at 7:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.