TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to make latexmk works with XeLaTeX and biber for my thesis. The document will have many cross references. What settings do I need to ensure it works correctly? My current settings for latexmk are below.

$pdflatex=q/pdflatex -synctex=1 %O %S/
share|improve this question
up vote 7 down vote accepted


$pdflatex=q/xelatex -synctex=1 %O %S/

in the .latexmkrc file.

For Biber, look at this discussion. However the latest version of latexmk coming with TeX Live 2011 works with Biber, choosing it automatically when needed (thanks to PLK for pointing this out).

share|improve this answer
The latest version of latexmk which comes with TexLive 2011 works fine with biber. – PLK Sep 4 '11 at 20:26
@PLK: I'll change my answer, thanks for remarking. – egreg Sep 4 '11 at 20:30

As this is still very high on google:

LatexMk (since 4.31) supports the -xelatex option and auto-detects biber.

Therefore, in the fabulous world of 2015:

$ latexmk -xelatex biberedtexfile.tex

works fine.

share|improve this answer

Your Answer


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.