Re: [Vim-latex-devel] Able to do compilation in a sub-directory?
Brought to you by:
srinathava,
tmaas
From: Ng Oon-Ee <ng...@gm...> - 2011-02-16 02:40:58
|
On Tue, 2011-02-15 at 21:22 -0500, Ted Pavlic wrote: > > pdflatex -output-directory ./tmp foo.tex > > > > The output file (foo.pdf) would also appear there, which is where the > > lack of a -output-filename hampers things (if such would exist, we could > > just specify the filename to be something like ../foo) > > You can always supplement with symlinks. For example, just once: > > ln -sf tmp/foo.pdf > > Then anytime after that: > > pdflatex -output-director ./tmp foo.tex > > Suddenly a "foo.pdf" will get placed within the current directory, and > it should get updated every time you run pdflatex again. > > --Ted > Yes, I did think of that, but the symlink will always exist even if the file does not =). Its plenty good enough though, so that's probably what I'll use going forward. Now to figure out whether this affects include paths etc. |