help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spell-checker compatible with LaTeX?


From: Porky Pig
Subject: Re: spell-checker compatible with LaTeX?
Date: Tue, 04 May 2010 15:41:15 -0000
User-agent: G2/1.0

On Feb 28, 2:21 am, Teemu Likonen <tliko...@iki.fi> wrote:
> * 2010-02-11 14:34 (-0800), Porky Pig wrote:
>
> > I'm trying to figure out what's the current status of spell checker
> > for emacs. In particular, I"m looking for one that's understand LaTeX
> > and compatible with Auctex. I did some searches on web, but still
> > can't figure out if anything is available at all. I'm runing emacs/
> > auctex under Windows XP.
>
> If you only need a real-time spell-checker (à la flyspell-mode) you can
> use wcheck-mode [1]. It aims to be very much configurable and compatible
> with "everything". You can use it with any command-line (spell-)checker
> tool. To make it compatible with LaTeX (Auctex) I use this
> configuration:
>
> (setq-default
>  wcheck-read-or-skip-faces
>  '((emacs-lisp-mode read font-lock-comment-face font-lock-doc-face)
>    (message-mode read nil message-header-subject message-cited-text)
>    (latex-mode read                     ; "read" the following faces
>                nil                      ; nil means normal text
>                font-latex-sectioning-1-face
>                font-latex-sectioning-2-face
>                font-latex-sectioning-3-face
>                font-latex-sectioning-4-face
>                font-latex-bold-face
>                font-latex-italic-face
>                font-lock-constant-face)
>    (org-mode skip                       ; "skip" the following face(s):
>              font-lock-comment-face)))
>
> So in latex-mode only normal text (nil), section headers etc. are read.
> All other faces are skipped.
>
> ---------------
>  1.http://www.emacswiki.org/emacs/WcheckMode

Thanks a lot. I'll take a look at it. I've just noticed new release of
Auctex became available (a couple of weeks ago actually), so I'm gonna
install and test that one first, then try WcheckMode. And, of course,
thanks for the configuration sample. That will be very helpful. My
knowledge of Lisp is (nil).  :-)

PPJ.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]