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.
This commit is contained in:
Bastien Guerry 2013-04-15 23:38:39 +02:00
parent 540b859a3d
commit 600c55a039
1 changed files with 2 additions and 1 deletions

View File

@ -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))))