From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Several questions about beamer export Date: Fri, 12 Jul 2013 13:45:12 -0300 Message-ID: <87sizj7mnb.fsf@gmail.com> References: <87li5cwymc.fsf@free.fr> <87r4f445wi.fsf@gmail.com> <871u737ra6.fsf@free.fr> <8761wf4xm4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxgTN-0008Fo-KC for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 12:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxgTL-0002l6-Qc for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 12:45:33 -0400 Received: from mail-gh0-x22d.google.com ([2607:f8b0:4002:c05::22d]:44135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxgTL-0002jp-NJ for emacs-orgmode@gnu.org; Fri, 12 Jul 2013 12:45:31 -0400 Received: by mail-gh0-f173.google.com with SMTP id g16so3243052ghb.4 for ; Fri, 12 Jul 2013 09:45:31 -0700 (PDT) In-reply-to: <8761wf4xm4.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org 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 --8<---------------cut here---------------start------------->8--- #+LINK: fig file:my_figure_path/%s --8<---------------cut here---------------end--------------->8--- Then you will be able to You write a link such as --8<---------------cut here---------------start------------->8--- [[fig:some_figure.png]] --8<---------------cut here---------------end--------------->8--- ps: Remember to do "C-c C-c" in the #+LINK line after you insert it. -- Darlan Cavalcante Moreira darcamo@gmail.com ndokos@gmail.com writes: > Julien Cubizolles writes: > >> Nick Dokos writes: >> >>> Julien Cubizolles writes: >>> >>> >>>> * in LaTeX you can use \graphicspath to define the directories in which >>>> to look for picture files. Does org mode offer the same possibility ? >>>> >>> >>> No special mechanism afaik, but there is a general one. Did you try >>> adding something like >>> >>> #+LATEX_HEADER: \graphicspath{{images/}} >> >> I wasn't clear enough in my question. I would like the links in orgmode >> made relative to a common root defined in the preamble. >> > > Ah, OK - I misunderstood. AFAIK, the answer is "no".