[Therion] "\legendbox" "\loadpicture" and absolute paths
Henry Bennett
henry at hbennett.com
Sun Mar 14 13:13:53 CET 2021
Thank you. I can confirm that this works with the latest dev build under
Windows.
I had thought this was introduced in an early dev build after the mail
earlier in February. My bad.
Keep up the good work, regards,
Henry
On Sat, Mar 13, 2021 at 4:54 PM Martin Budaj <m.budaj at gmail.com> wrote:
> Hi,
>
> \savepath has been implemented on February 27; your therion version is
> older. If you'll have problems also with the current version of therion,
> please send me your layout definition and the log file produced by therion.
>
> Best regards
> Martin
>
> On Sat, Mar 13, 2021 at 2:57 PM Henry Bennett <henry at hbennett.com> wrote:
>
>> 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
>>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>>
> _______________________________________________
> 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/20210314/53e97053/attachment.htm>
More information about the Therion
mailing list