[Tex/LaTex] How to make LaTeXmk work with XeLaTeX and biber


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/

Best Answer


$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).