[Tex/LaTex] LaTeXmk, xelatex and Texmaker

latexmktexmakerxetex

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.

Best Answer

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.