Fix XMPP link export for LaTeX
This commit is contained in:
parent
2962f8b669
commit
171bd11cef
5
init.org
5
init.org
|
@ -4039,8 +4039,9 @@ https://lists.gnu.org/archive/html/emacs-orgmode/2018-02/msg00082.html
|
|||
((eq format 'html)
|
||||
(format "<a href=\"%s\">%s</a>" link desc))
|
||||
((eq format 'latex)
|
||||
;; (format "\\href{%s}{%s}" link desc)
|
||||
(format "\\url{%s}" link))
|
||||
(if desc
|
||||
(format "\\href{%s}{%s}" link desc)
|
||||
(format "\\href{%s}" link)))
|
||||
(t ;; `ascii', `md', `hugo', etc.
|
||||
(format "[%s](%s)" desc link))))
|
||||
#+END_SRC
|
||||
|
|
Loading…
Reference in New Issue