Št, 2006 06 03 16:31 +0200, Knut Birger Lunde rašė:
> Hi, latex-suite is really great!
> However I can not make viewLatex \lv and forward search \ls work with  
> kdvi, by setting:
> let g:Tex_ViewRule_dvi = 'kdvi'.
> Des anyone have a solution for this problem?

At least in my texrc  I have

if has('win32')
        TexLet g:Tex_ViewRule_ps = 'gsview32'
        TexLet g:Tex_ViewRule_pdf = 'AcroRd32'
        TexLet g:Tex_ViewRule_dvi = 'yap -1'
elseif has('macunix')
        " Let the system pick.  If you want, you can override the choice here.
        TexLet g:Tex_ViewRule_ps = 'ggv'
        TexLet g:Tex_ViewRule_pdf = 'evince'
        " TexLet g:Tex_ViewRule_pdf = 'Acrobat\ Reader\ 5.1'
        TexLet g:Tex_ViewRule_dvi = 'xdvi'
else
        TexLet g:Tex_ViewRule_ps = 'ggv'
        TexLet g:Tex_ViewRule_pdf = 'evince'
        TexLet g:Tex_ViewRule_dvi = 'xdvi'

I remember that I had to explicitly set the same option for macunix and
else in order for my settings to work. That would be the first thing to
look at. The second would be to check the location of texrc file. Maybe
you have two copies both in ftplugin/tex and ftplugin/latex-suite. The
correct place is the first one. It is written in comments at the
beginning of the texrc file. If this does not help, use the debugging
file. Set 

TexLet g:Tex_DebugLog = '/home/mpiktas/tmp/lsuite.debug'

with apropriate file of course. Reload the latex-suite and try \lv. In
the debug file you will see what is happening. 

Good luck!

Vaidotas




_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to