Re: [Vim-latex-devel] Compilation

2008-06-18 Thread Simon Preston
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! SIDTex_SetCompilerMaps() I added
call Tex_MakeMap(s:ml.lz, PlugTex_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
[EMAIL PROTECTED][EMAIL PROTECTED]
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-latex-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/vim-latex-devel


-
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-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel


Re: [Vim-latex-devel] Compilation

2008-06-18 Thread Simon Preston


 b) Sometimes after compilation I get a press a Button message. So far
 only happened in conjunction with latex ran once. So it doesn't seem
 to happen if latex runs multiple times.


On your second point, I also get this behaviour - haven't looked into it
though, and afraid I can offer no insight to why it happens.

Does anybody else know?

Regards, S
-
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-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel