From: Sietse Brouwer <sbbrouwer@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: System variable HOME
Date: Fri, 9 Nov 2012 18:28:47 +0100 [thread overview]
Message-ID: <CAF=dkzzj5hTaUfuKJE6ranZDY4TC23NJDHvMj_VZOkb+WLcgiA@mail.gmail.com> (raw)
In-Reply-To: <5097FB6A.7090201@wxs.nl>
> normally you can better look in a lua file in the tex/context/source path as
> that is the real source .. mtxrun is just a merge
So noted at http://wiki.contextgarden.net/Mtxrun (where there is also
the argument reference of each subscript, and space for people to
document them further, by the way).
--Sietse
On Mon, Nov 5, 2012 at 6:46 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 11/5/2012 12:15 AM, Sietse Brouwer wrote:
>
>> (2) why would mtxrun set the variables and risk overwriting something?
>> The comments suggest it is for the benefit of the cnf files, but still
>> --- why overwrite?
>> ossetenv("HOME", homedir) -- can be used in unix cnf files
>> ossetenv("USERPROFILE",homedir) -- can be used in windows cnf files
>
>
> it just sets them local (for this run + subruns)
>
> they are set just in case one has cross platform scripts (like me)
>
>
>> Below: relevant code from mtxrun, lines 11681-11696
>
>
> normally you can better look in a lua file in the tex/context/source path as
> that is the real source .. mtxrun is just a merge
>
> Hans
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-09 17:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 16:28 Procházka Lukáš Ing. - Pontex s. r. o.
2012-11-03 11:43 ` Sietse Brouwer
2012-11-03 20:47 ` Procházka Lukáš
2012-11-04 23:15 ` Sietse Brouwer
2012-11-05 8:15 ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-11-05 17:46 ` Hans Hagen
2012-11-09 17:28 ` Sietse Brouwer [this message]
2012-11-19 8:16 ` Procházka Lukáš Ing. - Pontex s. r. o.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAF=dkzzj5hTaUfuKJE6ranZDY4TC23NJDHvMj_VZOkb+WLcgiA@mail.gmail.com' \
--to=sbbrouwer@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).