Thanks for the tip! the addon thing worked for me as well. It should be
done automatically by apt-get when installing the vim-latexsuite...
whatever...

On the xdvi stuff, my solution is having the following tex.vim in the 
~/.vim/ftplugin directory:
" Increasing search, finds occurrences when typing
set incsearch
" TIP: if you write your \label's as \label{fig:something}, then if you
" type in \ref{fig: and press <C-n> you will automatically cycle through
" all the figure labels. Very useful!
set iskeyword+=:
setlocal sw=2
"setlocal formatoptions+=a
setlocal spell
vmap ,b "zdi\textbf{<C-R>z}<ESC>
vmap ,e "zdi\emph{<C-R>z}<ESC>
vmap ,t "zdi\texttt{<C-R>z}<ESC>

func WriteLatex()
        :w
        :call Tex_RunLaTeX()
endfunc


 " Latex-Suite
let g:Tex_CompileRule_dvi = 'latex -interaction=nonstopmode -src-specials $*'
if v:servername != ""
        let g:Tex_ViewRule_dvi = 'xdvi -editor "gvim --servername 
'.v:servername.' --remote +\%l \%f"'
endif

cmap we :call WriteLatex()

Happy latex/vimming!
Rub

-- 
[gutsy] latexsuite doesn't load in vim after install
https://bugs.launchpad.net/bugs/137205
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to