Re: [Therion] Splays appearing when not selected

2021-01-24 Thread Wookey
On 2021-01-24 14:40 +0100, Benedikt Hallinger wrote:
> Wookey, when is this expected to appear in testing?

Follow the status on the tracker page:
https://tracker.debian.org/pkg/therion
(only updates every few hours, so right now shows only the previous version)

It should happen approx 48 hours from now if all goes well.
The last architecture (mipsel) is just building now.
https://buildd.debian.org/status/package.php?p=therion

> I would test it

Thanks, that is very useful (to make sure I didn't screw anything up)

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


signature.asc
Description: PGP signature
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Splays appearing when not selected

2021-01-24 Thread Benedikt Hallinger
Wookey, when is this expected to appear in testing?
I would test it

> Am 24.01.2021 um 13:57 schrieb Wookey :
> 
> On 2021-01-23 11:34 +0100, Stacho Mudrak wrote:
>>   Hi Axel,
>>   these big numbers are just NaNs in fact. It does not affect any output -
>>   it just means the map has no altitude associated with it. But thanks for
>>   finding out, I have tried to fix it in the latest commit, could you please
>>   try?
> 
> I've included this fix (and the other minor one you did) in the debian
> package (as 5.5.6ds1-5).  It turns out that updates to non-core packages 
> (which
> definately includes Therion :-) are actually allowed until 12th Feb,
> not 12th Jan so it should still make it the next stable release.
> 
> It looks like this stable release of therion should be in quite good shape.
> 
> Wookey
> -- 
> Principal hats:  Linaro, Debian, Wookware, ARM
> http://wookware.org/
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Splays appearing when not selected

2021-01-24 Thread Wookey
On 2021-01-23 11:34 +0100, Stacho Mudrak wrote:
>Hi Axel,
>these big numbers are just NaNs in fact. It does not affect any output -
>it just means the map has no altitude associated with it. But thanks for
>finding out, I have tried to fix it in the latest commit, could you please
>try?

I've included this fix (and the other minor one you did) in the debian
package (as 5.5.6ds1-5).  It turns out that updates to non-core packages (which
definately includes Therion :-) are actually allowed until 12th Feb,
not 12th Jan so it should still make it the next stable release.

It looks like this stable release of therion should be in quite good shape.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


signature.asc
Description: PGP signature
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] specific which label appears in output

2021-01-24 Thread Martin Budaj
On Sun, Jan 17, 2021 at 8:02 PM Axel  wrote:
> for an overview map I need to specific the labels I want to have in the 
> output. Just sorting them by size is not possible. After searching I found a 
> label re-definition at 
> http://marcocorvi.altervista.org/caving/tbe/m_07/m_072.htm (7.2.10).
>
> Works like a charm in a small cave but taken to my project it behaves odd:
> If I compile, Therion (5.5.6) gives this error (and creates no map):
>   converting scraps ... done
>   making map ... C:\Program Files (x86)\Therion\therion.exe: error -- Can't 
> open file data.8bbox!

Therion expects to find a *bbox file for each scrap containing labels.
It is generated by metapost when the labels are processed. In your
case, you instructed metapost to skip all the labels in a scrap (so no
*bbox file was produced), but therion knows there were some labels
defined for that scrap (if you displayed at least one label in the
scrap, the *bbox file would be generated). The easiest solution is to
create an empty *bbox file if there is none by writing an empty string
to it. Here is a modified Marco's macro:

   vardef p_label@#(expr txt,pos,rot,mode) =
   if known ATTR_visibility:
 if ATTR_visibility="on":  % ADDED CONDITIONS
   if (mode=1) or (mode=7):
 interim labeloffset:=(u/8).
   fi;
   lab:=thelabel@#(txt, pos);
   if mode>1: pickup PenD fi;
   if mode=1: % altitude
 pickup pencircle scaled (u/6);
 drawdot(pos);
 process_label(pos,0);
   elseif mode=2: process_uplabel;% passage height
positive
   elseif mode=3: process_downlabel;  % passage height
negative
   elseif mode=4: process_updownlabel;% passage height both
   elseif mode=5: process_circledlabel;   % passage height
unsigned.
   elseif mode=6: process_boxedlabel;
   elseif mode=7: process_label(pos,rot); % station name
   elseif mode=8: process_filledlabel(pos, rot);
   else:% mode=0 date
 process_label(pos,rot);
   fi;
 else:
   write "" to jobname & "." & decimal(charcode) & "bbox";
 fi;
   else:
 write "" to jobname & "." & decimal(charcode) & "bbox";
   fi;  % END OF CONDITIONS
 enddef;


> However, if I put in the –d command it compiles and produces the warning:
>warning -- cavern exit code – 1
> But it creates a nice map showing the labels I want.

There was surely some old data.8bbox file in the thTMPDIR, as therion
doesn't clean this directory between runs in the debug mode. Check the
timestamps of the files.

Best wishes
Martin
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion