]> git.donarmstrong.com Git - org-ref.git/blobdiff - org-ref.el
Merge pull request #39 from kuangdash/master
[org-ref.git] / org-ref.el
index d86511e6f3912d192dbae220b757c0a8344e12d8..a0191829ed1dd69428cfacd1eaa6d5857a56da21 100644 (file)
@@ -1423,9 +1423,10 @@ Optional argument ARG Does nothing."
  ;formatting
  (lambda (keyword desc format)
    (cond
-    ((eq format 'html) (format "(<eqref>%s</eqref>)" keyword))
-    ((eq format 'latex)
-     (format "\\eqref{%s}" keyword)))))
+    ((eq format 'latex) (format "\\eqref{%s}" keyword))
+    ;;considering the fact that latex's the standard of math formulas, just use mathjax to render the html
+    ;;customize the variable 'org-html-mathjax-template' and 'org-html-mathjax-options' refering to  'autonumber'
+    ((eq format 'html) (format "\\eqref{%s}" keyword)))))
 
 ;; ** cite link