[Therion] Height numbers in square boxes

Martin Sluka martinsluka at mac.com
Fri Sep 21 08:51:47 CEST 2018


I use height point only. Placed by side or on symbol of pit line or others level changed symbols. 

M. S. 

Odesláno z iPhonu

21. 9. 2018 v 8:41, Martin Sluka via Therion <therion at speleo.sk>:

> As I know, these labels are underlayed by map-fg colour. The construction of such label is a bit complicated. 
> 
> Martin Budaj is responsible for this part of Therion. 
> 
> Passage height symbol is generated in the same way so maybe contact its author. 
> 
> Martin S. 
> 
> Odesláno z iPhonu
> 
> 20. 9. 2018 v 23:16, Andrew Atkinson via Therion <therion at speleo.sk>:
> 
>> Yes the Missouri set would be even better.
>> 
>>> 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
>> 
>> The therion book indicates that height can be added to pit or wall:pit
>> p29
>> "height <value> ▷ height of pit or wall:pit; available in METAPOST as a
>> numeric variable ATTR__height."
>> 
>> I guess that would also make sense for a floor-step, however if you try
>> it you get the error
>> -height not valid with type floor-step
>> When you use an altitude on a wall it adds a label but does not seem to
>> with pits maybe the same should happen with steps and pits, currently I
>> have no idea what happens to the height attribute on a pit. Looking at
>> data.mp the l_floorstep does have a ATTR__height and it is set to -1!
>> 
>> Yes I'm having similar problems to you defining a box, my skills are
>> generally limited to copying existing definitions and adjusting them
>> slightly. My guess is that it is not a metapost, it is tex as it is a
>> label, in tex you can put a box round text  with
>> 
>> \fbox{4}
>> 
>> but how or if you can use that in therion I do not know.
>> 
>> It is a problem that is interesting me, as I think it is something that
>> I might want to use.
>> 
>> Andrew
>> 
>> 
>> 
>>> On 20/09/18 13:09, Martin Sluka via Therion wrote:
>>> Please contact Martin Budaj. 
>>> 
>>> Odesláno z iPhonu
>>> 
>>> 20. 9. 2018 v 13:32, Bill Gee via Therion <therion at speleo.sk>:
>>> 
>>>> Hi Martin -
>>>> 
>>>> Now that is an interesting idea!  Most of the symbols used in Missouri are 
>>>> UIS, so that would serve as the starting point.
>>>> 
>>>> Is there any documentation on how to create an entire symbol set?
>>>> 
>>>> And my original question is still there ...  How can I create a symbol that 
>>>> puts a number inside a square box?
>>>> 
>>>> -- 
>>>> Bill Gee
>>>> 
>>>> 
>>>> 
>>>> On Thursday, September 20, 2018 12:37:42 AM CDT Martin Sluka via Therion 
>>>> wrote:
>>>>> The correct way could be to define “Missoury symbol set” as one of defaults
>>>>> for Therion.
>>>>> 
>>>>> It should be more simple than user symbol, because it will work with
>>>>> contents menus.
>>>>> 
>>>>> Martin S.
>>>>> 
>>>>> Odesláno z iPhonu
>>>>> 
>>>>> 20. 9. 2018 v 1:05, Bill Gee via Therion <therion at speleo.sk>:
>>>>>> Hi Andrew -
>>>>>> 
>>>>>> I have defined several of my own symbols such as a pendant and popcorn
>>>>>> with
>>>>>> hollow circles.  I could easily define a custom point that would display a
>>>>>> square box.
>>>>>> 
>>>>>> But then how to get the value displayed inside the box?  And how to make
>>>>>> the box scale according to the number of digits it contains?  And will
>>>>>> Therion do unit conversions like it does for the passage-height object? 
>>>>>> That's why I was looking for the existing code.  If I can find it, then
>>>>>> it is probably pretty easy to modify.
>>>>>> 
>>>>>>> Yes that is probably possible, however, using a defined symbol for
>>>>>>> something else is probably not the right answer. Therion allows you to
>>>>>>> define your own points.
>>>>>>> 
>>>>>>>> From the wiki
>>>>>>> 
>>>>>>> point u:xxxx where xxxx is the name of a user defined symbol that you
>>>>>>> have
>>>>>>> defined or referenced in a layout.
>>>>>>> 
>>>>>>> The actual definition seems to be beyond me at the moment, let me sleep
>>>>>>> on
>>>>>>> it, but hopefully a more skillful person will have the answer.
>>>>>>> 
>>>>>>> Andrew
>>>>>>> 
>>>>>>>> On Wed, 19 Sep 2018, 22:28 Bill Gee via Therion, <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
>>>>>>>> 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
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list