On Wed, Jul 5, 2023 at 11:57 AM jkn <[email protected]> wrote:

On my Linux box, I get something in the lower 'status bar' like(*)
>
>     unl:///home/jkn/path/to/myfile.leo#node-->subnode-->subnode
>
> but when I run on my windows machine, the same file (shared via NextCloud)
> will not be  like this, shurely? What happens if I move my .leo file to a
> different location?
>

You are using a path-based (legacy) unl. Happily, Leo's new link-resolution
logic will work on both path-based and gnx-based links.

Everything will work provided you define *@data unl-path-prefixes* in your
*myLeoSettings.leo* file *on each platform*. These data should define an
absolute path (platform-specific) for various .leo files.

For example, suppose you want to create unbreakable links to x.leo, y.leo,
and z.leo throughout your outlines.

The body text of @data unl-path-prefixes should look like this:

x.leo: <full path to the directory containing x.leo>
y.leo: <full path to the directory containing y.leo>
z.leo: <full path to the directory containing z.leo>

That's all!!! Now your clickable links (within x/y/z.leo) will never break!

@data unl-path-prefixes is a defining feature of the new scheme. Links/unls
no longer require long/absolute file names.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS29XYw-uTdNGdDR2jn-KYEpWjDy_9mWLUqkgovi0-2Ojw%40mail.gmail.com.

Reply via email to