[Tex/LaTex] XeLatex: problem with aux-directory and include-directory options on TexLive

auxiliary-filesmiktextexlivexetex

I am trying to port some app from MikTex to TexLive (Windows to Ubuntu basically). The options that works perfectly fine with MikTex just ended up as not recognized for TexLive

The options in question are 'include-directory' and 'aux-directory' for XeLatex. Tried the default TexLive 2009 of Ubuntu as well as the latest TexLive 2012 – same result as below:

/usr/local/texlive/2012/bin/x86_64-linux/xelatex: unrecognized option '-aux-directory=/home/user/Desktop/Tex/Aux_sample3_MT2886/'
/usr/local/texlive/2012/bin/x86_64-linux/xelatex: unrecognized option '-include-directory=/mnt/host/WinApp/CarMusTy/bin/template'
/usr/local/texlive/2012/bin/x86_64-linux/xelatex: unrecognized option '-include-directory=/mnt/host/WinApp/CarMusTy/src/res/fonts/wip'
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)

No difference if -aux-directory or –aux-directory. And the 'xetex — help' command does not show those options either.

Wondering if these are MikTex specific options or if I am missing something.

Help is appreciated.

Thank you.

ps: For those curious, this is happening in the CarMusTy application while building the generated tex files on ubuntu (which works perfectly fine on Windows with MikTex, though)

Best Answer

Yes, -aux-directory and -include-directory are specific to MikTeX. web2c/kpathsea-programs (e.g. those from TeXLive) offer only -output-directory.