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.

  • 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 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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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