From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-attach-expand-link in latex exports (Emacs-24.3) Date: Tue, 16 Apr 2013 09:26:18 +0200 Message-ID: <87ehebos11.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US0Hb-0001ks-SY for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 03:26:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US0Ha-0007Wp-2A for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 03:26:27 -0400 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:45111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US0HZ-0007We-SH for emacs-orgmode@gnu.org; Tue, 16 Apr 2013 03:26:25 -0400 Received: by mail-we0-f176.google.com with SMTP id s43so124891wey.35 for ; Tue, 16 Apr 2013 00:26:25 -0700 (PDT) In-Reply-To: (Dieter Wilhelm's message of "Tue, 12 Mar 2013 19:18:20 +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: "Dieter Wilhelm, H." Cc: emacs-orgmode@gnu.org 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) 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. Best, -- Bastien