emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: BibTeX-mode: Key generation when latin-1 characters appear in author


From: Ralf Angeli
Subject: Re: BibTeX-mode: Key generation when latin-1 characters appear in author field
Date: Wed, 13 Apr 2005 10:11:31 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* Christian Schlauer (2005-04-12) writes:

[BibTeX keys]

> There is one more questionmark, though: should these keys contain
> non-ASCII characters?
[...]
> So it would be safer to ``strip accents'', I guess?

You can customize `bibtex-autokey-name-change-strings' for this
purpose:

,----
| bibtex-autokey-name-change-strings's value is shown below.
| 
| Alist of (OLD-REGEXP . NEW-STRING) pairs.
| Any part of a name matching OLD-REGEXP is replaced by NEW-STRING.
| Case is significant in OLD-REGEXP.  All regexps are tried in the
| order in which they appear in the list.
| See `bibtex-generate-autokey' for details.
| 
| You can customize this variable.
| 
| Defined in `bibtex'.
`----

Maybe it would be possible to add umlauts and accented characters to
the default?  I don't know what would happen in unibyte mode with
stuff like this, though.

-- 
Ralf





reply via email to

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