Variable: bibtex-autokey-transcriptions

bibtex-autokey-transcriptions is a variable defined in bibtex.el.gz.

Value

(("\\(?:\\\\aa\\)" . "a") ("\\(?:\\\\AA\\)" . "A")
 ("\\(?:\"a\\|\\\\\\(?:\"a\\|ae\\)\\)" . "ae")
 ("\\(?:\"A\\|\\\\\\(?:\"A\\|AE\\)\\)" . "Ae") ("\\(?:\\\\i\\)" . "i")
 ("\\(?:\\\\j\\)" . "j") ("\\(?:\\\\l\\)" . "l")
 ("\\(?:\\\\L\\)" . "L")
 ("\\(?:\"o\\|\\\\\\(?:\"o\\|oe?\\)\\)" . "oe")
 ("\\(?:\"O\\|\\\\\\(?:\"O\\|OE?\\)\\)" . "Oe")
 ("\\(?:\"s\\|\\\\\\(?:\"s\\|3\\)\\)" . "ss")
 ("\\(?:\\\\?\"u\\)" . "ue") ("\\(?:\\\\?\"U\\)" . "Ue")
 ("\\(?:\\\\['.=H`bcdtuv~^-]\\)" . "") ("~" . " ")
 ("[    \n]*\\(?:\\\\\\)?[      \n]+" . " ") ("[`'\"{}#]" . ""))

Documentation

Alist of (OLD-REGEXP . NEW-STRING) pairs.

Used as default values of bibtex-autokey-name-change-strings and bibtex-autokey-titleword-change-strings. Defaults to translating some language specific characters to their ASCII transcriptions, and removing any accent characters.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/bibtex.el.gz
(defvar bibtex-autokey-transcriptions
  (nconc
   (mapcar (lambda (a) (cons (regexp-opt (car a)) (cdr a)))
           '(;; language specific characters
             (("\\aa") . "a")                      ; \aa           -> a
             (("\\AA") . "A")                      ; \AA           -> A
             (("\"a" "\\\"a" "\\ae") . "ae")       ; "a,\"a,\ae    -> ae
             (("\"A" "\\\"A" "\\AE") . "Ae")       ; "A,\"A,\AE    -> Ae
             (("\\i") . "i")                       ; \i            -> i
             (("\\j") . "j")                       ; \j            -> j
             (("\\l") . "l")                       ; \l            -> l
             (("\\L") . "L")                       ; \L            -> L
             (("\"o" "\\\"o" "\\o" "\\oe") . "oe") ; "o,\"o,\o,\oe -> oe
             (("\"O" "\\\"O" "\\O" "\\OE") . "Oe") ; "O,\"O,\O,\OE -> Oe
             (("\"s" "\\\"s" "\\3") . "ss")        ; "s,\"s,\3     -> ss
             (("\"u" "\\\"u") . "ue")              ; "u,\"u        -> ue
             (("\"U" "\\\"U") . "Ue")              ; "U,\"U        -> Ue
             ;; hyphen, accents
             (("\\-" "\\`" "\\'" "\\^" "\\~" "\\=" "\\." "\\u" "\\v"
               "\\H" "\\t" "\\c" "\\d" "\\b") . "")
             ;; space
             (("~") . " ")))
   ;; more spaces
   '(("[\s\t\n]*\\(?:\\\\\\)?[\s\t\n]+" . " ")
     ;; braces, quotes, concatenation.
     ("[`'\"{}#]" . "")))
  "Alist of (OLD-REGEXP . NEW-STRING) pairs.
Used as default values of `bibtex-autokey-name-change-strings' and
`bibtex-autokey-titleword-change-strings'.  Defaults to translating some
language specific characters to their ASCII transcriptions, and
removing any accent characters.")