[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ispell and LaTeX
From: |
Holger Sparr |
Subject: |
Re: ispell and LaTeX |
Date: |
Wed, 30 Jul 2003 10:25:43 +0200 |
User-agent: |
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3 (gnu/linux) |
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
--
- ispell and LaTeX, Stefan M. Moser, 2003/07/30
- Re: ispell and LaTeX,
Holger Sparr <=