ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "George N. White III" <gnwiii@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Perfect Mac OS X Installation?
Date: Sun, 5 Apr 2009 12:32:13 -0300	[thread overview]
Message-ID: <22af238a0904050832v7a12cb40k170c40806e31b063@mail.gmail.com> (raw)
In-Reply-To: <1F681F3D-5089-4E9F-AC44-254D5F4101F4@uni-bonn.de>

On Sat, Apr 4, 2009 at 10:03 AM, Thomas A. Schmitz
<thomas.schmitz@uni-bonn.de> wrote:
>
> On Apr 4, 2009, at 11:35 AM, Markus Hubig wrote:
>
>> Hi @all,
>>
>> i've done a fresh install of ConTeXt Minimals on my Mac OS X box.
>> Now I like to put my setup steps into a small script so my brother can
>> use it. It wold be nice if someone can give me some comments ...
>> maybe I missed something, maybe I did something stupid!
>>
>> - Markus
>
> Your script is clever, but in my experience, you can simplify the process. I
> have a TeXLive install and the ConTeXt minimals on my OS X box. In order to
> use them, I have two configuration files. Here's the one for the minimals
> (which is named .minicontext):
>
> PATH="/Users/tas/context/tex/texmf-osx-intel/bin:$PATH"
> export PATH
> export TEXMFCACHE="/Users/tas/context/tex/texmf-cache"
> export TEXMFCNF="/Users/tas/context/tex/texmf/web2c"
> export
> TEXMF="{/Users/tas/texmf,/Users/tas/context/tex/texmf-project,/Users/tas/context/tex/texmf-fonts,/Users/tas/context/tex/texmf-local,/Users/tas/context/tex/texmf-context,/Users/tas/context/tex/texmf-extra,/Users/tas/context/tex/texmf}"
> export
> LUAINPUTS="{/Users/tas/context/tex/texmf-context/scripts/context/lua,/Users/tas/context/tex/texmf-context/tex/context/base,/Users/tas/texmf/scripts/context/lua}"
>
> I simply run "source ~/.minicontext", and my system is set up. The syntax is
> for zsh; if you're running bash or (heaven forbid!) tcsh, you may have to
> adapt it slightly; and of course, adapt the path variables to your own
> needs.

There is a tool designed specifically for this sort of adjustment to
the environment,
called "environment modules":

<http://modules.sourceforge.net/>
<http://www.nersc.gov/nusers/resources/software/os/modules.html>

This was standard kit on SGI Irix -- now that we are replacing the SGI
workstations with
MacOSX at work I use the (experimental) tcl version.    The big
advantage of using
environment modules is that it reliably restores the default environment.

-- 
George N. White III <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2009-04-05 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-04  9:35 Markus Hubig
2009-04-04  9:46 ` Mojca Miklavec
2009-04-04 13:03 ` Thomas A. Schmitz
2009-04-05 15:32   ` George N. White III [this message]

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=22af238a0904050832v7a12cb40k170c40806e31b063@mail.gmail.com \
    --to=gnwiii@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).