Re: Hooks for European languages

Arne Jørgensen <[email protected]>
Newsgroups gmane.emacs.auc-tex
Organization DK-TUG / Danish TeX Users Group
Message-ID <[email protected]>
Reiner Steib <[email protected]> writes:

> On Fri, Jan 14 2005, Arne Jørgensen wrote:
>
>> Reiner Steib <[email protected]> writes:
> [...]
>>> The we should probably don't mention `dk' in the manual.  WDYT?
>>> (It might encourage users to use obsolete stuff.)
> [ s/The/Then/ ]
>
>> You are right.
>
> Okay, how about this:

Fine.

> ,----[ (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' [...]
> `----

Kind regards,
-- 
Arne Jørgensen <http://arnested.dk>
DK-TUG / Danish TeX Users Group <http://www.tug.dk/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.