From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhihao Ding Subject: Re: environmental variables in links in org Date: Mon, 16 Nov 2015 11:38:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b3a88da6dad760524a6d996 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyI7J-0000JU-5I for emacs-orgmode@gnu.org; Mon, 16 Nov 2015 06:38:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyI7I-0004IP-41 for emacs-orgmode@gnu.org; Mon, 16 Nov 2015 06:38:37 -0500 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:35522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyI7H-0004HG-SL for emacs-orgmode@gnu.org; Mon, 16 Nov 2015 06:38:36 -0500 Received: by lbbsy6 with SMTP id sy6so57752390lbb.2 for ; Mon, 16 Nov 2015 03:38:34 -0800 (PST) In-Reply-To: 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: Grant Rettke Cc: "emacs-orgmode@gnu.org" --047d7b3a88da6dad760524a6d996 Content-Type: text/plain; charset=UTF-8 Thanks for your reply. I found controlling the environment outside org is much better and stopped thinking this direction. Cheers, Zhihao On 15 November 2015 at 14:03, Grant Rettke wrote: > On Thu, Nov 5, 2015 at 7:16 PM, Zhihao Ding wrote: > > Is it a good idea to use environment variables in the links referenced > in a > > org file? e.g. > > > > [[$mydata/myfigure.pdf]] > > How do you want Org to behave when the user clicks the link? > > > If so how to achieve this? > > I would try in-line source blocks. > -- Regards, Zhihao Ding --047d7b3a88da6dad760524a6d996 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for your reply. I found controlling the environment= outside org is much better and stopped thinking this direction.=C2=A0
=
Cheers,
Zhihao


On 15 November 2015 at 14:= 03, Grant Rettke <gcr@wisdomandwonder.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">On Thu, Nov 5, 2015 at 7:16 = PM, Zhihao Ding <zhihao.ding@gm= ail.com> wrote:
> Is it a good idea to use environment variables in the links referenced= in a
> org file?=C2=A0 e.g.
>
> [[$mydata/myfigure.pdf]]

How do you want Org to behave when the user clicks the link?

> If so how to achieve this?

I would try in-line source blocks.



--
Regards,
Zhihao Ding
--047d7b3a88da6dad760524a6d996--