From 600c55a039310a274c383fd348375854835e40d8 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 15 Apr 2013 23:38:39 +0200 Subject: [PATCH] org-man.el (org-man-export): Fix export to LaTeX and add export to Texinfo * org-man.el (org-man-export): Fix export to LaTeX and add export to Texinfo. --- contrib/lisp/org-man.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/org-man.el b/contrib/lisp/org-man.el index 3d02533f5..4c395e65e 100644 --- a/contrib/lisp/org-man.el +++ b/contrib/lisp/org-man.el @@ -63,7 +63,8 @@ PATH should be a topic that can be thrown at the man command." (desc (or description link))) (cond ((eq format 'html) (format "%s" path desc)) - ((eq format 'latex) (format "\href{%s}{%s}" path desc)) + ((eq format 'latex) (format "\\href{%s}{%s}" path desc)) + ((eq format 'texinfo (format "@uref{%s,%s}" path desc))) ((eq format 'ascii) (format "%s (%s)" desc path)) (t path)))) -- 2.11.4.GIT