From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tarjei_B=C3=A6rland?= Subject: "org-link-set-parameters" get parent properties Date: Thu, 31 Jan 2019 11:36:26 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001eaf270580be9629" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gp9h8-00036v-Dt for emacs-orgmode@gnu.org; Thu, 31 Jan 2019 05:35:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gp9h7-0006Dd-Fb for emacs-orgmode@gnu.org; Thu, 31 Jan 2019 05:35:42 -0500 Received: from mail-yb1-xb31.google.com ([2607:f8b0:4864:20::b31]:44233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gp9h7-00069Q-5i for emacs-orgmode@gnu.org; Thu, 31 Jan 2019 05:35:41 -0500 Received: by mail-yb1-xb31.google.com with SMTP id k189so1080668yba.11 for ; Thu, 31 Jan 2019 02:35:36 -0800 (PST) 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" To: emacs-orgmode@gnu.org --0000000000001eaf270580be9629 Content-Type: text/plain; charset="UTF-8" Hi! I have a custom function for exporting image links in org-mode (I have my html exported to the parent folder of my .org files, and I just want to keep one copy of the image files). How can I get the "attr_html" of the link for a custom org-set-link-parameters function? As far as I can tell, the :export wants a function taking (path desc backend), and I do not know how to extract the parent of the link from this. Thanks in advance! Regards, Tarjei --0000000000001eaf270580be9629 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

I have a custom function= for exporting image links in org-mode (I have my html exported to the pare= nt folder of my .org files, and I just want to keep one copy of the image f= iles).

How can I get the "attr_html" of = the link for a custom org-set-link-parameters function? As far as I can tel= l, the :export wants a function taking (path desc backend), and I do not kn= ow how to extract the parent of the link from this.

Thanks in advance!

Regards,
Tarjei
=
--0000000000001eaf270580be9629--