<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
Hi Benedikt,</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
Adding a continuation ? should be a standard use of a TH2 file, check in:</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
points/All Symbols/Possible continuation/Type [continuation].<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
This should produce a ?, even without the code to produce the text as well. If it's not producing a ? then there's something going wrong before.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
I've never tried adding continuation text, but I assume you're adding the text to the options box (much like producing a label). Options: <span style="display: inline !important; background-color: rgb(247, 249, 250); font-family: Verdana,Helvetica,Arial,sans-serif; font-size: 13.33px; font-weight: 700; line-height: 18.66px">-text
"water too cold to continue" -code A</span></div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<span style="display: inline !important; background-color: rgb(247, 249, 250); font-family: Verdana,Helvetica,Arial,sans-serif; font-size: 13.33px; font-weight: 700; line-height: 18.66px"><br>
</span></div>
<div style="color: rgb(0, 0, 0);"><font face="Verdana,Helvetica,Arial,sans-serif" size="2" style="background-color: rgb(247, 249, 250);">If you're not adding this to the options then this is what is causing your problems.</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Verdana,Helvetica,Arial,sans-serif" size="2" style="background-color: rgb(247, 249, 250);"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Verdana,Helvetica,Arial,sans-serif" size="2" style="background-color: rgb(247, 249, 250);">If it doesn't solve your problems, then we were having fun defining new rocks and Debris a couple of months ago. To insert
these new icons, there were a few steps to go through.</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Verdana,Helvetica,Arial,sans-serif" size="2" style="background-color: rgb(247, 249, 250);"><br>
</font></div>
<div style="color: rgb(0, 0, 0);"><font face="Verdana,Helvetica,Arial,sans-serif" size="2" style="background-color: rgb(247, 249, 250);">The test example is on Wookey's website, so I can't take credit for that, but it does just reduce the problem of defining
new symbols to a simple file, so is a good example for you to look at and work out. <a id="LPNoLP961911" href="http://wookware.org/surveys/therion/index.html">http://wookware.org/surveys/therion/index.html</a></font></div>
<br>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
In the Config file Wookey and Andrew defined the symbol in the layout. "Symbol-assign area debris TEST"</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
Then Initiated the Symbol within the Metapost wrapping "initsymbol ("a_debris_TEST")</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
and then defined the symbol.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
At present I think you may have only defined the symbol. So i'd advise also trying to define your continuation as def p_continuation_TEST<span style="display: inline !important; color: rgb(33, 33, 33); font-family: "Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,"Roboto","Helvetica Neue",sans-serif; font-size: 14.66px; font-size-adjust: none; font-stretch: 100%">(expr
pos,theta,sc,al) =</span><br style="color: rgb(33, 33, 33); font-family: " font-size: 14.66px">
<span style="display: inline !important; color: rgb(33, 33, 33); font-family: "Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,"Roboto","Helvetica Neue",sans-serif; font-size: 14.66px; font-size-adjust: none; font-stretch: 100%"></span></div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
Then above assigning the symbol</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
symbol-assign point continuation TEST</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
and then within your metapost wrapper initsymbol ("p_continuation_TEST")</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
By doing this, you should be able to turn on and off your "test" point continuation by # the symbol-assign line. as Wookey and Andrew did below for the AUT and SKBB blocks.</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
Do I make any sense?</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
---layout from wookeys Debris and rock----</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<span>layout local<br>
</span>
<div>scale 1 100</div>
<div>symbol-set NZSS</div>
<div>symbol-hide group cave-centreline</div>
<div></div>
<div>#copy blocksAUT</div>
<div>#copy blocksSKBB</div>
<div></div>
<div>symbol-assign area debris TEST</div>
<div>symbol-assign area blocks TEST</div>
<div>#symbol-assign area blocks AUT</div>
<div>#symbol-assign area blocks SKBB</div>
<div></div>
<div></div>
<div>code metapost</div>
<div></div>
<div>initsymbol ("a_debris_TEST");</div>
<div>initsymbol ("a_blocks_TEST");</div>
<div></div>
<div>def a_blocks_TEST (expr p) =</div>
<div> T:=identity;</div>
<div> symbol_distance:=1.6;</div>
<div> scale_factor:= 0.8;</div>
<div> pickup PenC;</div>
<div> path q, qq; q = bbox p;</div>
<div> pair outside;</div>
<div> outside:= ulcorner q + up;</div>
<div> picture tmp_pic; </div>
<div> uu := max(u, (xpart urcorner q - xpart llcorner q)/100, (ypart urcorner q - ypart llcorner q)/100);</div>
<div> tmp_pic := image(</div>
<div> for i = xpart llcorner q step symbol_distance*uu until xpart urcorner q:</div>
<div> for j = ypart llcorner q step symbol_distance*uu until ypart urcorner q:</div>
<div> qq := punked (((-.5uu,-.5uu)--(.5uu,-.5uu)--(1.05uu,0.05uu)--(.5uu,.5uu)--(-.5uu,.5uu)--cycle) </div>
<div> randomized (uu/2))</div>
<div> scaled (uniformdeviate(0.7)+scale_factor )</div>
<div> rotated uniformdeviate(360) </div>
<div> shifted ((i,j) randomized 0.75uu);</div>
<div> if xpart (p intersectiontimes qq) < 0:</div>
<div> if pointinside((i,j),p,outside):</div>
<div> thclean qq;</div>
<div> thdraw qq;</div>
<div> fi;</div>
<div> else:</div>
<div> qq:= qq scaled (uniformdeviate(.2)+.5 )</div>
<div> if xpart (p intersectiontimes qq) < 0:</div>
<div> if pointinside((i,j),p,outside):</div>
<div> thclean qq;</div>
<div> thdraw qq;</div>
<div> fi;</div>
<div> fi;</div>
<div> fi;</div>
<div> endfor; </div>
<div> endfor;</div>
<div> );</div>
<div> clip tmp_pic to p;</div>
<div> drawoptions();</div>
<div> draw tmp_pic;</div>
<div>enddef; </div>
<div></div>
<div></div>
<div>def a_debris_TEST (expr p) =</div>
<div> T:=identity;</div>
<div> pickup PenC;</div>
<div> path q, qq; q = bbox p;</div>
<div> picture tmp_pic; </div>
<div> tmp_pic := image(</div>
<div> for i = xpart llcorner q step u until xpart urcorner q:</div>
<div> for j = ypart llcorner q step u until ypart urcorner q:</div>
<div> qq := punked </div>
<div> (((-.2u,-.2u)--(.2u,-.2u)--(.2u,.2u)--(-.2u,.2u)--cycle) </div>
<div> randomized (u/2))</div>
<div> rotated uniformdeviate(360) </div>
<div> shifted ((i,j) randomized u);</div>
<div> if xpart (p intersectiontimes qq) < 0:</div>
<div> thclean qq;</div>
<div> thdraw qq;</div>
<div> fi;</div>
<div> endfor; </div>
<div> endfor;</div>
<div> );</div>
<div> clip tmp_pic to p;</div>
<div> draw tmp_pic;</div>
<div>enddef;</div>
<div> </div>
<div>endcode</div>
<div></div>
<div></div>
<div>endlayout</div>
<span></span><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Arial,Helvetica,sans-serif; font-size: 12pt;">
<br>
</div>
<div id="signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Arial,Helvetica,sans-serif" dir="ltr">
<font class="ecxApple-style-span" size="3"><font face="Arial">Regards,</font><font face="Arial"><br>
</font><font face="Arial">Alastair Gott.</font><font face="Arial"><br>
<br>
</font><font face="Arial">AlastairGott@hotmail.com,</font><font face="Arial"><br>
</font><font face="Arial">M: 07931779380.</font></font><br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Therion <therion-bounces@speleo.sk> on behalf of Benedikt Hallinger via Therion <therion@speleo.sk><br>
<b>Sent:</b> 22 December 2018 11:12<br>
<b>To:</b> List for Therion users<br>
<b>Cc:</b> Benedikt Hallinger<br>
<b>Subject:</b> [Therion] Showing qestion mark texts broken?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
i try to add a layout for showing the question mark texts.<br>
For this i tried the additions from the websites:<br>
a) <a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftherion.speleo.sk%2Fsamples.doc%2F60.html&data=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636810745412347133&sdata=WEN25vHGKS75bd2iOmYY8N3phCECVrGVoznqMnrqC20%3D&reserved=0">
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftherion.speleo.sk%2Fsamples.doc%2F60.html&data=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636810745412347133&sdata=WEN25vHGKS75bd2iOmYY8N3phCECVrGVoznqMnrqC20%3D&reserved=0</a><br>
b) <a href="https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarcocorvi.altervista.org%2Fcaving%2Ftbe%2Fm_05%2Fm_054.htm&data=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636810745412347133&sdata=3FtoNdR%2BuWBMfXX3hZtoNaKunH9%2FrMfyeyyrE5TXdzw%3D&reserved=0">
https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarcocorvi.altervista.org%2Fcaving%2Ftbe%2Fm_05%2Fm_054.htm&data=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636810745412347133&sdata=3FtoNdR%2BuWBMfXX3hZtoNaKunH9%2FrMfyeyyrE5TXdzw%3D&reserved=0</a><br>
but neither seems to work. a) produces no change and b) triggers a <br>
compile error :(<br>
<br>
<br>
This is a) implemented in my layout.conf (taken from the web)<br>
---------------------------<br>
layout showContinationText.inc<br>
code metapost<br>
def p_continuation(expr pos,theta,sc,al) =<br>
<br>
% draw question mark above station:<br>
% rotation=0, scaling=1, offset=(0,2)<br>
%<br>
p_continuation_UIS(pos, 0.0, 1.0, (0, 2) );<br>
<br>
% if text attribute is set<br>
if known ATTR_text:<br>
% set labeling color to red<br>
push_label_fill_color(1.0, 0.0, 0.0);<br>
<br>
% draw filled label with text below station<br>
p_label.bot(ATTR__text, pos shifted (0,-0.5u), 0.0, 8);<br>
<br>
% restore original labeling color<br>
pop_label_fill_color;<br>
fi;<br>
enddef;<br>
endcode<br>
endlayout<br>
--------------------<br>
<br>
and my thconfig export command includes this: "-layout <br>
showContinationText.inc", which in other cases is enough to activate it. <br>
The layout file is also loaded, i checked that.<br>
However, no text is shown...<br>
<br>
What am i doing wrong?<br>
<br>
<br>
With best regards and happy christmas!<br>
_______________________________________________<br>
Therion mailing list<br>
Therion@speleo.sk<br>
<a href="https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.speleo.sk%2Flistinfo%2Ftherion&data=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636810745412347133&sdata=0bzsKCPTIBGAWAM4vi5hQhuOhqBghQppJ1j%2BCv1DnLI%3D&reserved=0">https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.speleo.sk%2Flistinfo%2Ftherion&data=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636810745412347133&sdata=0bzsKCPTIBGAWAM4vi5hQhuOhqBghQppJ1j%2BCv1DnLI%3D&reserved=0</a><br>
</div>
</span></font></div>
</body>
</html>