Re: Hooks for European languages
Jan-Ake Larsson <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
Reiner Steib wrote:
> Okay, how about this:
>
> ,----[ (info "(auctex)European") ]
> | AUCTeX supports style files for several languages. Each style file
> | may modify AUCTeX to better support the language, and will run a
> | language specific hook that will allow you to for example change ispell
> | dictionary, or run code to change the keyboard remapping. The
> | following will for example choose a Danish dictionary for documents
> | including `\usepackage[danish]{babel}'. This requires parsing to be
> | enabled, *note Parsing Files::.
> |
> | (add-hook 'TeX-language-dk-hook
> | (function (lambda () (ispell-change-dictionary "danish"))))
> |
> | The following style files are recognized.
> | [...]
> | `danish'
> | Runs style hook `TeX-language-dk-hook'. Pressing <"> will insert
> | `"`' and `"'' depending on context.
> |
> | `dutch' [...]
> `----
Just a quick note: the one swedish dictionary I seem to have installed
goes under the name "svenska". Could someone verify that
(ispell-change-dictionary "danish") is OK above, or if we need to use
"dansk".
/JÃ
--
Linux: The choice of a GNU generation.