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 am trying to set up Texmaker, so I can use latexmk with xelatex, as biber seems already supported by latexmk. I confess I do not understand how I should proceed about it. For latexmk, I am actually using this command line:

latexmk -e "$pdflatex=q/xelatex -synctex=1 -interaction=nonstopmode/" -pdf %.tex.

I have also created and modified the file .latexmkrc as described in the list, but this should only work from the command line.

share|improve this question
Does settings in .latexmkrc not affect latexmk run via Texmaker? – N.N. Nov 22 '11 at 9:00
@N.N. It seems not in my case, but I am not entirely sure. Sorry for the unhelpful answer – Roberto Gozzoli Nov 22 '11 at 11:05

I've put that line (slightly modified) in a "user command" in Texmaker

latexmk -e "$pdflatex=q/xelatex -synctex=1 -interaction=nonstopmode/" -pdf %

and the document has been built successfully.

share|improve this answer
There also is an option -xelatex, but your version seems better because -xelatex might not include -synctex=1 -interaction=nonstopmode, which seems advisable for Texmaker. – doncherry Oct 14 '12 at 21:52

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.