[Therion] "\legendbox" "\loadpicture" and absolute paths

Henry Bennett henry at hbennett.com
Sat Mar 13 14:39:07 CET 2021


Hi Martin,

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?

I've also tried using the \savepath method (from thbook) below with no
success.

\savepath{mypath1}{../data/picture.png}
\def\maplayout{
\legendbox{100}{80}{NW}{\loadpicture{mypath1}}
}

Thanks for looking at this.

Regards, Henry Bennett


On Sun, Feb 7, 2021 at 6:07 PM Martin Budaj <m.budaj at gmail.com> wrote:

> On Thu, Jan 15, 2015 at 9:59 AM rowena <rowena_l at tpg.com.au> wrote:
>
> > I am using the “\loadpicture” capability in “\legendbox” constructs to
> include map sections, elevations, etc.
> > It all works nicely on my PC where I am using relative paths to the pdf
> files.
> > 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.
> > 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.
> >
> > How can I include relative paths in the \loadpicture  functionality?
>
> Hi,
>
> it took some time, but now \loadpicture supports both relative and
> absolute paths. Check out the devel branch (not yet merged to master):
>
> Source: https://github.com/therion/therion/tree/devel
> Windows installer:
>
> https://github.com/therion/therion/actions?query=workflow%3AInstaller+branch%3Adevel
>
> Best wishes
> Martin
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20210313/8fbd8dda/attachment.htm>


More information about the Therion mailing list