Your message dated Wed, 4 Aug 2010 11:19:27 -0400
with message-id <[email protected]>
has caused the report #509908,
regarding [vim-runtime] syntax/tex.vim: mathmode doesn't highlight text the
right way
to be marked as having been forwarded to the upstream software
author(s) Charles Campbell <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
509908: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509908
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Charles,
As described below, use of some text commands inside a texMathZone
doesn't enable spell-checking for the contents of the text commands.
Is this something that would be feasible to add?
On Sat, Dec 27, 2008 at 12:49 PM, debian <[email protected]> wrote:
> 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.
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>
--- End Message ---