<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Martin,<div><br></div><div>Using the dev Windows version Therion 5.5.7+67fffb0 (2021-02-22) I'm still only able to use absolute paths. Is this a Windows only issue?</div><div><br></div><div>I've also tried using the \savepath method (from thbook) below with no success.</div><div><br></div><div>\savepath{mypath1}{../data/picture.png}<br>\def\maplayout{<br>\legendbox{100}{80}{NW}{\loadpicture{mypath1}}<br>}<br><br></div><div>Thanks for looking at this.</div><div><br></div><div>Regards, Henry Bennett</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 7, 2021 at 6:07 PM Martin Budaj <<a href="mailto:m.budaj@gmail.com">m.budaj@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jan 15, 2015 at 9:59 AM rowena <<a href="mailto:rowena_l@tpg.com.au" target="_blank">rowena_l@tpg.com.au</a>> wrote:<br>
<br>
> I am using the “\loadpicture” capability in “\legendbox” constructs to include map sections, elevations, etc.<br>
> It all works nicely on my PC where I am using relative paths to the pdf files.<br>
> My club has a desire to archive the map data for posterity – ie if my pc dies or I go walkabout, the map data should still be available so that others can add to the maps as they are extended.<br>
> I would prefer to have the images included using relative pathnames, rather than absolute pathnames, so that future explorers can download the map data and extend it, without having to duplicate my file hierarchy.<br>
><br>
> How can I include relative paths in the \loadpicture functionality?<br>
<br>
Hi,<br>
<br>
it took some time, but now \loadpicture supports both relative and<br>
absolute paths. Check out the devel branch (not yet merged to master):<br>
<br>
Source: <a href="https://github.com/therion/therion/tree/devel" rel="noreferrer" target="_blank">https://github.com/therion/therion/tree/devel</a><br>
Windows installer:<br>
<a href="https://github.com/therion/therion/actions?query=workflow%3AInstaller+branch%3Adevel" rel="noreferrer" target="_blank">https://github.com/therion/therion/actions?query=workflow%3AInstaller+branch%3Adevel</a><br>
<br>
Best wishes<br>
Martin<br>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div></div>