[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Links in tables and LaTeX export
From: |
Thomas S. Dye |
Subject: |
[O] Links in tables and LaTeX export |
Date: |
Mon, 04 Jul 2011 15:58:04 -1000 |
Aloha all,
Links in tables have changed recently.
I have this link definition:
#+source: define-citep-link
#+begin_src emacs-lisp :results silent
(org-add-link-type
"citep" 'ebib
(lambda (path desc format)
(cond
((eq format 'html)
(format "(<cite>%s</cite>)" path))
((eq format 'latex)
(if (or (not desc) (equal 0 (search "citep:" desc)))
(format "\\citep{%s}" path)
(format "\\citep[%s]{%s}" desc path)
)))))
#+end_src
Links outside of a table export correctly:
[[citep:wagner90][598]] exports to \citep[598]{wagner}
Inside a table the same link exports like this:
[[citep:wagner90]\footnote{DEFINITION NOT FOUND: 598}]
I'm using Org-mode version 7.5 (release_7.5.566.g8d45).
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
- [O] Links in tables and LaTeX export,
Thomas S. Dye <=