[Therion] metapost input file

Henry.Bennett at dell.com Henry.Bennett at dell.com
Tue Nov 12 19:54:44 CET 2019


Hi Andrew,

To make the command data portable you can use relative paths but you need to define your root in the texmf.cnf file which is located in \therion\texmf\web2c folder (in windows).

I've used this 

   TEXINPUTS = $TEXMF/tex;C:/path/to/your/therion/root/;.
   MPINPUTS = C:/path/to/your/therion/root/;.

you will need to change this to your source paths.

You may find that you are unable to save the texmf.cnf file unless you edit it as the host administrator.  To do this open a command prompt as an administrator and then edit the file directly from there.

Not quite what you were looking for prehaps, but certainly makes for portable codebases.

Henry

-----Original Message-----
From: Therion <therion-bounces at speleo.sk> 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 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, so really want to avoid this.

At the moment I have make a different file for my symbols and in each file have to have a layout/endlayout and code metapost/endcode, then in the master file I have to input outside the layout and then copy the layout for each file, which works but it would be so much nicer to just have

input symbol.mp inside the one code metapost/ endcode

thanks

Andrew
_______________________________________________
Therion mailing list
Therion at speleo.sk
https://mailman.speleo.sk/listinfo/therion


More information about the Therion mailing list