ox-latex: Fix for export of doi type links

* lisp/ox-latex.el (org-latex-link): Add "doi" to the list of link
types that retain the protocol prefix in the exported link.

<http://permalink.gmane.org/gmane.emacs.orgmode/96669>
TINYCHANGE
This commit is contained in:
Derek Feichtinger 2015-04-03 22:11:15 +02:00 committed by Nicolas Goaziou
parent 8799dfb2cb
commit 4f7aba3b40
1 changed files with 1 additions and 1 deletions

View File

@ -2032,7 +2032,7 @@ INFO is a plist holding contextual information. See
(imagep (org-export-inline-image-p
link (plist-get info :latex-inline-image-rules)))
(path (cond
((member type '("http" "https" "ftp" "mailto"))
((member type '("http" "https" "ftp" "mailto" "doi"))
(concat type ":" raw-path))
((and (string= type "file") (file-name-absolute-p raw-path))
(concat "file:" raw-path))