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-17 08:58:23
|
On Wed, 2011-02-16 at 14:16 +0800, Ng Oon-Ee wrote: > On Wed, 2011-02-16 at 01:11 -0500, Ted Pavlic wrote: > > >> :let g:Tex_ViewRuleComplete_dvi='your view rule with jobname included' > > >> > > >> inside your latexmain file. The latexmain files get sourced. If you > > > What would a 'view rule with jobname included' look like? > > > > > > My current view rule is simple 'okular', and I assume 'blah.dvi' is > > > automatically appended. How do I change what is appended? Or should I > > > simply put 'okular foo.dvi' where foo is the jobname? > > > > Yes, > > > > okular foo.dvi > > > > would probably be what you would want. That way \lv executes it > > directly. Unfortunately, that will likely break Vim-LaTeX's ability to > > view temporary files generated by compiling fragments (i.e., temporary > > targets generated when using \ll while you have highlighted a block of > > LaTeX code). > > > > --Ted > > > Looks like its best just to skip 'jobname' entirely and simply rename > the file myself for final submission =). Thanks Ted and the rest who > have replied. > And as a final closure for this, nope this method won't work. vim-latex doesn't know where to find foo.aux for bibtex, so won't run it, and you won't get your bibliography. Quite a pity, really. Back to having all files in the root folder =). |