Hi,

This time the update has, appart from already mentioned mp fixes and additions, another new feature.

% runpath=texruns:whatever

% runpath=e:/temporary/texruns/runtest
% runpath=temp:texruns/runtest
% runpath=home:texruns/runtest

\starttext
    test
\stoptext

In context the first line can be used to control some aspects of the run and runpath (also as command line switch) will process the document elsewhere. The main reason for this feature is that when you have files in for instance a git repository (or export), you don't want the run path to be polluted by temporary files because everything can end up in the repository when it gets updates (after all these years I don't expect this pollution issue to be solved; svn is more explicit in what goes in).

So, for instance the manuals are on clean paths (on my machine i (am) put(ting) experiments, todo's etc under an ignored /private subpath which means that styles can still be found if needed).

The texruns: prefix resolves to an environment variable with the same name or when not set, to the temp directory. The temp: and home: prefixes resolve (as usual) to their counterparts (prefixes are a very old mkii mechanism but still useful).

When not present a path will be created, when no chdir is possible the run aborts.

There are probably some cases when resources are not found but that will be dealt with in due time. I might also update the underlying mechanisms at some point.

I already adapted some manuals so that means that when users process these themselves they will not see the runfiles fly to the temp path unless 'texruns' is configured. So be it.

Hans



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to