Texmaker and TeXstudioTeXstudio | Build only PDF

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

TeXstudio | Build only PDF

Post by Erik_Svendsen »

Hi.

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

TeXstudio | Build only PDF

Post by localghost »

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

Code: Select all

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
Thorsten
Erik_Svendsen
Posts: 5
Joined: Thu Sep 08, 2011 9:20 am

Re: TeXstudio | Build only PDF

Post by Erik_Svendsen »

Thank you very much.


I am still interested in a solution. For example how to clean up afterwards
setapracima
Posts: 1
Joined: Thu Jun 20, 2013 6:37 am

Re: TeXstudio | Build only PDF

Post by setapracima »

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
Post Reply