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 05:17:03
|
On Wed, 2011-02-16 at 13:11 +0800, Ng Oon-Ee wrote: > On Tue, 2011-02-15 at 23:28 -0500, Ted Pavlic wrote: > > > So you could set g:Tex_ViewRuleComplete_dvi for your particular project > > > to use the right jobname. Otherwise, it would be difficult for vim-latex > > > to figure out the right jobname. > > > > Connecting this with the response I just sent, you can of course put > > something like... > > > > :let g:Tex_ViewRuleComplete_dvi='your view rule with jobname included' > > > > inside your latexmain file. The latexmain files get sourced. If you > > don't like the extra buffer that gets opened, then make sure the > > latexmain file looks like "main.latexmain" as opposed to > > "main.tex.latexmain". Both should get sourced though. > > > > --Ted > > > 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? > Oh, and while that would work for \lv, doesn't seem to be a corresponding function for \ls |