Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

hey guys i have pasted the command latexmk -e "$pdflatex=q/xelatex -synctex=1 -interaction=nonstopmode/" -pdf % but i am getting this error

Process started

latexmk

: The Per

l interpreter could not be found.

Process exited with error(s)

can you help me with this

share|improve this answer
    
Welcome to TeX.sx! Your question won't be seen by many people here, so it would be best to repost it as a fresh question. Follow-up questions like this are more than welcome! Please use the "Ask Question" link for your new question; there you can link to this question to provide the background. Alternatively, "star" it as a favorite and you will be notified of any new answers. –  Claudio Fiandrino Nov 6 '13 at 8:15
    
well i guess i have asked one or two questions separately just for the sole purpose to know how to use xetex or xelatex in texmaker but i have not found the solution yet here are the questions that i have asked btw ... tex.stackexchange.com/questions/135712/… tex.stackexchange.com/questions/135316/… –  Shaheryar Nov 7 '13 at 5:43
add comment

Your Answer

 
discard

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.