]> git.donarmstrong.com Git - org-ref.git/blobdiff - org-ref.org
add label and ref coloring
[org-ref.git] / org-ref.org
index 148e98cd836f84634d4897f8eae631ef901454df..a2324c455c9386170cc63f10a32a81ea16fa0573 100644 (file)
@@ -396,7 +396,6 @@ label:test
   "When non-nil, change colors of links"
   :group 'org-ref)
 
-
 (defcustom org-ref-cite-color
   "forest green"
   "Color of cite like links"
@@ -420,7 +419,11 @@ label:test
 
 
 (setq org-ref-cite-re
-  (concat "\\(" (mapconcat 'identity org-ref-cite-types "\\|") "\\)"
+      (concat "\\(" (mapconcat
+                    (lambda (x)
+                      (replace-regexp-in-string "\*" "\\\\*" x)
+                      )
+                    org-ref-cite-types "\\|") "\\)"
   ":\\([a-zA-Z0-9-_:]*,?\\)*"))