From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Let Org-mode babel file result support relative link type by using org-link-file-path-type Date: Sun, 12 Mar 2017 12:22:53 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c19e3a29fcaf4054a80f40a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmv2W-0006j1-OO for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 23:23:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmv2V-0006gx-ME for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 23:23:28 -0500 Received: from mail-it0-x22b.google.com ([2607:f8b0:4001:c0b::22b]:38002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmv2V-0006em-G0 for emacs-orgmode@gnu.org; Sat, 11 Mar 2017 23:23:27 -0500 Received: by mail-it0-x22b.google.com with SMTP id m27so16091882iti.1 for ; Sat, 11 Mar 2017 20:23:24 -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: Org-mode --94eb2c19e3a29fcaf4054a80f40a Content-Type: text/plain; charset=UTF-8 Let Org-mode babel file result support relative (adaptive) link type by using `org-link-file-path-type`. This also can solve static site generator extensions (like `ob-blog.el` etc) image link path issue. Also better if user changed parent directory name, those links will have to updated too. But if `adaptive` `org-link-file-path-type` will solve this problem. So please let Org-mode babel header arguments `:results file :file "filename.png"` use `org-link-file-path-type` variable. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --94eb2c19e3a29fcaf4054a80f40a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Let Org-mode babel file result support relative (adaptive) link = type by using `org-link-file-path-type`.

This also can solve static site generator extensions (like `ob-blog.el` et= c) image link path issue.

Also better if user changed pare= nt directory name, those links will have to updated too. But if `adaptive` = `org-link-file-path-type` will solve this problem.

So pl= ease let Org-mode babel header arguments `:results file :file "filenam= e.png"` use `org-link-file-path-type` variable.
[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key= ID: 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B= 9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
--94eb2c19e3a29fcaf4054a80f40a--