auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Special hyphen string insertion for (n)german.sty


From: David Kastrup
Subject: Re: [AUCTeX-devel] Special hyphen string insertion for (n)german.sty
Date: Tue, 29 Mar 2005 11:09:59 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> In documents loading german.sty or ngerman.sty, you can now insert a
> special hyphen string provided by these packages by typing `-'
> twice.  The first key press will insert - and the second will
> replace it with "=.  The third will replace "= with --.  Any
> subsequent key press will add another -.  Sounds confusing?  Well,
> it isn't.  Just try it.
>
> In the German TeX newsgroup people with report problems about words
> with hyphens are not broken accross lines correctly.  So I thought
> about letting "= be inserted right at the first key press (you can
> control the behavior with the variable
> `LaTeX-german-hyphen-after-hyphen') but this is probably too
> intrusive.

We have such a mechanism for various quotation marks as well.  It
sounds like a good candidate for finding a common implementation, so
that people maintaining somelanguage.el can reasonably easy cook up
their own similar translation schemes.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]