Re: Special hyphen string insertion for (n)german.sty

David Kastrup <[email protected]> Tue, 29 Mar 2005 11:09:59 +0200
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <[email protected]>
Ralf Angeli <[email protected]> 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