LaTeX export: Use special formatting by link type interface
commit8a671f8d4da0066417d9dd78fffb42ea1fe9ec9d
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 12 May 2010 13:14:17 +0000 (12 15:14 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 12 May 2010 13:14:17 +0000 (12 15:14 +0200)
tree6744c8e17f98b60f26ec276b37e4a3068ce377e0
parent336456d0c3684e26374c778748a8d7f44e08f1bc
LaTeX export: Use special formatting by link type interface

Patch by Christian Moe, who writes:

> It looks like support for formatting custom link types in LaTeX export
> is broken?
>
> I was trying to implement a custom link type with its own formatting
> function for HTML and LaTeX export, following the steps in
> org-bbdb.el.
>
> I've found that org-bbdb-export does not italicize bbdb links in
> LaTeX, nor does my own org-cite-export turn my custom =cite:= links
> into LaTeX =\cite{}= citations. Everything works fine in HTML export,
> but in LaTeX all custom link types get formatted as =\texttt{descr}=.
>
> I see that org-export-as-html and org-export-as-docbook look up
> org-link-protocols to get the function for formatting the link, but it
> seems that org-export-as-latex doesn't.
>
>
lisp/ChangeLog
lisp/org-latex.el