]> git.donarmstrong.com Git - org-ref.git/blob - arxiv.el
Made short description 36 characters or less.
[org-ref.git] / arxiv.el
1 (org-add-link-type
2  "arxiv"
3  ;; clicking
4  (lambda (link-string) (browse-url (format "http://arxiv.org/abs/%s" link-string)))
5  ;; formatting
6 (lambda (keyword desc format)
7    (cond
8     ((eq format 'html)
9      (format  "<a href=\"http://arxiv.org/abs/%s\">arxiv:%s</a>" keyword  keyword))
10     ((eq format 'latex)
11      ;; write out the latex command
12      (format "\\url{http://arxiv.org/abs/%s}" keyword)))))
13
14 ;; arxiv:cond-mat/0410285