440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
before   {key13}


Hide temporary files created by TeXShop

MacOsxHints

Friday September 7, 2007. 04:30 PM
MacOsxHints

The problem: (pdf)LaTeX creates loads of intermediate files before it creates the PDF file. This results in your directory being cluttered by useless files (.log, .aux, .vrb and so on). You may try to get rid of them by using the command pdflatex --output-directory=.tmp in TeXShop, but then your PDF file won't automatically show up (because it also ends up in the temporary directory). Here comes a possible solution.Save the following python script in a location of your choice (say /Library » TeX » Root » bin » pdflatex.py):tmp_dir = '.tmp'import os, sys, shutiltex_file = sys.argv[-1]f, ext = os.path.splitext(tex_file)assert ext[1:] == 'tex'if not os.path.isdir(tmp_dir): os.mkdir(tmp_dir)os.system('pdflatex --shell-escape --output-directory=%s %s' % (tmp_dir...
problem (pdf)LaTeX creates loads intermediate files before creates file. This Hide temporary files created TeXShop
Hide temporary files created by TeXShop Read more at MacOsxHints
feeds.macosxhints.com/~r/macosxhints/recent/~3/153462431/article.php

 

 Related News 

Search

Mac Zicos
Sun September 7, 09:22 AM
before   {key13}