]> git.donarmstrong.com Git - org-ref.git/commitdiff
add html output
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Wed, 7 Jan 2015 17:09:07 +0000 (12:09 -0500)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Wed, 7 Jan 2015 17:09:07 +0000 (12:09 -0500)
arxiv.el

index 61be27738b85b6c6366c9e1694bb90c2aaf74a86..c5548c13c1111474d25951501c9a9d5bd02e27d4 100644 (file)
--- a/arxiv.el
+++ b/arxiv.el
@@ -5,7 +5,8 @@
  ;; formatting
 (lambda (keyword desc format)
    (cond
  ;; formatting
 (lambda (keyword desc format)
    (cond
-    ((eq format 'html) (format "")); no output for html
+    ((eq format 'html)
+     (format  "<a href=\"http://arxiv.org/abs/%s\">arxiv:%s</a>" keyword  keyword))
     ((eq format 'latex)
      ;; write out the latex command
      (format "\\url{http://arxiv.org/abs/%s}" keyword)))))
     ((eq format 'latex)
      ;; write out the latex command
      (format "\\url{http://arxiv.org/abs/%s}" keyword)))))