How do I specify different actions for different export backends in org-mode?
To be more specific, I would like to export an pdf figure in latex export, while using a png in html export (in fact, a png thumbnail linking to the pdf, if that is of relevance):
#+CAPTION: cation of figure #+NAME: myfig # case export to latex: [[file:./figure.pdf]] # case export to html: [[file:./figure.pdf][file:./figure.png]]
Note: I initially posted this question on stackoverflow. It occured to me later that emacs stackexchange is a more appropriate site for this question. So I deleted it on stackoverflow (there were no answers) to repost it here.