X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=org-ref.el;fp=org-ref.el;h=a0191829ed1dd69428cfacd1eaa6d5857a56da21;hp=d86511e6f3912d192dbae220b757c0a8344e12d8;hb=5c95e3b367853a4bfabfe0f7a1bb2edb01eea943;hpb=207fcf23c1330708746fdc8ea2f9af55114b0c3c diff --git a/org-ref.el b/org-ref.el index d86511e..a019182 100644 --- a/org-ref.el +++ b/org-ref.el @@ -1423,9 +1423,10 @@ Optional argument ARG Does nothing." ;formatting (lambda (keyword desc format) (cond - ((eq format 'html) (format "(%s)" 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