On 2016-09-27 08:20 -0300, Rodrigo Severo wrote:
2016-09-27 3:03 GMT-03:00 Martin Sluka <martinsluka@mac.com>:
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 = p_scallop_UIS; let p_flute = p_flute_UIS; let p_raft = p_raft_NSS; let p_raftcone = p_raftcone_NSS; let p_spring = p_spring_SKBB; let p_sink = p_sink_SKBB;
Check it, please.
Unfortunatelly I don`t have neither this file nor this directory on my system. Did I mention that I`m using a Ubuntu package? ;)
Can`t I get this info from some file in the thTMPDIR?
I found this on the data.mp file:
root@prata15:~/Dropbox/EGB/exploracao poco surubim/topografia/thTMPDIR# grep -irn raft . ./data.mp:1305:def p_raft_NSS (expr pos,theta,sc,al)= ./data.mp:1313:def p_raftcone_NSS (expr pos,theta,sc,al)= ./data.mp:4794:let p_raft = p_raft_NSS; ./data.mp:4795:let p_raftcone = p_raftcone_NSS; ./data.mp:4986:initsymbol("p_raft_NSS"); ./data.mp:4987:initsymbol("p_raftcone_NSS"); ./data.mp:5137:p_raft((-22.99,-140.49),0.0,1.00,(0,0)); ./data.mp:5139:p_raft((-20.97,-127.92),0.0,1.00,(0,0)); ./data.mp:5141:p_raft((-23.21,-110.27),0.0,1.00,(0,0)); ./data.mp:5143:p_raft((-10.48,-105.85),0.0,1.00,(0,0));
So, this isn't going to help you much, becuase I don't understand it myself, but it's worth explaining. In the early days of Therion it did install various config files in the tex and metapost directories to get used when processing caves. However, whilst this worked fine on Linux, it was a pain for Windows/Mac people (as they have no packaging). So therion changed to 'inject' the config files automagicially into tex and metapost as needed. (So that's probably why you see this stuff in the tmpdir, but not elsewhere). I preferred it the old way as it made this sort of hackery easier (and was more obvious what was going on), but patching it back was work that didn't seem necessary and might lead to bugs unless I understood all that stuff much better than I do. It's still on the 'would be nice' list. I expect it's possible to put a file somsewhere to override all these things, but I don't know what or where. So, not a solution, but may be useful background. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/