diff options
author | Bastien Guerry <bzg@altern.org> | 2013-04-15 23:38:39 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-15 23:38:39 +0200 |
commit | 600c55a039310a274c383fd348375854835e40d8 (patch) | |
tree | 56af6f5fd8f45b246fb87ee1921624c4b92eb68f | |
parent | 540b859a3df1563969e6e15b4bc94f12bb6ad49c (diff) | |
download | org-mode-600c55a039310a274c383fd348375854835e40d8.tar.gz |
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.
-rw-r--r-- | contrib/lisp/org-man.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/lisp/org-man.el b/contrib/lisp/org-man.el index 3d02533..4c395e6 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 "<a target=\"_blank\" href=\"%s\">%s</a>" 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)))) |