mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-22 07:09:47 +00:00
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)))
|
(desc (or description link)))
|
||||||
(cond
|
(cond
|
||||||
((eq format 'html) (format "<a target=\"_blank\" href=\"%s\">%s</a>" path desc))
|
((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))
|
((eq format 'ascii) (format "%s (%s)" desc path))
|
||||||
(t path))))
|
(t path))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user