[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
     "citep" 'ebib
     (lambda (path desc format)
        ((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)

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,

Thomas S. Dye

reply via email to

[Prev in Thread] Current Thread [Next in Thread]