Sublime Forum

LaTeX -- Plugin -- Cleanup Auxiliary Files

#1

The original question (which has since been edited numerous times) was the beginning of my ongoing quest to deal with the LaTeX auxiliary files using TexLive (MacTeX) on OSX (Snow Leopard and Mountain Lion) with Sublime Text 2.

Here is my unofficial modification of the LaTexTools plugin – build, save *.tex on build, dirty work occurs in /tmp directory, build window closes on success, copy *.pdf to working directory – Skim uses the *.pdf in the /tmp directory.

github.com/lawlist/LaTexTools-U … dification

Here is my own plugin – build, save *.tex on build, clean-up working directory when done. I have also added a /tmp dirty work and copy *.pdf back to working directory. They are two separate plugins in the same Python file.

github.com/lawlist/ST2-plugin-l … uild-clean

Jan Hlavacek was kind enough to provide a Bash script-based solution:

tex.stackexchange.com/questions/ … x-document

0 Likes

LatexTools: Handle auxiliary files
#2

This is also possible with the plugin LaTeXing even for ST3, latexing.com

0 Likes

#3

Guys, please be patient. I’ve been overwhelmed lately (yes, I do have a day job :smile: ). This is something I’ll surely add to LaTeXTools as soon as I get my life back…

If you sent a patch via github, it will be eventually looked at and, if it doesn’t conflict with other things in the plugin, it will be pulled. Just keep in mind that I’d doing this in my spare time, for free.

marciano
(LaTeXtools author).

0 Likes

#4

FYI, as promised, the latest update (6/21/2013) of LaTeXTools has this feature. Hit C-l,backspace [where C- means ctrl on Windows and Linux, and Command on OS X] to delete auxiliary files.

I have pushed a bunch of other highly demanded fixes and new features, including tex engine selection for TeXlive.

You’ll get an update from Package Control, or get it from github. Enjoy! M.

0 Likes

#5

With the current version of Sublime Text, how can I clean up the auxiliary files?

0 Likes