Re: [Vim-latex-devel] Compilation
Brought to you by:
srinathava,
tmaas
From: Simon P. <pre...@gm...> - 2008-06-18 11:40:15
|
Simon, Yes, I think that is the standard behaviour. It annoyed me a bit, so I added in ~/vimfiles/ftplugin/latex-suite/compiler.vim the function: function! Tex_SaveCompileView() silent! update call Tex_RunLaTeX() call Tex_ViewLaTeX() endfunction And inside "function! <SID>Tex_SetCompilerMaps()" I added call Tex_MakeMap(s:ml."lz", "<Plug>Tex_SaveCompileView", 'n', '<buffer>') so that now "\lz" saves the tex file, compiles, and opens the viewer. Hope that helps, Simon On Wed, Jun 18, 2008 at 11:21 AM, Simon Friedberger <sim...@a-...<simon%2Bv...@a-...>> wrote: > > Iirc it should be enough to set it to 'evince' on UNIX/Linux systems, the > > filename and ampersand are added by default. > It does not work without. > > > But it is not ViewRuleComplete but ViewRule that you need to change to > 'evince'. > I think you misunderstood me. The command works I just wondered if it > should be executed automatically after compilation. > > Bye > Simon > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > > |