Re: [Therion] point:passage-height
I've just tried this again and it's fine so I must have been doing something wrong. Dave Clucas daveclucas.com mycaves.org. On 14 Jan 2013, at 21:25, therion-request@speleo.sk wrote:
Send Therion mailing list submissions to therion@speleo.sk
To subscribe or unsubscribe via the World Wide Web, visit http://mailman.speleo.sk/mailman/listinfo/therion or, via email, send a message with subject or body 'help' to therion-request@speleo.sk
You can reach the person managing the list at therion-owner@speleo.sk
When replying, please edit your Subject line so it is more specific than "Re: Contents of Therion digest..."
Today's Topics:
1. Re: point:passage-height (Marco Corvi) 2. Re: point:passage-height (Martin Sluka)
----------------------------------------------------------------------
Message: 1 Date: Mon, 14 Jan 2013 04:15:21 -0800 (PST) From: Marco Corvi <marco_corvi@yahoo.com> Subject: Re: [Therion] point:passage-height To: List for Therion users <therion@speleo.sk> Message-ID: <1358165721.27508.YahooMailNeo@web120301.mail.ne1.yahoo.com> Content-Type: text/plain; charset="utf-8"
hi bruce,
passage-height goes with modes 2, 3, 4, and 5
dave might redefine the mpost macros scaling the label (lab) in a custom layout.
marco
________________________________ From: Bruce <bruce@tomo.co.nz> To: 'List for Therion users' <therion@speleo.sk> Sent: Saturday, January 12, 2013 7:57 PM Subject: Re: [Therion] point:passage-height
Dave The key to modifying the symbol definition may lie in the file thText.mp in the sources ? Ie Here is the code from 5.3.9 as an example ? vardef p_label@#(expr txt,pos,rot,mode) = ? if (mode=1) or (mode=7): interim labeloffset:=(u/8) fi; ? lab:=thelabel@#(txt, pos); ? if mode>1: pickup PenD fi; ? if mode=1: ??? pickup pencircle scaled (u/6); ??? drawdot(pos); ??? process_label(pos,0); ? elseif mode=2: process_uplabel;?????? ? elseif mode=3: process_downlabel; ? elseif mode=4: process_updownlabel; ? elseif mode=5: process_circledlabel; ? elseif mode=6: process_boxedlabel; ? elseif mode=7: process_label(pos,rot);? % station name ? elseif mode=8: process_filledlabel(pos, rot); ? else: process_label(pos,rot); fi; enddef; ? I have not looked into how it works, but I?m guessing the ?point height? and ?point passage-height? labels are one of the ?modes? above, and that the processes called are default metapost routines.? Too complicated for me to unravel. ? BTW shouldn?t you be using ?point height? to indicate the height of cobble banks, rather than ?point passage-height?? (Probably the same symbol size issue will apply). ? Also, as a path to a possible work around, I think the AUT symbol set includes the option to label ?line pit? (or is it ?line wall:pit?)?? I have never managed to get it to work ? but have not tried too hard either. ? Bruce ?
________________________________
From:therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Dave Clucas Sent: Sunday, 13 January 2013 12:59 a.m. To: therion@speleo.sk Subject: Re: [Therion] point:passage-height ? Footleg - I'm not using the symbol to control the passage height, I'm using it to show the depth of a trench in a gravel bank. Vasily - I'm already using base-scale to control the size of other symbols but this one is too big. I need to make it smaller without changing all the symbols. The size is probably related to the font size but again I'm happy with the font size for labels etc, I just want to change this particular symbol. ? Dave Clucas daveclucas.com mycaves.org. ? ? ? _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
participants (1)
-
Dave Clucas