[Therion] Height numbers in square boxes

Bruce Mutton bruce at tomo.co.nz
Tue Oct 2 10:19:21 CEST 2018


Stacho

All those edits you have done are very much appreciated.  I look forward to figuring out usage cases for all of this.

Possibly some issues for now though, 

 

On using ‘debug all’ or ‘debug scrap’

 

>> p_label_mode_dbgscrap-1

! Unknown relation will be considered false.

<to be read again>

 

Looks like have missed changing a dbgscrap to debugscrap somewhere in the code.

 

Also some odd assignments.

p_label_mode_debugstation:=2; %should be set to 7…

 

…to prevent debug station-names doing this

 

 

I suspect this one is not quite right either.

p_label_mode_debugscrap:=1; % Perhaps it should be 6?

 

Boxed labels work well.



 

I tried the filled labels, mode 8, but cannot see the difference to the generic label, mode 0.

 

Regards

Bruce

 

 

 

 

From: Therion <therion-bounces at speleo.sk> On Behalf Of Stacho Mudrak via Therion
Sent: Tuesday, 2 October 2018 09:08
To: List for Therion users <therion at speleo.sk>
Cc: Stacho Mudrak <lists at group-s.sk>
Subject: Re: [Therion] Height numbers in square boxes

 

Hi Bill, 

 

we have rearranged therion metapost code in latest commits and now (using last devel build) it should be possible to have boxed height labels just by using following code in your layout:

 

code metapost

p_label_mode_height:=6;

endcode

 

The magic number 6 stands for boxed label. See https://github.com/therion/therion/blob/master/mpost/thText.mp#L85 for list of all label modes.

 

Please let us know, if this is what you have been looking for or more complicated changes are needed.

 

S.

 

On Wed, 19 Sep 2018 at 23:35, Bill Gee via Therion <therion at speleo.sk <mailto:therion at speleo.sk> > wrote:

Hello everyone -

A common convention around Missouri cave mapping is to indicate the height 
change of a floor step by enclosing the value in a square box.  This is not 
the same as ceiling height which is enclosed in a circle or oval.

I have been using the object "point height" for this.  It works except there 
is nothing around the value.  It just hangs out in space, so to speak.

I used the "-d" option to dump all the MetaPost and TeX code.  I find no 
references in any of the files to objects of type height or passage-height, 
which implies that these two objects are not generated by MetaPost.

Is it possible to redefine the "point height" symbol so it draws a square box 
around the value?

Thanks!
-- 
Bill Gee




_______________________________________________
Therion mailing list
Therion at speleo.sk <mailto: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/20181002/e8cef575/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 7880 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20181002/e8cef575/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 43678 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20181002/e8cef575/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 2351 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20181002/e8cef575/attachment.jpg>


More information about the Therion mailing list