Darlan Cavalcante Moreira <darc...@gmail.com> writes: > I don't think you can change the behavior of a link type to take into > account somethink similar to graphicspath, but you can easily define > custom link types: For instance, put this in your org-file > #+LINK: fig file:my_figure_path/%s > > Then you will be able to You write a link such as > > [[fig:some_figure.png]]
It looks perfect, unfortunately, I can't get it to work: #+LINK: fig file:/home/wilk/enseignement/doc_cours/optique/%s [[fig:test.jpg]] [[file:/home/wilk/enseignement/doc_cours/optique/test.jpg]] The second one gives a picture, the first one doesn't. I'm running a fairly recent git pull of org-mode, and this possibility is described in its info file. > ps: Remember to do "C-c C-c" in the #+LINK line after you insert it. I was just about to ask about it, thanks ! Julien.