This question already has an answer here:

On Windows (MiKTeX), lualatex has a --aux-directory switch. On Linux (TeXLive) it does not. Why is that? If it is a downstream patch only present in MiKTeX, why is it not in upstream lualatex?

It seems like the same issue affects pdflatex and other engines

marked as duplicate by Phelype Oleinik, Milo, Bobyandbob, user36296, Keks Dose Aug 9 '18 at 15:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
  • 3
    your up/downs stream references are a bit confusing in this context, miktex and texlive are not derived from each other so you wouldn't normally say miktex is downstream of texlive. but anyway aux-directory is miktex specific, it is mostly covered by the functionality of the -output-directory option in texlive, Personally I think either of them is a really bad idea over and over again we see people with broken documents as aux files have been directed to some non standard place and then the user has failed to configure every other program in the tex pipeline to find them. – David Carlisle Jul 1 '18 at 19:56
  • @DavidCarlisle: Referencing to "upstream", I meant lualatex, not texlive. – genodeftest Jul 1 '18 at 21:51
  • @DavidCarlisle: I've seen these two switches break TeX a lot too, but I like them very much because they help me finding my source files again. Having tens of generated files mixed between my source code makes it hard to work. Having them in a separate folder makes it nice and clean. Also, having output and aux dir separate is more like programming: aux directory is the ccache equivalent, output directory is the bindir equivalent. – genodeftest Jul 1 '18 at 21:54
  • 1
    @genodeftest I've seen that argument before, but I don't understand it to be honest, the directory I use for testing mwe from this site for example has at the moment 1508 aux files and 1689 tex files but I don't see why that interferes at all? – David Carlisle Jul 2 '18 at 6:56

Browse other questions tagged or ask your own question.