On Sun, Aug 16, 2009 at 06:04:29PM -0400, Raffi Khatchadourian wrote:
> On Aug 16, 2009, at 3:17 PM, Till Maas wrote:
>
>> On Sat, Aug 15, 2009 at 04:44:41PM -0400, Raffi Khatchadourian wrote:
>>> Sorry, I should have mentioned that spell was being set in my .vimrc
>>> file. I've tried creating the tex.vim file and adding the suggested
>>> line setlocal spell. What I just discovered is that the spell
>>> underlining works for certain tex files but not others! That's very
>>> strange. Any help would be greatly appreciated, thanks!
>>
>> Someone might help you a lot easier, if you provide an minimal example
>> tex file for which the spell checking does not work.
>
> Well, this was an interesting exercise! It seems that the spell check  
> only works when certain environments and commands are used. For example, 
> the spell check works fine when the \begin{document} and \end{document} 
> commands are present. It also works when the \section{...} and 

The problem is afaics not vim-latex related, but maybe somehow hidden in
the tex syntax rules shipped with vim. This is a workaround that works
here on Fedora 10:

:syntax spell toplevel

References:
http://vimdoc.sourceforge.net/htmldoc/syntax.html#:syn-spell
:help spell-syntax

Nevertheless it would be nice if you could forward this to the tex
syntax file maintainer, but I do not know how to get in contact with
him.

Regards
Till

Attachment: pgpHuttVF3SOJ.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to