[Therion] Centerline colours in a PDF file (map)

Carl Magnuson magnu213 at umn.edu
Fri Jan 1 22:25:58 CET 2010


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:

if known ATTR_color: 
        scantokens ATTR_color;
else: 
        scantokens "color col; col:=black;";
fi;

Then add a withcolor col to all the draw commands.

Carl





On Jan 1, 2010, at 2:48 PM, Torstein Finnesand wrote:

> Hi. 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. 
> 
> My problem is how to visualize the shots and the stations symbols  in 3 colours in the PDF file:
> 1. one group of the shots (and their stations) could be default (black)
> 2. the second group (and their stations) could be red
> 3. the third group could be blue (with hidden or blue stations). Or better:  The group is hidden.
> 
> I can fix no. 1  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.)
> 
> But how to fix no. 2?
> 
> Torstein Finnesand
> Norway
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20100101/d98e4ecc/attachment.htm>


More information about the Therion mailing list