2011/3/16 Ng Oon-Ee <ngoo...@gmail.com>: > Some time back I asked about compilation in a subdirectory, some > suggestions were given about using output-directory or similar, but each > has its own share of bugs, so I gave up on that. > > After some more thought, however, would something like this be workable? > A step-by-step process:- > > 1. When compile is called (from \ll or from the menu or command-line) > for the first time, perform compilation as usual. > 2. After compilation finishes (or errors out), move all files with the > extensions .aux, .bbl, .log, .out, and .blg (perhaps some more?) to a > folder (maybe ./tmp) > 3. When compile is called again, mv all files with the extensions > mentioned before from ./tmp back to the calling directory, then work as > usual. thats exactly what i try to do with let g:Tex_CompileRule_pdf = 'mv -f tmp/* .;dvipdf $*.dvi;mv -f *.log *.aux *.dvi tmp' in ~/.vim/ftplugin/tex.vim
it works, but i'm sure this is not the best haking. Perhaps a "native" solution would be better. > > Notes:- > 1. The extensions handled this way should probably be editable. > 2. The usual compile process should not be affected if this is > implemented. > 3. Files should still be moved after compile fails to keep the main > directory tidy. This may require changes to the error browser (simplest > may be to hard-code the temp directory name and just always look for > errors there) > > Please comment whether this is a good idea. As far as I can see this > would not require major changes (not that I know how the entire suite > actually works). The number of files in my main directory is getting to > be slightly annoying, and I can't imagine I'm alone in that. > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Vim-latex-devel mailing list > Vim-latex-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > -- Gastón Araguás ______________________________________________________ CIII - Centro de Investigación en Informática para la Ingeniería Univ. Tecnológica Nacional Facultad Regional Córdoba. Argentina ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel