LaTeX forum ⇒ Texmaker and TeXstudioTeXstudio | Build only PDF

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
Posts: 5
Joined: Thu Sep 08, 2011 9:20 am

TeXstudio | Build only PDF

Postby Erik_Svendsen » Thu Sep 08, 2011 9:24 am


When I do PDFLaTeX then it builds all kinds of files: .aux, .log, .out, .synctex.gz
and I find it very messy.

Is it possible to configure it to build only pdf?
Last edited by Erik_Svendsen on Thu Sep 08, 2011 11:30 am, edited 2 times in total.


User avatar
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Thu Sep 08, 2011 10:02 am

These files are very import for the entire build process of the document.

  • The *.aux contains necessary and thus very important information for lists (e. g. for ToC, LoF, LoT, Index, …)
  • The *.log file contains the log of the whole building process including warnings and error messages. Substantial for debugging erroneous source code.
  • The *.synctex.gz file contains important information for the forward and inverse search between source code and PDF output.

Perhaps your editor supports some kind of cleanup after you have finalized your document. For the present you can call the compiler with a special command line parameter to write all auxiliary files to a certain directory
  1. pfdlatex -aux-directory=dir filename.tex

Your editor should support this addition to the command line parameter in its settings.

Best regards and welcome to the board
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Posts: 5
Joined: Thu Sep 08, 2011 9:20 am

Postby Erik_Svendsen » Thu Sep 08, 2011 11:26 am

Thank you very much.

I am still interested in a solution. For example how to clean up afterwards

Posts: 1
Joined: Thu Jun 20, 2013 6:37 am

Postby setapracima » Thu Jun 20, 2013 6:49 am

I am really interested in making the 'aux', 'log' and 'synctex.gz' temporary. I would like to build my file but when i close my editor (Texmaker) these files get deleted automatically

Return to “Texmaker and TeXstudio”

Who is online

Users browsing this forum: No registered users and 2 guests