is a variable defined in `
Its value is
((("url" . ".*:.*"))
(("doi" . "10\\.[0-9]+/.+")
("doi" ".*" 0)))
- This variable may be risky if used as a file-local variable.
List of schemes for generating the URL of a BibTeX entry.
These schemes are used by `bibtex-url'.
Each scheme should have one of these forms:
((FIELD . REGEXP))
((FIELD . REGEXP) STEP...)
((FIELD . REGEXP) STRING STEP...)
FIELD is a field name as returned by `bibtex-parse-entry'.
REGEXP is matched against the text of FIELD. If the match succeeds,
then this scheme is used. If no STRING and STEPs are specified
the matched text is used as the URL, otherwise the URL is built
by evaluating STEPs. If no STRING is specified the STEPs must result
in strings which are concatenated. Otherwise the resulting objects
are passed through `format' using STRING as format control string.
A STEP is a list (FIELD REGEXP REPLACE). The text of FIELD
is matched against REGEXP, and is replaced with REPLACE.
REPLACE can be a string, or a number (which selects the corresponding
submatch), or a function called with the field's text as argument
and with the `match-data' properly set.
Case is always ignored. Always remove the field delimiters.
If `bibtex-expand-strings' is non-nil, BibTeX strings are expanded
for generating the URL.
Set this variable before loading BibTeX mode.
The following is a complex example, see URL `http://link.aps.org/'.
((("journal" . "\<\(PR[ABCDEL]?\|RMP\)\>")
("journal" ".*" upcase)
("volume" ".*" 0)
("pages" "\`[A-Z]?[0-9]+" 0)))
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.4 of Emacs.