unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: "Martin Jørgensen" <megafedt@hotmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs ispell / flyspell
Date: Tue, 1 Jan 2008 14:53:56 +0100	[thread overview]
Message-ID: <153B1670-D266-4AFA-90AA-14D1C4FCE0EE@Web.DE> (raw)
In-Reply-To: <477a2caf$0$90262$14726298@news.sunsite.dk>


Am 01.01.2008 um 13:06 schrieb Martin Jørgensen:

> Aren't there many people here using emacs for making latex-documents?

Does it work to configure ispell to be aware of TeX? I.e.:

       (setq ispell-program-name "ispell")
;     (setq ispell-program-name "aspell")
;
;       Für Französisch:
;      (require 'ispell)
;      (defun ispell-get-otherchars ()
;        (replace-regexp-in-string "-" "" (ispell-get-decoded-string  
3)))
;
       (if (string= "aspell" ispell-program-name)
         (progn
;         (setq ispell-extra-args "--norm-form=comp --norm-required -- 
run-together")
;         (setq ispell-dictionary "en_GB-ise-w_accents")
           (setq ispell-dictionary "deutsch")
           (set-default 'ispell-local-dictionary ispell- 
dictionary);"deutsch"
           (add-hook 'TeX-language-en-hook (function (lambda ()  
(ispell-change-dictionary "british"))))
           (add-hook 'TeX-language-de-hook (function (lambda ()  
(ispell-change-dictionary ispell-dictionary))));"deutsch"
           (message "Alles für «a»spell")
           )
           (setq ispell-dictionary "german8")
           (add-hook 'TeX-language-en-hook (function (lambda ()  
(ispell-change-dictionary "british"))))
           (add-hook 'TeX-language-de-hook (function (lambda ()  
(ispell-change-dictionary "deutsch8"))))
           (message "Alles für »i«spell")
       )
         (add-hook 'LaTeX-mode-hook (function (lambda () (setq ispell- 
extra-args '("-t")))))


There is also the variable ispell-skip-region-alist ... it looks  
promising!

--
Greetings

   Pete

Wasting time is an important part of living.

  reply	other threads:[~2008-01-01 13:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-29  4:24 emacs ispell / flyspell Martin Jørgensen
2007-12-29 10:33 ` Eli Zaretskii
2008-01-01 12:06 ` Martin Jørgensen
2008-01-01 13:53   ` Peter Dyballa [this message]
2008-01-01 20:08     ` Eli Zaretskii
2008-01-01 17:51   ` Marc Schwartz
2008-01-01 20:00     ` Lennart Borgman (gmail)
2008-01-01 20:07   ` Eli Zaretskii
2008-01-02 17:08   ` Alan Ristow
2008-01-05  8:08     ` Martin Jørgensen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=153B1670-D266-4AFA-90AA-14D1C4FCE0EE@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=megafedt@hotmail.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.
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).