Hello, I found what was wrong.
The first problem was my idiocy; I had opened a file with no errors,
made an error, then tried to compile without saving, since I'm used to a
LaTeX editing environment that automatically saves before compiling. Sorry.
The second issue is I believe a bug and I found the problem. In
"compiler.vim" on line 289 the execution command is being given with an
"&" at the end so that it opens in the background. For evince (and other
viewers I tried) on Ubuntu 8.10, this will result in nothing getting
opened. Removing the ampersand makes everything work alright. Any idea
why this is?
A. Torgovitsky wrote:
> Hi, I have two problems I hope you could help me with.
>
> 1. When I compile using \ll I can verify that compiling worked (or
> didn't, if I had errors in the .tex file), but instead of getting the
> error window in gvim I just get a quick flash of some text.
>
> 2. I can't get viewing to work. I have set in my ~/.vim/tex.vim file:
> let g:Tex_ViewRule_ps='evince'
> let g:Tex_ViewRule_pdf='evince'
> let g:Tex_ViewRule_dvi='evince'
>
> When I try to view using \lv, I see ":call Tex_ViewLaTeX()" in the
> command window, but nothing happens. If I issue ":call
> Tex_ViewLaTeX()" myself still nothing happens. However, I can do
> ":!evince <path to my file>" and get evince to successfully open up.
>
> Any ideas? Thanks!
>
|