reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Recurrent compilations create tmp subdirectories #112

Open MartinHjelm opened 6 years ago

MartinHjelm commented 6 years ago

I noticed that the compilation started going slower and slower and my computer losing more and more space. It seems that for me the command

ltx2any -lf pdf main

creates subdirectories on each run instead of overwriting the current tmp directory like,

main_tmp/main_tmp/main_tmp/main_tmp...

Is this how it should be? I know that I can set the -c to delete the tmp directory on every run.

I am on a Mac with OSX 10.12.6 and ruby 2.5.1p5 and pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018)

reitzig commented 5 years ago

No, that definitely shouldn't happen. I can not reproduce it here, either.

If you speak Ruby, note how the combination of this and this should prevent the tmp folder from being copied. Not sure why this would fail (on macOS?).