all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Holger Sparr <sparr+usenet@mfkrs1.mw.tu-dresden.de>
Subject: Re: ispell and LaTeX
Date: Wed, 30 Jul 2003 10:25:43 +0200	[thread overview]
Message-ID: <lnispkctfc.fsf@mfkrs1.mw.tu-dresden.de> (raw)
In-Reply-To: 3f27626a$1@pfaff2

On Wed, 30 Jul 2003, Stefan M. Moser wrote:
> I want ispell to ignore "eq" and "labelname". To this aim I have found
> a variable called "ispell-tex-skip-alists" that should do exactly
> this. However, when I set the variable in my .emacs-file nothing
> happens at all. Could anybody give me a hint what I'm doing wrong?

Have a look on your setting of:

,----[ C-h v ispell-parser RET ]
| ispell-parser's value is tex
| 
| Documentation:
| *Indicates whether ispell should parse the current buffer as TeX Code.
| Special value `use-mode-name' tries to guess using the name of `major-mode'.
| Default parser is `nroff'.
| Currently the only other valid parser is `tex'.
| 
| You can set this variable in hooks in your init file -- eg:
| 
| (add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser 'tex))))
| 
| Defined in `ispell'.
`----

Be sure to use the right hook.

Additionally, the line

    (require 'ispell)

ahead of your (setq ispell-tex-skip-alists ...) statement might be necessary.

Hope this helps,
Holger

-- 

  reply	other threads:[~2003-07-30  8:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30  6:15 ispell and LaTeX Stefan M. Moser
2003-07-30  8:25 ` Holger Sparr [this message]
2003-07-30  9:22   ` Stefan M. Moser
2003-07-30 10:51     ` Holger Sparr
2003-07-30 12:32       ` Stefan M. Moser

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=lnispkctfc.fsf@mfkrs1.mw.tu-dresden.de \
    --to=sparr+usenet@mfkrs1.mw.tu-dresden.de \
    /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.