From 4f7aba3b40d8f63f176586c7894035054313ee94 Mon Sep 17 00:00:00 2001 From: Derek Feichtinger Date: Fri, 3 Apr 2015 22:11:15 +0200 Subject: [PATCH] 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. TINYCHANGE --- lisp/ox-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index cfd1fdf0b..57962c124 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -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))