On Fri, Nov 12, 2010 at 3:16 PM, smcho <[email protected]> wrote:

> Is there a way to make
>
> file://<CURRENT_PATH>/../abc.pdf
>
> so that Leo knows the CURRENT_PATH to fill it up to open the abc.pdf
> file?

Yes.  Use the {{exp}} form.  Within @path and @<file> paths, {{exp}}
gets evaluated with the following symbols known: c, g, p, os and sys.
Example:

    @file {{os.curdir}}/../abc.pdf

Not sure whether this works with @url.

This isn't documented anywhere at present.  It's on the list to add before rc1.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to