X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=pubmed.org;h=7febb4a4565ddde08eacd4def3377ad15c7822a2;hp=f5ec874abd0009a374d05e101410f979b4645753;hb=e991dbb4f9816b1d06efb106c0eb7707cf2a050a;hpb=43a8a16e2abd2b2802616183944e25114329a509 diff --git a/pubmed.org b/pubmed.org index f5ec874..7febb4a 100644 --- a/pubmed.org +++ b/pubmed.org @@ -18,6 +18,7 @@ See http://www.ncbi.nlm.nih.gov/pmc/about/public-access-info/#p3 for details of For PMID there is one interactive function that inserts a bibtex entry: pubmed-insert-bibtex-from-pmid. +This library is complementary to [[./doi-utils.org]]. * Header #+BEGIN_SRC emacs-lisp :tangle pubmed.el @@ -47,6 +48,19 @@ For PMID there is one interactive function that inserts a bibtex entry: pubmed-i ;; ;; Lisp code to interact with pubmed databases, links to pubmed ;; identifiers. See pubmed.org. +;;; +;; This library provides links that go to pubmed resources, e.g. +;; +;; pmcid:PMC3498956 +;; +;; pmid:23162369 +;; +;; and nihmsid:NIHMS395714 +;; +;; See http://www.ncbi.nlm.nih.gov/pmc/about/public-access-info/#p3 for details of these identifiers. +;; +;; For PMID there is one interactive function that inserts a bibtex +;; entry: `pubmed-insert-bibtex-from-pmid`. #+END_SRC * PMID (from PubMed) link and functions @@ -230,10 +244,6 @@ We can parse this into a data structure ** PMID to bibtex entry The point of parsing the MEDLINE text is so we can make bibtex entries. We only support Journal articles for now. -Issues: -1. The year is not quite right, it has the month in it. -2. I do not use all the fields. - #+BEGIN_SRC emacs-lisp (defun pubmed-pmid-to-bibtex (pmid) "Convert a PMID to a bibtex entry."