* environmental variables in links in org
@ 2015-11-05 11:16 Zhihao Ding
2015-11-15 14:03 ` Grant Rettke
2015-11-16 18:14 ` Samuel Wales
0 siblings, 2 replies; 4+ messages in thread
From: Zhihao Ding @ 2015-11-05 11:16 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
Hi guys,
Is it a good idea to use environment variables in the links referenced in a
org file? e.g.
[[$mydata/myfigure.pdf]]
If so how to achieve this?
Many thanks,
Zhihao
[-- Attachment #2: Type: text/html, Size: 327 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: environmental variables in links in org
2015-11-05 11:16 environmental variables in links in org Zhihao Ding
@ 2015-11-15 14:03 ` Grant Rettke
2015-11-16 11:38 ` Zhihao Ding
2015-11-16 18:14 ` Samuel Wales
1 sibling, 1 reply; 4+ messages in thread
From: Grant Rettke @ 2015-11-15 14:03 UTC (permalink / raw)
To: Zhihao Ding; +Cc: emacs-orgmode@gnu.org
On Thu, Nov 5, 2015 at 7:16 PM, Zhihao Ding <zhihao.ding@gmail.com> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: environmental variables in links in org
2015-11-15 14:03 ` Grant Rettke
@ 2015-11-16 11:38 ` Zhihao Ding
0 siblings, 0 replies; 4+ messages in thread
From: Zhihao Ding @ 2015-11-16 11:38 UTC (permalink / raw)
To: Grant Rettke; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 597 bytes --]
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 <gcr@wisdomandwonder.com> wrote:
> On Thu, Nov 5, 2015 at 7:16 PM, Zhihao Ding <zhihao.ding@gmail.com> 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
[-- Attachment #2: Type: text/html, Size: 1156 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: environmental variables in links in org
2015-11-05 11:16 environmental variables in links in org Zhihao Ding
2015-11-15 14:03 ` Grant Rettke
@ 2015-11-16 18:14 ` Samuel Wales
1 sibling, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2015-11-16 18:14 UTC (permalink / raw)
To: Zhihao Ding; +Cc: emacs-orgmode
On 11/5/15, Zhihao Ding <zhihao.ding@gmail.com> wrote:
> Is it a good idea to use environment variables in the links referenced in a
> org file? e.g.
imo yes.
> [[$mydata/myfigure.pdf]]
>
> If so how to achieve this?
you just did!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-11-16 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 11:16 environmental variables in links in org Zhihao Ding
2015-11-15 14:03 ` Grant Rettke
2015-11-16 11:38 ` Zhihao Ding
2015-11-16 18:14 ` Samuel Wales
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).