From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: LaTeX beamer export: relative file links? Date: Sat, 29 Sep 2012 12:34:05 -0400 Message-ID: <13070.1348936445@alphaville> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THzzq-0007n6-4w for emacs-orgmode@gnu.org; Sat, 29 Sep 2012 12:34:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THzzo-0007MH-UB for emacs-orgmode@gnu.org; Sat, 29 Sep 2012 12:34:30 -0400 Received: from vms173013pub.verizon.net ([206.46.173.13]:50490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THzzo-00073D-PX for emacs-orgmode@gnu.org; Sat, 29 Sep 2012 12:34:28 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [108.7.96.134]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MB400IPTE0UAK10@vms173013.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 29 Sep 2012 11:34:06 -0500 (CDT) In-reply-to: Message from James Harkins of "Sat, 29 Sep 2012 13:55:36 +0800." 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: jamshark70@dewdrop-world.net Cc: emacs-orgmode@gnu.org James Harkins wrote: > I'm writing presentations for my classes using beamer export from org-mode (which is working > beautifully, btw -- it's faster than LibreOffice impress and I get a convenient plain text archive > of my slide contents to boot). > > I'm authoring in Linux but I have to show the pdfs in windows. That's generally no problem, > except... this week I wanted a link on one slide to an mp3 audio example. I entered the link in > org-mode as a relative path ./blah.mp3, which either org or latex expanded to a UNIX-style full > path. (I'm guessing org.) Obviously windows would not understand the UNIX path. > > The question, then: Is it possible to use relative paths for file links in latex export? (I admit, I > haven't searched for customize variables before writing this- apologies if it's obvious. I spent > most of my research time this week setting up a mingw build environment for SuperCollider, so I'm a > bit search-fatigued I'm afraid.) > Maybe this: ,---- | org-link-file-path-type is a variable defined in `org.el'. | Its value is adaptive | | Documentation: | How the path name in file links should be stored. | Valid values are: | | relative Relative to the current directory, i.e. the directory of the file | into which the link is being inserted. | absolute Absolute path, if possible with ~ for home directory. | noabbrev Absolute path, no abbreviation of home directory. | adaptive Use relative path for files in the current directory and sub- | directories of it. For other files, use an absolute `---- Nick