Re: [Therion] Making custom metapost symbols recognize "symbol-color" thconfig command

2016-09-27 Thread Bruce Mutton
Beni If you look on that page, and scroll down to " Code to make full colour symbols", you will see the nature of the code and Layout I wrote. I forget whether colour_water_bg and colour_block_bg etc are built in variables, or custom variables that Dave and I used to compliment the built in sym

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Rodrigo Severo
2016-09-27 15:38 GMT-03:00 Martin Sluka : > There is really a bug, because both symbols therion draws as raft. > > Work around - define the user symbol raft_cone in your thconfig. Data are in > attached zip file. The workaround worked perfectly. Thanks. If you need any help/debug info/whatever to

Re: [Therion] Making custom metapost symbols recognize "symbol-color" thconfig command

2016-09-27 Thread Benedikt Hallinger
Thank yu for the fast answers, is this "colour_block_bg" variable the bit im looking for? > if known colour_block_bg: thfill p withcolor colour_block_bg; else: thfill p withcolor (0.75,0.75,0.75); fi; Am 2016-09-27 21:40, schrieb Bruce Mutton: Beni Long ago I thought about such things. T

Re: [Therion] Making custom metapost symbols recognize "symbol-color" thconfig command

2016-09-27 Thread Martin Sluka
All symbols in the Therion are the Metapost macros. Best way is to read the addendum with samples in TherionBook. All symbols are in directory mpost in the therion's directory, if you download the source code. m. On Sep 27, 2016, at 08:56 PM, Benedikt Hallinger wrote: Hi there, i wonder how

Re: [Therion] Making custom metapost symbols recognize "symbol-color" thconfig command

2016-09-27 Thread Bruce Mutton
Beni Long ago I thought about such things. There were some challenges I did not crack. I forget now. Have a look at Colour Dependant Visualization of Symbols in https://therion.speleo.sk/wiki/doku.php/metapost Bruce -Original Message- From: Therion [mailto:therion-boun...@speleo.sk]

[Therion] Making custom metapost symbols recognize "symbol-color" thconfig command

2016-09-27 Thread Benedikt Hallinger
Hi there, i wonder how i can make my own custom map symbols recognize the "symbol-color" command. Maybe i also get some spare time and can adjust some of the default symbols to honor it too? Greetings, Beni ___ Therion mailing list Therion@speleo.s

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Martin Sluka
what's happen when you manually remove those "-" from "raft-cone" in .th2 file? point raft-cone  -> point raftcone m.  On Sep 27, 2016, at 04:57 PM, Rodrigo Severo wrote: 2016-09-27 10:14 GMT-03:00 Rodrigo Severo : 2016-09-27 8:41 GMT-03:00 Martin Sluka : It could be. Just to delete manually

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Martin Sluka
sorry, I missed your previous mail. Have you tried to run compiler with parameter -d (debug) m. On Sep 27, 2016, at 04:57 PM, Rodrigo Severo wrote: 2016-09-27 10:14 GMT-03:00 Rodrigo Severo : 2016-09-27 8:41 GMT-03:00 Martin Sluka : It could be. Just to delete manually hyphen in raft-cone

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Rodrigo Severo
2016-09-27 10:14 GMT-03:00 Rodrigo Severo : > 2016-09-27 8:41 GMT-03:00 Martin Sluka : >> It could be. Just to delete manually hyphen in raft-cone in .th2 file and >> compile it again. > > Unfortunatelly not: > > therion: error -- croqui4.th2 [57] -- unknown point type -- raftcone > > What now? I'

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Wookey
On 2016-09-27 10:30 -0300, Rodrigo Severo wrote: > 2016-09-27 10:24 GMT-03:00 Wookey : > > > > So, not a solution, but may be useful background. > > Yeah. Not a solution but useful background nonetheless. So, for a bit more detail (as I'm wondering myself). In the source the mpost dir contains th

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Rodrigo Severo
2016-09-27 10:24 GMT-03:00 Wookey : > > So, not a solution, but may be useful background. Yeah. Not a solution but useful background nonetheless. Thank you, Rodrigo ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Wookey
On 2016-09-27 08:20 -0300, Rodrigo Severo wrote: > 2016-09-27 3:03 GMT-03:00 Martin Sluka : > > First of all, thanks for your help and attention. > > > There is the file thTrans.mp in the mpost directory of Therion. > > > > In that file there are the rules which symbol to use for the final output

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Rodrigo Severo
2016-09-27 8:41 GMT-03:00 Martin Sluka : > It could be. Just to delete manually hyphen in raft-cone in .th2 file and > compile it again. Unfortunatelly not: therion: error -- croqui4.th2 [57] -- unknown point type -- raftcone What now? Rodrigo > > m. > > On Sep 27, 2016, at 01:38 PM, Rodrigo

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Martin Sluka
It could be. Just to delete manually hyphen in raft-cone in .th2 file and compile it again. m. On Sep 27, 2016, at 01:38 PM, Rodrigo Severo wrote: 2016-09-27 8:20 GMT-03:00 Rodrigo Severo : Could the problem be related to the fact that the point type written on my th2 file is "raft-cone" wi

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Rodrigo Severo
2016-09-27 8:20 GMT-03:00 Rodrigo Severo : Could the problem be related to the fact that the point type written on my th2 file is "raft-cone" with a hyphen and the p_ type is named "raftcone" without a hyphen? > 2016-09-27 3:03 GMT-03:00 Martin Sluka : > > First of all, thanks for your help and a

Re: [Therion] Therion 5.3.16 using raft symbol both for rafts and raft cones

2016-09-27 Thread Rodrigo Severo
2016-09-27 3:03 GMT-03:00 Martin Sluka : First of all, thanks for your help and attention. > There is the file thTrans.mp in the mpost directory of Therion. > > In that file there are the rules which symbol to use for the final output. > > Anyway it should work as you presume: > > let p_scallop =