When I install it by apt-get on ubuntu, it doesn't work. Afterwards I download its source file and install it manually. Now it works.
But it uses evince as default dvi viewer and the output is quite bad. So I first change the default viewer by right click the icon of file and choose xdvi. It works just when I open the dvi file but not for gvim.
So I think I need set vim-latex's parameter. Finally I get it:
Open a .tex file and type "let g:Tex_ViewRule_dvi = 'xdvi'" . Now use the shortcut \lv of this suit, it show the file by xdvi.
I add this line to ./vim/ftplugin/tex.vim file. Now it works fine.
I also try the kdvi, but it can not work here. I still don't know the reason.
No comments:
Post a Comment