> Maybe the following enhanced definition can be put into emacs' > bibtex.el: > ,---- > | bibtex-generate-url-list '((("doi" . "") > | "http://dx.doi.org/" > | ("doi" ".*" 0)) > | (("url" . ".*:.*")) > | (("journal" . > "\\<\\(PR[ABCDEL]?\\|RMP\\)\\>") > | "http://link.aps.org/abstract/" > | ("journal" ".*" downcase) > | "/v" ("volume" ".*" 0) > | "/p" ("pages" "\\`\\([0-9]+\\)" 1)) > | (("journal" . > "\\<\\(APL\\|JAP\\|JCP\\|JMP\\|JPCRD\\|RSI\\)\\>") > | "http://link.aip.org/link/?" > | ("journal" ".*" upcase) > | "/" ("volume" ".*" 0) > | "/" ("pages" "\\`\\([0-9]+\\)" 1) > | "/" "1")) > `---- > It adds support for journal from one additional publisher (AIP) and > also the more general case of using a DOI [1], which are really what > should be used today in a database to refer to online content. > > It would also be nice to have DOI in bibtex-entry-field-alist (as > optional entry for all entry types) and to have the field buttonized > if available (just like url or journal (if prl/jcp/or such).
Hi Jochen Thanks a lot for these suggestions. However, I hesitate to put these changes into bibtex.el. It appears to me that the above value for bibtex-generate-url-list reflect your personal preferences so that they should go into the personal .emacs: - The default values for user variables in bibtex.el reflect the usage of BibTeX as a bibliography database for LaTeX documents. To the best of my knowledge, neither URLs nor DOIs are required for LaTeX documents. The default value for bibtex-generate-url-list is an example for how to use this variable. - The buttons for URLs in BibTeX files are inserted via font-lock. The algorithm is fairly complicated. I expect that a long list of schemes in bibtex-generate-url-list can make font-locking rather slow if one has a slow computer and/or a large BibTeX file. (Comments welcome! I can't check that on my computer, it's pretty fast.) On the other hand, the algorithm is fully customizable. If the journals you work with support DOIs, you can add a DOI field to bibtex-user-optional-fields. And the above value for bibtex-generate-url-list will generate buttons for these fields. Let me know if there is anything that cannot be done by appropriate values for bibtex-user-optional-fields and bibtex-generate-url-list. - It seems to me that your choice of journals from AIP reflects your personal preferences. See http://link.aip.org/jhtml/rre_list.jsp for a more complete list of AIP journals. However, this rather long list of journal names would make font-locking even slower. (The British IOP and the European EPS use similar schemes for their journals.) In my .emacs, I have pretty much the same value for bibtex-generate-url-list you suggest. (I expect that you are a physicist like me. You are interested in the same journals.) Roland _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel