Well, it is quite complicated, but it is possible. When point symbol is exported from centerline, system _text attribute is set in metapost. To dipsplay label, use code <br><br><pre class="code">code metapost<br> def p_continuation(expr pos,theta,sc,al) =<br>
</pre>etc...<br><br>shown in:<br><br><a href="http://therion.speleo.sk/samples.doc/60.html">http://therion.speleo.sk/samples.doc/60.html</a><br><br>But you will need to redefine corresponding symbol (e.g. p_sink). In that code, you can also control, whether symbol and/or text should be displayed. Feel free to ask more, if this does not help you.<br>
<br>Regards, S.<br><br><div class="gmail_quote">On 7 February 2011 21:10, Bruce <span dir="ltr"><<a href="mailto:dangle@tomo.co.nz">dangle@tomo.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Hi All</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">I’ve been trying to understand symbol-show and
symbol-hide a little better as they relate to pdf outputs. How do I display
the text associated with fixed points?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">I have some map objects defined for various caves in
a large system. These are comprised of scrap drawings.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> I also have a map object with the minor surface
features nearby, such as sinks, dolines, isolated entrances and significant
navigational features such as fence posts or trees (for example). This is
comprised of a survey only (mostly fixed points, and no scrap drawings) however
and uses flags such as doline or sink, and most points have a text string
associated ie.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">fix 15 2521640 6042938 581 10
10 30 </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">station 15 "Concrete water trough"</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">I would like to show the caves as outlines with all
the rest of their symbology turned off, and the surface features with each of
the points labelled with appropriate symbol and associated text. This is
for an area map, at scales of say 1:5000 or 1:10,000</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">I can turn the cave symbols off with symbol-hide
statements, and so far I think that is working out OK.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">However…</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
point flag:entrance \</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
point flag:sink \ </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
point flag:spring \ </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
point flag:doline \ </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
point flag:dig \ </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">The above layout statements cause the special
entrance and sink etc symbols to be displayed, AND show the text string
associated with the point. These are not displayed by default as far as I
can tell, but these statements rectify that.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
group all</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">And the group all statement has pretty much the same
effect in a more comprehensive and compact format.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">However none of the above enables me to display the
text for my “Concrete water trough” example above.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">It is always just a cross with no text, or with ‘15’
if debug station-names is on. It shows up in Loch,
but not in pdfs.</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">So, how do I display the text associated with fixed points?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Is there a need for…</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> -layout-symbol-show
point fixed </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">… or something similar?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Also, sometimes I would like to display the point
symbols (for the likes of the above flags) OR the text strings associated with the
points, but not both at once. Is there a way of doing this? </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Thanks</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Bruce</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"> </span></font></p>
</div>
</div>
<br>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br>
<a href="http://mailman.speleo.sk/mailman/listinfo/therion" target="_blank">http://mailman.speleo.sk/mailman/listinfo/therion</a><br>
<br></blockquote></div><br>