]> git.donarmstrong.com Git - org-ref.git/blob - arxiv.el
61be27738b85b6c6366c9e1694bb90c2aaf74a86
[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) (format "")); no output for html
9     ((eq format 'latex)
10      ;; write out the latex command
11      (format "\\url{http://arxiv.org/abs/%s}" keyword)))))
12
13 ;; arxiv:cond-mat/0410285