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:
parent
540b859a3d
commit
600c55a039
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue