Menu

#424 Support for -aux-directory option in pdflatex

open
nobody
None
1
2013-05-18
2013-03-28
Anonymous
No

pdflatex (and maybe others) generate lots of additional files that are not needed after compiling. Even though we have the 'remove auxiliary files' option, support for the -aux-directory=<directory> option may be very handy to keep your directory clean. Directly adding this to the pdflatex path is not possible because Texstudio cannot find the log file afterwards.

Discussion

  • Benito van der Zander

    Directly adding this to the pdflatex path is not possible because
    Texstudio cannot find the log file afterwards.

    There is an option on the build page: Additional Search Paths : Log File

    Then it can find it

     
  • Eyzel

    Eyzel - 2013-03-30

    Thank you, that works. That option is well-hidden though! Also, it doesn't work for .synctex.gz files, which are not incuded in the functionality of the -aux-directory command. So maybe it would be better to have a seperate option (checkbox) and a directory text field to make this less of a hassle?

    A more simple option to at least make it work could just be a new directory for .synctex.gz files in the "additional search paths" section. BTW, I think that the "additional search paths" option is a bit weird, as it is always hidden by a checkbox, regardless if it's used or not.

     
  • Eyzel

    Eyzel - 2013-03-30

    Besides, the 'remove auxiliary files' option now doesn't work of course.

    Another thing: it gives an error
    "I couldn't open file name `{filename}.aux'"
    when using the aux-directory option, so it doesn't find any bibtex references. (Cross-references seem to work fine, for some reason.)

     

    Last edit: Eyzel 2013-03-30

Anonymous
Anonymous

Add attachments
Cancel