Package: vim-runtime Version: 1:7.1.314-3+lenny2 Severity: minor Tags: patch
Hello, if I write in a tex-document: \begin{align} a&=b\\ \intertext{bla bla bla} \end{align} the text inside the Statement intertext is highlighted as a formular and there is no spell checking inside it. There are different possible solutions. A first workaround ist to create a file in ~/.vim/after/syntax/tex.vim with: if !exists("tex_no_math") syn region texText matchgroup=texStatement extend contained start='\\\(\(inter\)\?text\|mbox\){' end='}' contained...@texmathzonegroup contai...@texfoldgroup,@Spell endif which matches the statements \text,\intertext and \mbox. The solution for this package is to add these 3 lines to /usr/share/vim/vim71/syntax/tex.vim. Dear sandro --- System information. --- Architecture: i386 Kernel: Linux 2.6.26-1-686 Debian Release: 5.0 600 testing ftp5.gwdg.de 50 unstable ftp5.gwdg.de 50 unstable deb.opera.com 1 experimental ftp5.gwdg.de --- Package information. --- Depends (Version) | Installed =========================-+-============= dpkg (>= 1.14.20) | 1.14.23 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org