Hi all,

I just installed vim-latex on an Ubuntu system with vim 7.3.429.

I extracted the source vim-latex-1.8.23-20130116.788-git2ef9956.tar.gz and
then I ran Make install and it installed in
/usr/local/share/vim.

To use it, I added
set runtimepath^=/usr/local/share/vim
to my .vimrc

and everything is fine: it works perfectly (BTW, thanks a lot for this
wonderful script!).

The problem is when I try to customize it: following the instructions in
texrc, I created the file
~/.vim/ftplugin/tex.vim
Inside it, I put:

let g:Tex_CompileRule_dvi = 'vimlatex latex -interaction=nonstopmode
-src-special $*'
let g:Tex_ViewRuleComplete_dvi = 'xdvi 2>/dev/null'
let g:Tex_ViewRule_dvi = 'xdvi 2>/dev/null'
let g:Tex_Folding = '0'
let g:Tex_AutoFolding = '0'
let g:Tex_Leader = ','

let g:Tex_UseUtfMenus = '1'
call IMAP('sss', '^{<++>}<++>', 'tex')

When I open a tex file, this is correctly source since, for example, the
sss map works correctly. I can also see that the variables get the correct
value; yet, some of them do not have the expected result. Namely:
- The file is opened folded, despite Folding and AoutFolding are 0.
- Leader is still `  (and, again, :let Tex_Leader  returns , correctly)
- In the menu Tex-Math I don't see the graphic of the symbols
- Also, I had to set _both_  Tex_ViewRule_dvi and Tex_ViewRuleComplete_dvi:
setting only one of them I missed one of the ,ls or ,lv shortcuts

Please note that if I make all the changes in
/usr/local/share/vim/ftplugin/latex-suite/texrc
then everything works as expected but, as indicated in the starting comment
of texrc, I would prefer not to do so, so that I do not have to bother in
case of upgrade.

Can someone please help me? Am I missing something?

Thanks a lot

Mario
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to