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.
--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:22xdvipdfmx
, to whichxetex
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