Updated MiKTeX files, now miktex-xelatex.exe "-aux-directory=DIR" and "-output-directory=DIR" options suddenly conflict?
Christopher Weedall <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <CAMCFPwnXB1NURMB3YeK51VkaK_z=nD7V6qJNoF0Ns02fsbid_A@mail.gmail.com> |
Hello, Apologies if this topic has been addressed, but searching the archives, I couldn't find anything. I have been using the following in a batch file to build my LaTeX documents for many months without issue: @miktex-xelatex.exe -enable-enctex -enable-etex -enable-installer -enable-mltex -enable-pipes -enable-write18 -synctex=1 -aux-directory=_build_files -output-directory=./ "%1.tex" Today, I updated (both as user and as admin) MiKTeX, which has a bunch of .exe file updates/removals. Everything builds more or less properly, but the -aux-directory option seems to have just completely stopped working when -output-directory is present. It seems -output-directory now acts like -aux-directory **AND** overrides it. I had been using -aux-directory for all the build files, but still wanted -output-directory for putting the .pdf and .synctex.gz files. It seems like this may be a bug introduced into the most recent 2016-12-23 version of MiKTeX executable files. I have found a workaround, which is acceptable for the time, but I'm concerned this is a bug and I better bring attention to it - or to at least figure out why it was changed and if there is an appropriate way to deal with these changes. Workaround: 1. Remove -output-directory completely from the above command call 2. Copy the .pdf file from the build directory back into the .tex document folder 3. Copy the .synctex.gz file from the build directory back into the .tex document folder Thank you in advance for insight into this situation! Best, Chris ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Q: How can I leave the mailing list? A: See http://docs.miktex.org/faq/support.html#leavingml