make html export for links be to a div id.
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Thu, 2 Apr 2015 15:31:39 +0000 (11:31 -0400)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Thu, 2 Apr 2015 15:31:39 +0000 (11:31 -0400)
org-ref.el

index 080fa5e..4a87969 100644 (file)
@@ -1051,7 +1051,7 @@ ARG does nothing."
  ;formatting
  (lambda (keyword desc format)
    (cond
-    ((eq format 'html) (format "(<ref>%s</ref>)" keyword))
+    ((eq format 'html) (format "<a href=\"#%s\">%s</a>" keyword keyword))
     ((eq format 'latex)
      (format "\\ref{%s}" keyword)))))