On Tue, Nov 20, 2007 at 01:29:41PM +0000, Stephen Wilkinson wrote:
> I don't know how to > test for "if not" so I've put the statement in
> the "else" part

 if !has("gui_running")
     :nnoremap <buffer> <Plug>Tex_Compile :call Tex_RunLaTeX()\|redraw!<cr><cr>
 endif

by the way, I added another <cr> to the end of the line because I got
one of these annoying "Press ENTER or type command to
continue"-prompts..

> Martin, I saw your reply to the thread "output of xdvi shows in tex file" -
> and thought maybe the same trick would apply. I get the same problem with
> xdvi writing its output into my tex file

Well, I guess you have seen the

        xdvi.hushStdout: true

Setting for .Xdefaults already. If xdvi still writes to stderr, you could
try

        $ alias xdvi="xdvi 2>/dev/null"

This should work as
 
  $ xdvi 2>/dev/null somefilethatisnotdvi

does not print anything (while it does without redirection). You are on
a *nix system, aren't you?

> Thanks for your help,

You're welcome. I have profited so much from the FLOSS community that I
am glad I can help some other people myself. Good for my Karma (not that
I am a Buddhist, rather a fan of "My Name is Earl").

Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to