make label export as a div with id for html.
authorJohn Kitchin <jkitchin@andrew.cmu.edu>
Tue, 14 Apr 2015 20:14:32 +0000 (16:14 -0400)
committerJohn Kitchin <jkitchin@andrew.cmu.edu>
Tue, 14 Apr 2015 20:14:32 +0000 (16:14 -0400)
org-ref.el

index 9f02da8..0356e1f 100644 (file)
@@ -974,7 +974,7 @@ ARG does nothing."
                    (org-ref-count-labels label))))
  (lambda (keyword desc format)
    (cond
-    ((eq format 'html) (format "(<label>%s</label>)" keyword))
+    ((eq format 'html) (format "<div id=\"%s\">" keyword))
     ((eq format 'latex)
      (format "\\label{%s}" keyword)))))