Hi all I'm using passage-height:negative points as points of waterdepth in a map of a cave. How can I use the most negative number in code tex-map ... endcode section? Is it possible at all? I would like to print the maximum waterdepth into the legend of a map. But I don't want to use any kind of an override. I would like to have some automatism instead. The part "\the\cavedepth" is not working as there are parts in the cave that are some meters above the waterline. Therefore I get "wrong" numbers for the waterdepth (e.g. if the cave is going from -5m up to +5m I do get 10m as cavedepth). If there are other possiblities to get waterdepth in some kind of automatic (without using an override like \cavedepth{5} ) please let me know. Thanks for your help, Torsten
Firstly, I am sorry for the late answer. Secondly, this is not yet possible in therion yet. I see just one possibility, how to calculate this number automatically. It is to run therion in debug mode and then, using some script, scan output metapost file (data.mp) for depth labels, calculate the minimum and export it into TeX file, that will be processed in the output file. It would be worth to think, how such a problems could be solved. May be exporting these numbers to database would be to most proper solution. S. On 21 October 2014 16:35, Torsten Schnitter <torsten.schnitter@netcologne.de
wrote:
Hi all
I'm using passage-height:negative points as points of waterdepth in a map of a cave.
How can I use the most negative number in code tex-map ... endcode section? Is it possible at all?
I would like to print the maximum waterdepth into the legend of a map. But I don't want to use any kind of an override. I would like to have some automatism instead.
The part "\the\cavedepth" is not working as there are parts in the cave that are some meters above the waterline. Therefore I get "wrong" numbers for the waterdepth (e.g. if the cave is going from -5m up to +5m I do get 10m as cavedepth).
If there are other possiblities to get waterdepth in some kind of automatic (without using an override like \cavedepth{5} ) please let me know.
Thanks for your help, Torsten _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
participants (2)
-
Stacho Mudrak -
Torsten Schnitter