From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: naming image files before exporting to PDF Date: Fri, 06 Feb 2015 09:21:35 +0000 Message-ID: References: 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]:57073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJf6i-00042T-LU for emacs-orgmode@gnu.org; Fri, 06 Feb 2015 04:21:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJf6e-00049y-Kk for emacs-orgmode@gnu.org; Fri, 06 Feb 2015 04:21:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:51170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJf6e-00049q-EL for emacs-orgmode@gnu.org; Fri, 06 Feb 2015 04:21:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YJf6c-0006ZU-MW for emacs-orgmode@gnu.org; Fri, 06 Feb 2015 10:21:42 +0100 Received: from 193.63.223.169 ([193.63.223.169]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2015 10:21:42 +0100 Received: from andreas.leha by 193.63.223.169 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Feb 2015 10:21:42 +0100 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: emacs-orgmode@gnu.org Hi, usually, the grffile package works very well. Try this, which works fine for me: --8<---------------cut here---------------start------------->8--- #+latex_header: \graphicspath{ {./images/} } #+latex_header: \usepackage{grffile} * test In the org file, it would look like this: [[file:simul001_a-4_b-0.1.pdf]] --8<---------------cut here---------------end--------------->8--- Best, Andreas Rainer M Krug writes: > I remember a similar problem, and the cuprit was the dot. If I remember > correctly, LaTeX was interpreting everything after the *first* "." as > the extension. > > After avoiding "." in file names for images, it worked. > > "_" are fine. > > Rainer > > > John Kitchin writes: > >> Dashes are usually fine. Did you try replacing the _ with -? >> >> I try to avoid _ in filenames, but - works for me. >> >> On Thu, Feb 5, 2015 at 6:42 PM, Timothée Flutre wrote: >> >>> In the org file, it would look like this: >>> #+latex_header: \graphicspath{ {./images/} } >>> [[file:simul001_a-4_b-0.1.pdf]] >> >> >> >> >> John >> >> ----------------------------------- >> Professor John Kitchin >> Doherty Hall A207F >> Department of Chemical Engineering >> Carnegie Mellon University >> Pittsburgh, PA 15213 >> 412-268-7803 >> @johnkitchin >> http://kitchingroup.cheme.cmu.edu