Thursday, May 14, 2015

Re: Check spelling inside \textbf{} in LaTeX file

Paul wrote:
> Charles E Campbell <drchip <at> campbellfamily.biz> writes:
>> paul wrote:
>>> Is there a simple way to get spellcheck to check the text inside
>>> \textbf{} commands? I currently convert all occurances of textbf
>>> to a dummy command just so the spell check will look inside the
>>> braces. I also sent a document to the boss with spelling errors
>>> before discovering the immunity of text inside \textbf{} to
>>> spell-check.
>>>
>> Please try syntax/tex.vim v83 from my website:
>> http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX. You may
>> put it in your $HOME/.vim/syntax directory; eventually it will
>> appear with vim's distribution.
> Sorry for the tardy response. I just tried it. It certainly
> highlights spelling errors with textbf. It seems to turn on italics
> and bold at random points in the tex file. I think I can use it just
> for the spell-check phase. I can disable it by simply removing read
> permission.
>
Would you give me a snippet where there's problematic italic and bold
highlighting?

Thank you,
Charles Campbell

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: