all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Porky Pig <porky_pig_jr@my-deja.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: spell-checker compatible with LaTeX?
Date: Sun, 28 Feb 2010 09:21:32 +0200	[thread overview]
Message-ID: <87fx4lu8oz.fsf@mithlond.arda> (raw)
In-Reply-To: <dea938a4-0b46-4207-bc33-9c0249911449@o36g2000vbl.googlegroups.com> (Porky Pig's message of "Thu, 11 Feb 2010 14:34:30 -0800 (PST)")

* 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




  parent reply	other threads:[~2010-02-28  7:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11 22:34 spell-checker compatible with LaTeX? Porky Pig
2010-02-11 23:23 ` Peter Dyballa
     [not found] ` <mailman.1102.1265930604.14305.help-gnu-emacs@gnu.org>
2010-02-11 23:51   ` Porky Pig
2010-02-12 15:20     ` Peter Dyballa
2010-02-12 16:00       ` Eli Zaretskii
     [not found]     ` <mailman.1141.1265988062.14305.help-gnu-emacs@gnu.org>
2010-02-13  0:01       ` Porky Pig
2010-02-13  9:23         ` Peter Dyballa
2010-02-13 17:49     ` Colin S. Miller
2010-02-15 19:38       ` Porky Pig
2010-02-13 10:49   ` Nuno J. Silva
2010-02-28  7:21 ` Teemu Likonen [this message]
     [not found] ` <mailman.2021.1267341726.14305.help-gnu-emacs@gnu.org>
2010-03-04  0:14   ` Porky Pig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fx4lu8oz.fsf@mithlond.arda \
    --to=tlikonen@iki.fi \
    --cc=help-gnu-emacs@gnu.org \
    --cc=porky_pig_jr@my-deja.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.