* spell-checker compatible with LaTeX?
@ 2010-02-11 22:34 Porky Pig
2010-02-11 23:23 ` Peter Dyballa
` (3 more replies)
0 siblings, 4 replies; 12+ messages in thread
From: Porky Pig @ 2010-02-11 22:34 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
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.
TIA,
PPJ
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
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>
` (2 subsequent siblings)
3 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2010-02-11 23:23 UTC (permalink / raw)
To: Porky Pig; +Cc: help-gnu-emacs
Am 11.02.2010 um 23:34 schrieb Porky Pig:
> I"m looking for one that's understand LaTeX
> and compatible with Auctex.
Ispell. Hunspell. Aspell.
--
Greetings
Pete
Experience is what you get when you don't get what you want.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
[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
` (2 more replies)
2010-02-13 10:49 ` Nuno J. Silva
1 sibling, 3 replies; 12+ messages in thread
From: Porky Pig @ 2010-02-11 23:51 UTC (permalink / raw)
To: help-gnu-emacs
On Feb 11, 6:23 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 11.02.2010 um 23:34 schrieb Porky Pig:
>
> > I"m looking for one that's understand LaTeX
> > and compatible with Auctex.
>
> Ispell. Hunspell. Aspell.
>
> --
> Greetings
>
> Pete
>
> Experience is what you get when you don't get what you want.
Thanks, and another question. I've just looked at "flyspell". Is that
another package, or it uses existing ones (e.g., Ispell)?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
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 17:49 ` Colin S. Miller
2 siblings, 1 reply; 12+ messages in thread
From: Peter Dyballa @ 2010-02-12 15:20 UTC (permalink / raw)
To: Porky Pig; +Cc: help-gnu-emacs
Am 12.02.2010 um 00:51 schrieb Porky Pig:
> I've just looked at "flyspell". Is that
> another package, or it uses existing ones (e.g., Ispell)?
It just keeps your computer's CPU(s) busy trying to find and highlight
words you did not write correctly. Some MS Nonsense... (I never looked
at it. I neither like flying. Bike riding fits me.)
--
Greetings
Pete
Increase the size of your bike by at least *five* inches!
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
2010-02-12 15:20 ` Peter Dyballa
@ 2010-02-12 16:00 ` Eli Zaretskii
0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2010-02-12 16:00 UTC (permalink / raw)
To: help-gnu-emacs
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Fri, 12 Feb 2010 16:20:52 +0100
> Cc: help-gnu-emacs@gnu.org
>
>
> Am 12.02.2010 um 00:51 schrieb Porky Pig:
>
> > I've just looked at "flyspell". Is that
> > another package, or it uses existing ones (e.g., Ispell)?
>
>
> It just keeps your computer's CPU(s) busy trying to find and highlight
> words you did not write correctly. Some MS Nonsense... (I never looked
> at it. I neither like flying. Bike riding fits me.)
I have it turned on in all my Tex mode buffers (and all modes that are
derived from Text mode, like Mail mode where I'm typing this), since
many years ago, and I never regretted it. It catches my typos and
does not slow down typing too much.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
[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
0 siblings, 1 reply; 12+ messages in thread
From: Porky Pig @ 2010-02-13 0:01 UTC (permalink / raw)
To: help-gnu-emacs
On Feb 12, 10:20 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 12.02.2010 um 00:51 schrieb Porky Pig:
>
> > I've just looked at "flyspell". Is that
> > another package, or it uses existing ones (e.g., Ispell)?
>
> It just keeps your computer's CPU(s) busy trying to find and highlight
> words you did not write correctly. Some MS Nonsense... (I never looked
> at it. I neither like flying. Bike riding fits me.)
>
Seems like bikespell isn't compatible with LaTeX.
http://www.bikespell.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
2010-02-13 0:01 ` Porky Pig
@ 2010-02-13 9:23 ` Peter Dyballa
0 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2010-02-13 9:23 UTC (permalink / raw)
To: Porky Pig; +Cc: help-gnu-emacs
Am 13.02.2010 um 01:01 schrieb Porky Pig:
> On Feb 12, 10:20 am, Peter Dyballa wrote:
>> Am 12.02.2010 um 00:51 schrieb Porky Pig:
>>
>>> I've just looked at "flyspell". Is that
>>> another package, or it uses existing ones (e.g., Ispell)?
>>
>> It just keeps your computer's CPU(s) busy trying to find and
>> highlight
>> words you did not write correctly. Some MS Nonsense... (I never
>> looked
>> at it. I neither like flying. Bike riding fits me.)
>>
>
>
> Seems like bikespell isn't compatible with LaTeX.
>
> http://www.bikespell.com
Yeah, looks more like the (good or bad?) spell of biking...
--
Greetings
Pete
The next generation of interesting software will be done on the
Macintosh, not the IBM PC.
– Bill Gates, Nov 1984)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
[not found] ` <mailman.1102.1265930604.14305.help-gnu-emacs@gnu.org>
2010-02-11 23:51 ` Porky Pig
@ 2010-02-13 10:49 ` Nuno J. Silva
1 sibling, 0 replies; 12+ messages in thread
From: Nuno J. Silva @ 2010-02-13 10:49 UTC (permalink / raw)
To: help-gnu-emacs
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 11.02.2010 um 23:34 schrieb Porky Pig:
>
>> I"m looking for one that's understand LaTeX
>> and compatible with Auctex.
>
>
> Ispell. Hunspell. Aspell.
ispell has -t ("The input file is in TeX or LaTeX format.", according to
its manpage).
But its effect is to skip any word with a backslash on it. That might be
okay with commands. But some people use commands to write chars with
accents, and words with those won't be checked.
At least in the standard LaTeX mode of emacs, ispell (e.g. ``M-x
ispell-buffer'') skips commands.
--
Nuno J. Silva
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
2010-02-11 23:51 ` Porky Pig
2010-02-12 15:20 ` Peter Dyballa
[not found] ` <mailman.1141.1265988062.14305.help-gnu-emacs@gnu.org>
@ 2010-02-13 17:49 ` Colin S. Miller
2010-02-15 19:38 ` Porky Pig
2 siblings, 1 reply; 12+ messages in thread
From: Colin S. Miller @ 2010-02-13 17:49 UTC (permalink / raw)
To: help-gnu-emacs
Porky Pig wrote:
> On Feb 11, 6:23 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
>> Am 11.02.2010 um 23:34 schrieb Porky Pig:
>>
>>> I"m looking for one that's understand LaTeX
>>> and compatible with Auctex.
>> Ispell. Hunspell. Aspell.
>>
>> --
>> Greetings
>>
>> Pete
>>
>> Experience is what you get when you don't get what you want.
>
> Thanks, and another question. I've just looked at "flyspell". Is that
> another package, or it uses existing ones (e.g., Ispell)?
>
Porky,
fly-spell is a wrapper around ispell-mode for checking
the spelling of each word as the cursor moves off it.
ispell-mode can use any spell check program that is
compatible with ispell; Aspell and hunspell are commonly used.
This is done by setting ispell-prog-name.
Flyspell also has flyspell-prog-mode. This uses information
from the major-mode to indicate where the strings and
comments are, and only flyspells them. If ispell-comments-and-strings
works in LaTeX mode, then flyspell-prog-mode should work.
(I've never used LaTeX, so can't say for sure).
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the hostname to reply.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
2010-02-13 17:49 ` Colin S. Miller
@ 2010-02-15 19:38 ` Porky Pig
0 siblings, 0 replies; 12+ messages in thread
From: Porky Pig @ 2010-02-15 19:38 UTC (permalink / raw)
To: help-gnu-emacs
On Feb 13, 12:49 pm, "Colin S. Miller" <no-spam-
thank-...@csmiller.demon.co.uk> wrote:
> Porky Pig wrote:
> > On Feb 11, 6:23 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> >> Am 11.02.2010 um 23:34 schrieb Porky Pig:
>
> >>> I"m looking for one that's understand LaTeX
> >>> and compatible with Auctex.
> >> Ispell. Hunspell. Aspell.
>
> >> --
> >> Greetings
>
> >> Pete
>
> >> Experience is what you get when you don't get what you want.
>
> > Thanks, and another question. I've just looked at "flyspell". Is that
> > another package, or it uses existing ones (e.g., Ispell)?
>
> Porky,
>
> fly-spell is a wrapper around ispell-mode for checking
> the spelling of each word as the cursor moves off it.
> ispell-mode can use any spell check program that is
> compatible with ispell; Aspell and hunspell are commonly used.
> This is done by setting ispell-prog-name.
>
> Flyspell also has flyspell-prog-mode. This uses information
> from the major-mode to indicate where the strings and
> comments are, and only flyspells them. If ispell-comments-and-strings
> works in LaTeX mode, then flyspell-prog-mode should work.
> (I've never used LaTeX, so can't say for sure).
>
> HTH,
> Colin S. Miller
>
> --
> Replace the obvious in my email address with the first three letters of the hostname to reply.
Thanks, I'll take a closer look at it. Seems like the best way for
flyspell to work with LaTeX is to rely on AUCTEX/EMACS to do the
lexical analysis to determine whether it's dealing with a text or
comments or math expression (AUCTEX does it remarkably well).
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
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-28 7:21 ` Teemu Likonen
[not found] ` <mailman.2021.1267341726.14305.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 12+ messages in thread
From: Teemu Likonen @ 2010-02-28 7:21 UTC (permalink / raw)
To: Porky Pig; +Cc: help-gnu-emacs
* 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: spell-checker compatible with LaTeX?
[not found] ` <mailman.2021.1267341726.14305.help-gnu-emacs@gnu.org>
@ 2010-03-04 0:14 ` Porky Pig
0 siblings, 0 replies; 12+ messages in thread
From: Porky Pig @ 2010-03-04 0:14 UTC (permalink / raw)
To: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2010-03-04 0:14 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[not found] ` <mailman.2021.1267341726.14305.help-gnu-emacs@gnu.org>
2010-03-04 0:14 ` Porky Pig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).