From 3480996b9e7f3f24715364833732800497480954 Mon Sep 17 00:00:00 2001 From: John Kitchin Date: Wed, 7 Jan 2015 12:07:24 -0500 Subject: [PATCH] initial commit --- arxiv.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 arxiv.el 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 -- 2.39.2