forked from mirrors/org-mode
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:
parent
8799dfb2cb
commit
4f7aba3b40
|
@ -2032,7 +2032,7 @@ INFO is a plist holding contextual information. See
|
||||||
(imagep (org-export-inline-image-p
|
(imagep (org-export-inline-image-p
|
||||||
link (plist-get info :latex-inline-image-rules)))
|
link (plist-get info :latex-inline-image-rules)))
|
||||||
(path (cond
|
(path (cond
|
||||||
((member type '("http" "https" "ftp" "mailto"))
|
((member type '("http" "https" "ftp" "mailto" "doi"))
|
||||||
(concat type ":" raw-path))
|
(concat type ":" raw-path))
|
||||||
((and (string= type "file") (file-name-absolute-p raw-path))
|
((and (string= type "file") (file-name-absolute-p raw-path))
|
||||||
(concat "file:" raw-path))
|
(concat "file:" raw-path))
|
||||||
|
|
Loading…
Reference in a new issue