0

I am trying to get xelatex to output the pdf into a separate folder, say pdf, (also separate from the other build files in say build). I am running

-xelatex -synctex=1 -interaction=nonstopmode -shell-escape -output-directory=pdf

following the -output-directory directive that is recommended in pdflatex for this. Unfortunately, without success so far. I run it on Linux with texlive.

3
  • --output-directory will work but as with pdftex I'd avoid it, it vastly complicates the setup for at best cosmetic benefit. – David Carlisle Jan 23 at 23:22
  • 1
    if you want more specific help you'd need to show the error you got: "without success" is hard to debug... – David Carlisle Jan 23 at 23:24
  • The PDF file is actually created by xdvipdfmx, to which xetex hands over the .xdv file it produces (one page at a time). As far as I know, xdvipdfm doesn't handle an -output-directory option. – egreg Jan 24 at 10:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.