<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have a solution that works, but you may have to redefine a number of metapost symbols. I set a color attribute on my lines and use it in the following way in a line or point symbol:<div><br></div><div><div>if known ATTR_color: </div><div> scantokens ATTR_color;</div><div>else: </div><div> scantokens "color col; col:=black;";</div><div>fi;</div><div><br></div><div>Then add a withcolor col to all the draw commands.</div><div><br></div><div>Carl</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>On Jan 1, 2010, at 2:48 PM, Torstein Finnesand wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
<div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black;">Hi.</span><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">
I have a simple .th file with centerline data from a cave. The output
file is PDF (map), - with the centerline and
station symbols. I have no scraps.<span style=""> <br>
<br>
</span></span></div><p style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in;"><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">
</span></p><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">My
problem
is how to visualize the shots and the stations symbols<span style=""> </span>in
3 colours in the PDF file:</span></div><p style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in;"><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">
</span></p><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">1.
one
group of the shots (and their stations) could be default (black)</span></div><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">2.
the
second group </span><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">(and
their stations) </span><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">could
be red</span></div><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">3.
the
third group could be blue (with hidden or blue stations). Or better:<span style=""> </span>The group is hidden.</span></div><p style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in;"><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;">
</span></p><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;"><br>
I
can fix no. 1<span style=""> </span>and no. 3, the last one by
using flag surface in .th file and symbol-hide / symbol-colour in the
config
file. (The shots are not surface shots, but that doesn't matter.)<br>
</span></div><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;"><br>
But how to fix no. 2?<br>
</span></div><div style="margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-indent: 0in; "><span style="font-size: 11pt; font-family: Calibri; color: black; vertical-align: baseline;"><br>
Torstein Finnesand<br>
Norway<br>
</span></div>
</div>
_______________________________________________<br>Therion mailing list<br><a href="mailto:Therion@speleo.sk">Therion@speleo.sk</a><br>http://mailman.speleo.sk/mailman/listinfo/therion<br></blockquote></div><br></div></body></html>