emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Links in tables and LaTeX export


From: Nick Dokos
Subject: Re: [O] Links in tables and LaTeX export
Date: Tue, 05 Jul 2011 11:06:32 -0400

Nicolas Goaziou <address@hidden> wrote:

> Hello,
> 
> address@hidden (Thomas S. Dye) writes:
> 
> > 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 think I have fixed it in master. Could you confirm this?
> 

Assuming my simple test is representative, this seems fixed: I get
expected results with a link in either normal text or in a table cell.
I have not tried any other contexts (e.g. inside a list).

Nick




reply via email to

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