From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dieter Wilhelm, H." Subject: Re: org-attach-expand-link in latex exports (Emacs-24.3) Date: Tue, 16 Apr 2013 14:50:27 +0200 Message-ID: References: <87ehebos11.fsf@bzg.ath.cx> Reply-To: dieter@duenenhof-wilhelm.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US5La-00061n-OE for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 08:51:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US5LV-00015R-UT for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 08:50:54 -0400 In-Reply-To: <87ehebos11.fsf@bzg.ath.cx> 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: Bastien Cc: "Emacs-orgmode@gnu.org" 2013/4/16 Bastien : > Hi Dieter, > > "Dieter Wilhelm, H." writes: > >> I added to org-link-abbrev-alist the list ("att" . >> org-attach-expand-link) and it works nicely when I'm opening links >> (C-c C-o) to images in the attachment directory. But when I try to >> export the document org-attach-expand-link is not to working. > > Instead of modifying `org-link-abbrev-alist', you can simply use > > #+LINK: att %(org-attach-expand-link) Crazy! Thanks for the information. > in your buffer. It will open the correct attachment in links and > export them correctly. There was a bug that prevented the correct > export of abbreviated links of the form %(org-attach-expand-link) > but I just fixed this bug. I see, the org-link-abbrev-alist way worked for me since you prodded me to use 8.0-pre... :-) --- All the best Dieter > Best, > > -- > Bastien