From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: exporting images in latex with a relative path Date: Wed, 17 Jun 2015 13:54:38 +0200 Message-ID: <877fr28s8x.fsf@selenimh.access.network> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Bu2-0006jt-Mp for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 07:53:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5Bu1-00033E-K1 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 07:53:10 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:41725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5Bu1-00032q-EX for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 07:53:09 -0400 In-Reply-To: (Alan Schmitt's message of "Wed, 17 Jun 2015 12:39:08 +0200") 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: Alan Schmitt Cc: emacs-orgmode Hello, Alan Schmitt writes: > I'm fetching images using org-download, which creates links of the form: > > [[~/work/talks/Formal_JavaScript/images/Adobe_logo_2015-06-17_12:22:02.gif]] > > Unfortunately these links are not exported when I export to latex, I get > this output: > > \url{file:///Users/schmitta/work/talks/Formal_JavaScript/images/Adobe_logo_2015-06-17_12:22:02.gif} > > Is there a way to get an inline image instead? I see the manual requires > the link to start with "file:" or with ".", could it also work with > "~"? It already works with "~", but ".gif" is not recognized, by default, as a valid extension for images. You can configure `org-latex-inline-image-rules'. Regards, -- Nicolas Goaziou