[Therion] Metapost

2018-11-26 Thread Pavel Herich via Therion
Hi all, I look for code of "snail shell" written in metapost, to use it as point u (for organodetritic limestone layers), but I am not able to find anything, as well I haven´t any skills to write it by myself. Does anybody posses this kind of code? Thank you Pavel _

[Therion] Metapost problem...

2006-08-03 Thread Jonathan Prouty
Thierry, I didn't see whether you ever solved the Metapost exit code 256 problem or not so I thought I would post my solution. I had to make sure my PATH variable included the directory where teTeX binaries were installed. In my case (Therion 0.3.9 on a more or less out-of-the-box slackware 10.2mac

[Therion] Metapost problem...

2006-05-13 Thread thierrygonon
Hello, I'm using therion 0.3.11 with Mac OS X. When I try to compile my files (in my case, just a .th one), the result is : ### metapost log file therion: warning -- can't open data.log file for input can't open data.log file for input#

[Therion] Metapost problem...

2006-05-13 Thread Stacho Mudrak
It looks, like therion is not able to run mpost from command line. Are you able to run mpost from console? You will probably need to uncomment "mpost-path" and set it to path to your mpost executable in therion.ini file (same with pdfetex). Then you will need to set THERION environment variable

[Therion] Metapost problem...

2006-05-13 Thread thierrygonon
Stacho Mudrak a écrit : > It looks, like therion is not able to run mpost from command line. Are > you able to run mpost from console? > > You will probably need to uncomment "mpost-path" and set it to path to > your mpost executable in therion.ini file (same with pdfetex). Then you > will need

[Therion] Metapost problem...

2006-05-13 Thread Eric Madelaine
thierrygonon a écrit : >What's the problem ??? > > > Mais non, T2, le probleme, c'est que t'as un Mac... ! (;-) Eric.

[Therion] Metapost problem...

2006-05-13 Thread Martin Sluka
On 13.5.2006, at 9:17, thierrygonon wrote: >>> I'm using therion 0.3.11 with Mac OS X. When I try to compile my >>> files >>> (in my case, just a .th one), the result is : >>> ### metapost log file >>> therion: warning -- can't open data.log file for

[Therion] Metapost problem...

2006-05-13 Thread Stacho Mudrak
should appear: therion 0.3.11 cavern.exe - Survex 1.0.23 initialization file: C:\Program Files\Therion/therion.ini reading ... done INIT=C:\Documents and Settings\stacho\.therion;C:\Program Files\Therion SOURCE=C:\Documents and Settings\stacho\.therion;C:\Program Files\Therion METAPOST=C:\Pr

[Therion] Metapost problem...

2006-05-14 Thread thierrygonon
herion.ini > reading ... done > INIT=C:\Documents and Settings\stacho\.therion;C:\Program Files\Therion > SOURCE=C:\Documents and Settings\stacho\.therion;C:\Program Files\Therion > METAPOST=C:\Program Files\Therion\bin\win32\mpost.exe > PDFTEX=C:\Program Files\Therion\bin\win32\

[Therion] Metapost problem...

2006-05-14 Thread Martin Sluka
On 14.5.2006, at 10:55, thierrygonon wrote: > Hello, I've finally succeed in changing the mpost and pdfetex path... Which TeX you use? I use the standard installation through i-installer and no any problems. Martin

[Therion] Metapost problem...

2006-05-15 Thread thierrygonon
I also use this distribution... but have this problem with the latest snapshot!! In March, I use therion 0.3.10 without any problems and I haven't made big changes since this time... T2 Martin Sluka a écrit : > On 14.5.2006, at 10:55, thierrygonon wrote: > > >> Hello, I've finally succeed i

[Therion] Metapost problem...

2006-05-16 Thread Martin Budaj
On 5/15/06, thierrygonon wrote: > > I also use this distribution... but have this problem with the latest > snapshot!! > In March, I use therion 0.3.10 without any problems and I haven't made > big changes since this time... > It really seems to be a metapost installation problem. Did you try to

[Therion] metapost symbols

2007-02-14 Thread Wookey
On 2007-01-16 17:33 +0100, Martin Budaj wrote: > On 1/14/07, Stefan Oswald wrote: > > here are the results of our Therion meeting yesterday; > > An idea would be to add the factor for density/size of symbols in the > > source code and adjust > > these variables in the map editor by a -density {}

[Therion] metapost symbols

2007-01-14 Thread Stefan Oswald
Hello, here are the results of our Therion meeting yesterday; An idea would be to add the factor for density/size of symbols in the source code and adjust these variables in the map editor by a -density {} command in the mapeditor\area\options. Also a -diameter {} command for block points woul

[Therion] metapost symbols

2007-01-16 Thread Martin Budaj
On 1/14/07, Stefan Oswald wrote: > here are the results of our Therion meeting yesterday; > An idea would be to add the factor for density/size of symbols in the source > code and adjust > these variables in the map editor by a -density {} command in the > mapeditor\area\options. We also consid

[Therion] Metapost modifications

2012-11-16 Thread Dave Clucas
In Mulu many of the passages are part filled with sandstone pebbles. I'd like to create a user area and a user symbol based on pebbles where the ellipses are filled with a colour (light brown). Can anybody tell me how to modify the standard definition? Dave Clucas dave at daveclucas.com http

[Therion] Metapost modifications

2012-11-16 Thread Footleg
Take a look at Bruce's customised symbol sets on the wiki. I based mine on those. I have not tried adding a completely new symbol to therion yet, but here is how I override the pebbles area fill with one which looks more like I prefer. Include this layout in your pdf export command to see pebbles r

[Therion] Metapost modifications

2012-11-16 Thread Dave Clucas
I've answered my own question. It was a lot easier than I expected! code metapost def a_u_pebbles (expr p) = T:=identity; pickup PenC; path q, qq; q = bbox p; picture tmp_pic; tmp_pic := image( for i = xpart llcorner q step 1.5u until xpart urcorner q: for j = ypart llcorner

[Therion] MetaPost links

2013-08-10 Thread Martin Sluka
I added several links to MetaPost page of Therion's wiki. There are many examples what is possible to do with MetaPost with source codes. So you may play and experiment :) m.s.

[Therion] Metapost inspirations

2021-01-15 Thread Martin Sluka via Therion
Some advanced Metapost code for ancient looking illustrations (or maps): https://github.com/jemmybutton/fiziko https://m.habr.com/en/post/454376/ https://habr.com/ru/post/423571/?_ga=2.47603047.1584527340.1610742907-1962251908.1610742907 Enjoy Martin _

[Therion] Metapost changing warningcheck

2006-03-15 Thread Philip Schuchardt
With a big cave I have scale set to = 1 200. Then I get these warnings from metapost. Is there anyway to set warningcheck to 0? With metapost .60 and above, 4096 isn't really an issue. -- Error Message - The equation I just processed has given some variable a value of 4096 or more. Co

[Therion] metapost color definition

2011-06-23 Thread Bruce
Anyone have any idea why the following metapost included in a layout causes the error below? It is almost identical to code extracted from data.mp, yet it upsets therion (I have added the 237 so you can see where the error occurs). code metapost %define colours

[Therion] metapost color definition

2011-06-23 Thread Stacho Mudrak
It is a very rare case, where layout options are mixing with metapost code. Both have color keyword. It is because endcode is not needed in layout. Could you please try to add ! as a first character on the line 237. Therion will then know, that it is a line with the code. Or also a ; could do the

[Therion] metapost color definition

2011-06-24 Thread Bruce
t: Re: [Therion] metapost color definition It is a very rare case, where layout options are mixing with metapost code. Both have color keyword. It is because endcode is not needed in layout. Could you please try to add ! as a first character on the line 237. Therion will then know, that it is a line wit

[Therion] metapost variable requests

2014-04-06 Thread Bruce
Stacho Sorry I did not finish typing my last message. I'd like to request some more metapost variables that users can make use of, to make their map headers more complete. I regularly get complaints from judges at map competition time, and I refuse to 'hard code' these in my layouts, because I r

[Therion] Metapost error 256

2014-03-25 Thread Bill Gee
Hello everyone - I am trying to get Therion to work on a laptop. As far as I can tell, it is configured exactly the same as my desktop computer where Therion works just fine. Both systems are on the same version of Therion. Both are 64-bit Fedora 20. Both have the same set Texlive, Metapost

[Therion] Metapost error 256

2014-03-25 Thread Wookey
+++ Bill Gee [2014-03-25 11:00 -0500]: > Hello everyone - > > I am trying to get Therion to work on a laptop. As far as I can tell, it is > configured exactly the same as my desktop computer where Therion works just > fine. > > Both systems are on the same version of Therion. Both are 64-bit

[Therion] Metapost error 256

2014-03-25 Thread Bill Gee
Hi Wookey - If I add "-d" as a command line option in xTherion, then a directory called thTMPDIR is created under the directory containing the map source files. On the machine that fails, the directory contains only five files. One of them is data.mp. I do not see a data.log file on either c

[Therion] Metapost error 256

2014-03-26 Thread Martin Sluka
in file data.mp is all what was possible to process up to error. Compare both data.mp files. m.s. 25. 3. 2014 v 20:46, Bill Gee : > On > the machine that fails, the directory contains only five files. One of them > is > data.mp. Martin Sluka - Studio Sluka prodej Hahnemühle DFA tisk fo

[Therion] Metapost error 256

2014-03-25 Thread Bill Gee
Hi Martin - I ran diff on the data.mp files from working and not-working computers. They are identical, byte for byte. Regards - Bill Gee On Wednesday, March 26, 2014 00:09:57 Martin Sluka wrote: > in file data.mp is all what was possible to process up to error. > > Compare both data.mp file

[Therion] Metapost error 256

2014-03-26 Thread Martin Sluka
So what is the difference? m. 26. 3. 2014 v 0:47, Bill Gee : > They > are identical, byte for byte. Martin Sluka - Studio Sluka prodej Hahnemühle DFA tisk fotografií, reprodukcí a volné tvorby Na Rovnosti 2692/21 130 00 Praha 3 tel.: +420 603513640 mail: martinsluka at mac.com web: htt

[Therion] Metapost error 256

2014-03-26 Thread Stacho Mudrak
Hi Bill, it looks, your metapost installation is missing format files or there are paths not set up correctly. Try running mpost data.mp in thTMPDIR folder, but it will probably generate missing preload file error too. It is really strange, normally plain formats are installed with the TeX. May

[Therion] Metapost error 256

2014-03-26 Thread Bill Gee
Hi Stacho - As you suspected - Running "mpost data.mp" in the thTMPDIR directory only produced messages about missing preload files. I went to root and ran mktexlsr. WooHoo! That fixed the problem! "mpost data.mp" runs to completion, and it also works when run from inside xTherion. I ran "f

[Therion] Metapost error 256

2014-03-26 Thread Wookey
+++ Bill Gee [2014-03-26 07:24 -0500]: > Hi Stacho - > > As you suspected - Running "mpost data.mp" in the thTMPDIR directory only > produced messages about missing preload files. > > I went to root and ran mktexlsr. WooHoo! That fixed the problem! "mpost > data.mp" runs to completion, and i

[Therion] Metapost area block

2018-12-31 Thread Andrew Atkinson via Therion
After a meeting the UK Cave Surveying Group had in November, some thought the the block did not look that good, and could be improved, with different sided block. Work started and I have eventually got round to finishing it. Based on the AUT version (which is based on others by the looks of it.) I

[Therion] metapost input file

2019-11-12 Thread Andrew Atkinson
My layouts for my areas has become difficult to manage, especially all the metapost. input file works in metapost, but requires the full path, is there a way to find the path of the file that you are in and us that as a base. We use version control so different machines have different file paths,

[Therion] metapost input file

2019-11-12 Thread Bruce Mutton
019 17:06 To: List for Therion users Subject: [Therion] metapost input file My layouts for my areas has become difficult to manage, especially all the metapost. input file works in metapost, but requires the full path, is there a way to find the path of the file that you are in and us

[Therion] metapost input file

2019-11-13 Thread Bruce Mutton
Bruce From: Therion On Behalf Of henry.benn...@dell.com Sent: Wednesday, 13 November 2019 20:42 To: therion@speleo.sk Subject: Re: [Therion] metapost input file Hi Bruce, For example with a directory structure like this .\CodeLibary\ .\Region\Area\Cave Declare the fully qualified p

[Therion] Metapost and user attributes

2007-12-22 Thread Xavier Pennec
Dear all, I have a survey with lots of sections (which are on another map than the plan and the elevation, see attached files NaduelFilonCerisiersPlan.pdf and NaduelRD8_sections.pdf) and I would like to add automatically a label numbering each section at the end of the section line in the plan

[Therion] Metapost and user attributes

2007-12-23 Thread Martin Budaj
On Dec 22, 2007 7:59 PM, Xavier Pennec wrote: > As I want to be able not to display the section lines AND the their > numbers when I inlcude that survey into the larger map, I thought that > adding a user attribute to the section line would be the right way. > > Thus, I used a user attribute calle

[Therion] metapost line definitions 'u'

2010-02-07 Thread Bruce
This should be a simple one, at least for Stacho and Martin B. The metapost initialise definition seems to define the value u:, which turns up in lots of other places. if BaseScale <= 1: % 1:100 u:=14bp; v:=14bp; w:=12bp; fonts_setup(8,10,12,16,24);

[Therion] metapost line definitions 'u'

2010-02-07 Thread Martin Budaj
On Sun, Feb 7, 2010 at 11:29 AM, Bruce wrote: > Is u: (and v: w: for that matter) intended to correspond to a particular > drawn entity size in the finished pdf, or are they just arbitrary variables > for which one can calculate the value of, using the code in the initialise > definition? u allow

[Therion] Metapost point blocks problems

2013-02-15 Thread Jackson
Hi all, i have made a new definition for point blocks with metapost. It only does what I want when the point is nearby the center of the scrap/drawing. The further the point is away from the center of the scrap the more random the stones are set. Whats wrong with the definition of my "point blocks

[Therion] Metapost point blocks problems

2013-02-15 Thread Marco Corvi
maybe you should use thdraw only for the final picture, and draw/fill for the components. marco From: Jackson To: therion at speleo.sk Sent: Friday, February 15, 2013 6:53 PM Subject: [Therion] Metapost point blocks problems Hi all, i have made a new

[Therion] metapost error on Windows7

2014-09-22 Thread Xavier Pennec
Since I installed the last version of therion, metapost is randomly bugging on writing temporary files with the message "! I can't write on file `'. Please type another file name for input:" As this is blocking therion, I have to kill the compilation windows and retry. It usu

[Therion] metapost error on Windows7

2014-09-22 Thread Stacho Mudrak
being able to reproduce this error, I see no way how to debug it... S. On 22 September 2014 09:56, Xavier Pennec wrote: > Since I installed the last version of therion, metapost is randomly > bugging on writing temporary files with the message > "! I can't write on file `'.

[Therion] metapost error on Windows7

2014-09-22 Thread Xavier Pennec
Xavier.Pennec at inria.fr>> wrote: > > Since I installed the last version of therion, metapost is > randomly bugging on writing temporary files with the message > "! I can't write on file `'. Please type another file name for input:" > As this i

[Therion] metapost error on Windows7

2014-09-23 Thread Footleg
t of time they are locked. > May be I am completely wrong, but without being able to reproduce this > error, I see no way how to debug it... > > S. > > On 22 September 2014 09:56, Xavier Pennec wrote: >> >> Since I installed the last version of therion, metapost is rando

[Therion] MetaPost include relative path

2015-06-15 Thread Henry Bennett
Hi, Whats the syntax for including code from a sub directory in MetaPost? My project has a subdirectory of code snippets in {doc root}\code The MetaPost input command works great when I reference the entire directory location eg (input "c:\users\henry\documents\survey\cave\code\filename"

[Therion] MetaPost include relative path

2015-06-16 Thread Martin Budaj
Hi, there is no direct support yet (therion makes a copy of the data to a temporary directory when processing it, which breaks relative paths). However, you can add your {doc root}\code to MetaPost search path (either by setting MPINPUTS environment variable or by modifying MPINPUTS value in the

[Therion] metapost help - line Blocks

2015-09-21 Thread Andrew Atkinson
I think this started life at the AUT line symbol for Blocks. My metapost is at the stage where I can just about edit it to get small changesm but that is about it. With the AUT symbol you got blocks at funny angle when going round a tight curve, I think this was because it took it angle from the s

[Therion] metapost help - line Blocks

2015-09-23 Thread Georg Pacher
Hi Andrew, First of all, i would suggest to use: st:= arctime (laenge+cur/2) of P; instead of st:= arctime (laenge+cur)/2 of P; for the direction of the last block. Otherwise this will use the direction near the middle of the path, and not at the location of the last block. But I am not sure if th

[Therion] metapost help - line Blocks

2015-09-23 Thread Andrew Atkinson
On 23/09/15 13:59, Georg Pacher wrote: > Hi Andrew, > > First of all, i would suggest to use: > st:= arctime (laenge+cur/2) of P; instead of > st:= arctime (laenge+cur)/2 of P; > for the direction of the last block. Otherwise this will use the > direction near the middle of the path, and not at

[Therion] MetaPost/Tex: variable \magdecl

2016-06-04 Thread Dirk Peinelt
Is there a way to handle the content of the \magdecl TEX-variable in METAPOST? (Therion V5.3.16) In a string or numeric? - I think, i've an syntax problem. 1.) string handling: string dec; %dec:="3.022"; % FINE! dec:=\magdecl; % ERROR p_label.top(thTEX(dec),(0,0),0,8); % >> string output

[Therion] MetaPost/Tex: variable \magdecl

2016-06-05 Thread Bruce
eo.sk [mailto:therion-boun...@speleo.sk] On Behalf Of Dirk Peinelt Sent: Saturday, 4 June 2016 11:05 p.m. To: therion at speleo.sk Subject: [Therion] MetaPost/Tex: variable \magdecl Is there a way to handle the content of the \magdecl TEX-variable in METAPOST? (Therion V5.3.16) In a string or nu

[Therion] MetaPost/Tex: variable \magdecl

2016-06-06 Thread Martin Budaj
Hi, TeX variables are not accessible in MetaPost. However, there is a numeric MagDecl variable in MetaPost (see the chapter New map symbols in the thbook). Martin On Sat, Jun 4, 2016 at 1:05 PM, Dirk Peinelt wrote: > Is there a way to handle the content of the \magdecl TEX-variable in > METAPO

[Therion] Metapost exit code -- 2

2017-07-01 Thread Saeid Bostandoust via Therion
Hi, What is this exit code? and why it happen? and how to correct that?Thanks. This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost 2010.01.31)  1 JUL 2017 18:59 **data.mp (./data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010 ] [4011] [4012] [4013] [1] ! V

Re: [Therion] metapost input file

2019-11-12 Thread Henry.Bennett
were looking for prehaps, but certainly makes for portable codebases. Henry -Original Message- From: Therion On Behalf Of Andrew Atkinson Sent: 12 November 2019 17:06 To: List for Therion users Subject: [Therion] metapost input file [EXTERNAL EMAIL] My layouts for my areas has b

Re: [Therion] metapost input file

2019-11-12 Thread Henry.Bennett
copy custom_entrance_theta copy custom_northarrow_large Is that what you were after? Henry From: Therion On Behalf Of Bruce Mutton Sent: 13 November 2019 07:07 To: 'List for Therion users' Subject: [Therion] metapost input file [EXTERNAL EMAIL] Henry Your solution looks very

Re: [Therion] metapost input file

2019-11-12 Thread Torsten Schnitter via Therion
> -Original Message- > From: Therion On Behalf Of > henry.benn...@dell.com > Sent: Wednesday, 13 November 2019 07:55 > To: therion@speleo.sk > Subject: Re: [Therion] metapost input file > > > > Hi Andrew, > > >

[Therion] Metapost variable macro suffixes

2020-02-29 Thread Tarquin Wilton-Jones via Therion
Hi folks, hoping someone who really understands Metapost can give me a suggestion since I cannot find it in any manuals. In Therion's Metapost, there are a couple of wildcard suffixed macros like this: vardef p_label@#(expr txt,pos,rot,mode) I have a need to call the different ones depending on

Re: [Therion] Metapost exit code -- 2

2017-07-01 Thread Bruce Mutton via Therion
Saeid Try this https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean Bruce From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, 2 July 2017 3:36 AM To: therion@speleo.sk Cc: Saeid Bostandoust Subject: [Therion

Re: [Therion] Metapost exit code -- 2

2017-07-01 Thread Saeid Bostandoust via Therion
, 2 July 2017 3:36 AM To: therion@speleo.sk Cc: Saeid Bostandoust Subject: [Therion] Metapost exit code -- 2  Hi, What is this exit code? and why it happen? and how to correct that?Thanks.  This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost 2010.01.31)  1 JUL 2017 18:59 **data.mp

Re: [Therion] Metapost exit code -- 2

2017-07-01 Thread michael brewer via Therion
: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exit code -- 2 Thanks Bruce, but i dont understand how can i found the problem and what is that realy... On Sunday, July 2, 2017 12:26 AM, Bruce Mutton via Therion wrote: Saeid

Re: [Therion] Metapost exit code -- 2

2017-07-01 Thread Saeid Bostandoust via Therion
size allowable for the pdf document?  Michael   From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exit code -- 2  Thanks Bruce, but i dont

Re: [Therion] Metapost exit code -- 2

2017-07-02 Thread Saeid Bostandoust via Therion
allowable for the pdf document?  Michael   From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exit code -- 2  Thanks Bruce, but i dont

Re: [Therion] Metapost exit code -- 2

2017-07-02 Thread Martin Sluka via Therion
Saeid > Try this > https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean > > Bruce > > From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid > Bostandoust via Therion > Sent: Sunday, 2 July 2017 3:36 AM > To: therion@speleo.sk >

Re: [Therion] Metapost exit code -- 2

2017-07-02 Thread Martin Sluka via Therion
ding the size allowable > for the pdf document? > > Michael > > From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid > Bostandoust via Therion > Sent: Sunday, July 2, 2017 8:56 AM > To: List for Therion users > Cc: Saeid Bostandoust > Subject: R

Re: [Therion] Metapost exit code -- 2

2017-07-02 Thread Saeid Bostandoust via Therion
I assumed   my output was exceeding the size allowable for the pdf document?  Michael   From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exi

Re: [Therion] Metapost exit code -- 2

2017-07-02 Thread Saeid Bostandoust via Therion
:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exit code -- 2  Thanks Bruce, but i dont understand how can i found the problem and what is that realy...  On

Re: [Therion] Metapost exit code -- 2

2017-07-03 Thread Martin Sluka via Therion
000 lines and all done without errors... what should i do now? >>> maybe 23000 lines cannot be parsed and processed with metapost... >>> >>> >>> On Sunday, July 2, 2017 6:55 AM, michael brewer via Therion >>> mailto:therion@speleo.sk>> wrote: >>

Re: [Therion] Metapost exit code -- 2

2017-07-05 Thread Saeid Bostandoust via Therion
: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Saeid Bostandoust via Therion Sent: Sunday, July 2, 2017 8:56 AM To: List for Therion users Cc: Saeid Bostandoust Subject: Re: [Therion] Metapost exit code -- 2 Thanks Bruce, but i dont understand how can i found the problem and what is that realy... 

Re: [Therion] Metapost variable macro suffixes

2020-03-01 Thread Tarquin Wilton-Jones via Therion
I do seem to like answering my own questions. 3 days searching for the solution and ... if A = (-1,1): sfx:="ulft"; elseif A = (0,1): sfx:="top"; ... if Foo = "b" thelabel.scantokens(sfx)(txt, pos); ... other stuff ... else: p_label.scantokens(sfx)(thetext,P,R,style); fi; Yes, scantokens c

Re: [Therion] Metapost variable macro suffixes

2020-03-01 Thread Benedikt Hallinger
> This is such a weird programming language :) It is... And despite being plenty of documentation online, this one seems to be mastering me (and i usually love programming) > Am 01.03.2020 um 21:05 schrieb Tarquin Wilton-Jones via Therion > : > > I do seem to like answering my own questions.

[Therion] metapost: Therion version and current date

2011-06-24 Thread Bruce
While I've having fun with metapost. Is it possible to expose the version number of therion to metapost? And the current system date and time? I'll add anything I make to the wiki. Promise. Bruce By surveying and mapping caves we steal from our future selves. -- next part

[Therion] metapost: Therion version and current date

2011-06-24 Thread Martin Budaj
> Is it possible to expose the version number of therion to metapost? this could be added > And the current system date and time? there are following internal numeric variables in metapost: hour, minute, day, month, year martin

[Therion] metapost: Therion version and current date

2011-06-25 Thread Bruce
Thanks Martin I have made a clumsy crude attempt at getting therion's version and compile date into the map header/legend, as in the attached file, layout and image below. Hopefully ready for the new 'thversion' variable. I can see that the metapost variables year month etc are there, but not

[Therion] metapost: Therion version and current date

2011-06-25 Thread Martin Budaj
> Or can tex extract the mpost variables directly? In fact TeX has its own \day, \month and \year (all numeric). You can find an example of converting month number to name at http://www.alfredklomp.com/programming/tex/macros/ (section 2) Martin

[Therion] metapost: Therion version and current date

2011-06-26 Thread Bruce
>In fact TeX has its own \day, \month and \year (all numeric). You can >find an example of converting month number to name at >http://www.alfredklomp.com/programming/tex/macros/ (section 2) Thanks, that works nicely now. I'll put an example on the wiki when once we get a \thversion implemented...

[Therion] Metapost for cave diving line arrow

2012-07-17 Thread Robert Staven
Hi, Have anyone made a metapost symbol of a cave diving line arrow? (I believe I've seen it somewhere, but can't find it any more) br, Robert

[Therion] Metapost variable for map-bg colour

2019-12-21 Thread Tarquin Wilton-Jones via Therion
By default, the background of a page is set to white. When you set "color map-bg [0 90 0]", it is now green. Can that colour be accessed from Metapost? A diff of the debug Metapost doesn't show anything... ___ Therion mailing list Therion@speleo.sk https

[Therion] Metapost for sump/syphon hazard symbol

2024-04-12 Thread Bruce Mutton
Hello I'm looking for a Therion map symbol to emphasize the hazard posed by a localised low roof in passages (typically 2m to 5m in diameter) that are usually inaccessible due to water, but in dry conditions appear innocuous to the unwary. Currently I'm using an empty placeholder symbol, point u:

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-10 Thread Bill Gee
Hello everyone - I need to put some pendants and stromatolites on a map. I do not see these symbols in Therion. Has anyone already done the Metapost code for them? The symbol for a pendant looks sort of like the Greek letter upsilon, except it has rounded corners instead of sharp. Attached i

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Martin Sluka
Try to check the links on wiki, there are many of examples how to use metapost. The simplest way is to find something similar you need and modify code. m.s. 10. 11. 2014 v 17:39, Bill Gee : > Hello everyone - > > I need to put some pendants and stromatolites on a map. I do not see these > s

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Bill Gee
Hi Martin - I looked over the Metapost samples on the Therion Wiki but found nothing that seemed useful. I have done some Metapost code for symbols like stalactites and stalacmites, and I modified the popcorn symbol, so Metapost is not completely alien to my experience. I am no expert, though

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Martin Sluka
I through the first part of wiki page with links. M. Odesláno z iPhonu 11. 11. 2014 v 13:30, Bill Gee : > Hi Martin - > > I looked over the Metapost samples on the Therion Wiki but found nothing that > seemed useful. I have done some Metapost code for symbols like stalactites > and stala

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Bill Gee
Hi Martin - Thanks! I wound up not using any of this. A bit of digging around the Internet found a document which described out to do circles and arcs in Metapost. I adopted it and created routines to do symbols for both pendants and stromatolites. See below ... The stromatolite symbol is

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Martin Sluka
11. 11. 2014 v 19:25, Bill Gee : > I adopted it and created routines to do symbols for both pendants > and stromatolites. See below ... Bill, may I add yours symbols on wiki? M.s. -- next part -- An HTML attachment was scrubbed... URL:

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Martin Sluka
Something for inspiration: http://ngmdb.usgs.gov/fgdc_gds/geolsymstd/fgdc-geolsym-sec10.pdf http://pubs.usgs.gov/tm/2006/11A02/ :D m.s. 11. 11. 2014 v 19:25, Bill Gee : > Hi Martin - > > Thanks! I wound up not using any of this. A bit of digging around the > Internet found a document wh

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Bill Gee
Hi Martin - I think the pendant can certainly be added to the wiki. The stromatolite is not an official symbol anywhere. If it goes on the wiki, I think it should be noted as such. Thanks - Bill Gee On Tuesday, November 11, 2014 19:28:04 Martin Sluka wrote: > 11. 11. 2014 v 19:25, Bill Gee

[Therion] Metapost code for pendant and stromatolite symbols

2014-11-11 Thread Bill Gee
Hi Martin - Excellent! More symbols than any sane person could ever use, even if many do not apply to caves. Thanks! Bill Gee On Tuesday, November 11, 2014 20:00:27 Martin Sluka wrote: > Something for inspiration: > > http://ngmdb.usgs.gov/fgdc_gds/geolsymstd/fgdc-geolsym-sec10.pdf > > http

[Therion] Metapost snippets out-source-able fromthconfig/layout?

2016-05-11 Thread Bruce
A Therion principle. Write once, use many times. Be cautious however and balance the 'centralised layout' idea against the contrary advantage of having each mine or 'collection of mines' in self contained folders that can be moved to different machines or environments without breaking links to out

[Therion] Metapost snippets out-source-able fromthconfig/layout?

2016-05-11 Thread Christian Rößler
Am Mittwoch, 11. Mai 2016, 08:13:13 schrieb Bruce : Hallo Bruce, > A Therion principle. Write once, use many times. > Be cautious however and balance the 'centralised layout' idea against > the contrary advantage of having each mine or 'collection of mines' in > self contained folders that can b

[Therion] Metapost snippets out-source-able fromthconfig/layout?

2016-05-11 Thread Martin Sluka
Láďo, potřeboval bych to protlačit do konfery, ale nechce mi to pustit přílohy. > 11. 5. 2016 v 0:15, Christian Rößler : > > herion directory > | |-- metapost file > | |-- centralized layout, input'ing metapost file in same dir > | > |-project directory > |-- symlink to cen

Re: [Therion] Metapost for sump/syphon hazard symbol

2024-04-12 Thread Henry Bennett
if you could get the image into postscript then, you could use http://www.pstoedit.net/ to convert to Metapost. You should be able to get EPS by printing to a Postscript printer and then choosing print to file. Henry On Sat, Apr 13, 2024 at 4:20 AM Bruce Mutton wrote: > Hello > > I’m looking f

Re: [Therion] Metapost for sump/syphon hazard symbol

2024-04-13 Thread Martin Sluka via Therion
It is very simple conversion which don’t use Metapost’s options. Odesláno z iPhonu13. 4. 2024 v 8:49, Henry Bennett :if you could get the image into postscript then, you could use http://www.pstoedit.net/ to convert to Metapost.You should be able to get EPS by printing to a Postscript printer and

Re: [Therion] Metapost for sump/syphon hazard symbol

2024-04-13 Thread Benedikt Hallinger
Hello,just a random comment from me;but wouldn‘t it be important that map readers clearly see „danger“?I am using a sinple warning sign everywhere and clarify using text.So even non-cavers or people not familiar with specific map symbols are clearly pointed at „watch out!“.The droplet proposed here

[Therion] Metapost snippets out-source-able from thconfig/layout?

2016-05-10 Thread Christian Rößler (Roessler)
Hallo everybody, due to learning some metapost for making a Schacht (shaft?) symbol, I got a thconfig file getting really fat and difficult to maintain. Is there a possibility to source metapost snippets from another file? Neither 'source' nor 'input' (Handbook p. 15) seem to work, which does n

[Therion] Metapost snippets out-source-able from thconfig/layout?

2016-05-10 Thread Ladislav Blažek
Hi Christian, input should work. See attached example files. Ladislav -- next part -- A non-text attachment was scrubbed... Name: Archiv.zip Type: application/zip Size: 1652 bytes Desc: not available URL:

[Therion] Metapost snippets out-source-able from thconfig/layout?

2016-05-10 Thread Henry Bennett
(Roessler) Sent: 10 May 2016 16:45 To: 'List for Therion users' Subject: [Therion] Metapost snippets out-source-able from thconfig/layout? Hallo everybody, due to learning some metapost for making a Schacht (shaft?) symbol, I got a thconfig file getting really fat and difficul

  1   2   >