>> Many TeX oriented 'front end' text editors offer a "clean" macro to
>> delete such files. Can someone point me to how this is/might be done
>> in vim or latex-suite?
> i am not sure how this can be done from inside vim, but in general i
> have a makefile {where i keep the .tex file} with a target clean, that
> removes all the "leftover" files. When i type make clean it deletes
> everything i don't want. Maybe something like this will help you:

It's worth noting that if a Makefile is found in the current directory, 
Vim-LaTeX (the latex suite) will use it to build your project (rather 
than calling latex itself).

In particular, Vim-LaTeX passes the target format to the "make" 
processes as its target. So you can define targets like "pdf" and "dvi" 
in your Makefile that build your project.

(note: you can disable Vim-LaTeX looking for the Makefile; 
alternatively, if you're using GNU's make, you can use a GNUmakefile 
rather than a Makefile. Vim-LaTeX doesn't look for those)

--Ted


-- 
Ted Pavlic <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to