Skip to content

Commit

Permalink
remove newglossaryentry link definition
Browse files Browse the repository at this point in the history
it goes in the preamble, so it doesn't work as a link/
  • Loading branch information
jkitchin committed Jan 15, 2016
1 parent f467abf commit 8338811
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions org-ref.el
Original file line number Diff line number Diff line change
Expand Up @@ -2454,17 +2454,9 @@ PATH is required for the org-link, but it does nothing here."
((eq format 'latex)
(format "\\printindex")))))

;;** Glossary link
(org-add-link-type
"newglossaryentry"
nil ;; no follow action
(lambda (path desc format)
(cond
((eq format 'latex)
(format "\\newglossaryentry{%s}{%s}" path desc)))))

;;** Glossary links

;; link to entry
;; link to glossary entry
(org-add-link-type
"gls"
nil ;; no follow action
Expand Down

0 comments on commit 8338811

Please sign in to comment.