bibtex-generate-url-list): Add support for DOI URLs
This commit is contained in:
parent
45f431c60e
commit
bceff1894c
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
|
||||
|
||||
* lisp/textmodes/bibtex.el (bibtex-generate-url-list): Add support
|
||||
for DOI URLs.
|
||||
|
||||
2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
|
||||
|
||||
* lisp/textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
|
||||
|
|
|
@ -1224,7 +1224,10 @@ Used by `bibtex-complete-crossref-cleanup' and `bibtex-copy-summary-as-kill'."
|
|||
(function :tag "Personalized function")))
|
||||
|
||||
(defcustom bibtex-generate-url-list
|
||||
'((("url" . ".*:.*")))
|
||||
'((("url" . ".*:.*"))
|
||||
(("doi" . "10\\.[0-9]+/.+")
|
||||
"http://dx.doi.org/%s"
|
||||
("doi" ".*" 0)))
|
||||
"List of schemes for generating the URL of a BibTeX entry.
|
||||
These schemes are used by `bibtex-url'.
|
||||
|
||||
|
@ -1261,6 +1264,7 @@ The following is a complex example, see URL `http://link.aps.org/'.
|
|||
(\"volume\" \".*\" 0)
|
||||
(\"pages\" \"\\`[A-Z]?[0-9]+\" 0)))"
|
||||
:group 'bibtex
|
||||
:version "24.4"
|
||||
:type '(repeat
|
||||
(cons :tag "Scheme"
|
||||
(cons :tag "Matcher" :extra-offset 4
|
||||
|
|
Loading…
Add table
Reference in a new issue