X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=arxiv.el;fp=arxiv.el;h=61be27738b85b6c6366c9e1694bb90c2aaf74a86;hp=0000000000000000000000000000000000000000;hb=3480996b9e7f3f24715364833732800497480954;hpb=133187581c2d6abe20499dd9107493c0a119de4a diff --git a/arxiv.el b/arxiv.el new file mode 100644 index 0000000..61be277 --- /dev/null +++ b/arxiv.el @@ -0,0 +1,13 @@ +(org-add-link-type + "arxiv" + ;; clicking + (lambda (link-string) (browse-url (format "http://arxiv.org/abs/%s" link-string))) + ;; formatting +(lambda (keyword desc format) + (cond + ((eq format 'html) (format "")); no output for html + ((eq format 'latex) + ;; write out the latex command + (format "\\url{http://arxiv.org/abs/%s}" keyword))))) + +;; arxiv:cond-mat/0410285