ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Perfect Mac OS X Installation?
Date: Sat, 4 Apr 2009 11:46:28 +0200	[thread overview]
Message-ID: <6faad9f00904040246k269576f3id22e280341fb5b5@mail.gmail.com> (raw)
In-Reply-To: <1a3190fd0904040235ia0035e5o1d9df3537f62e41@mail.gmail.com>

On Sat, Apr 4, 2009 at 11:35, Markus Hubig <mhubig@gmail.com> 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!

I would not install it to /Applications; it doesn't behave like a Mac
application, but that's completely up to you.

> # Fix some path values inside setuptex
> cd /Applications/ConTeXtMinimals/tex
> cp setuptex setuptex.orig
> sed -e 's#^export HOMETEXMF .*$#export HOMETEXMF = ~/texmf#g' \
>    -e 's#^export TEXMF .*$#export TEXMF =
> {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}#g'
> \
>    setuptex.orig > setuptex

No time to comment extensively, but you don't need to rename it back
to setuptex. Just create "mysetuptex/mytex" and call that one.

If you rename it to setuptex, it will get rewritten next time when you update.

> # Fix some path values inside texmf.cnf
> cd /Applications/ConTeXtMinimals/tex
> mkdir -p texmf-local/web2c
> cp texmf/web2c/texmf.cnf texmf-local/web2c/texmf.orig
> cd texmf-local/web2c
> sed -e 's#^HOMETEXMF .*$#HOMETEXMF = ~/texmf#g' \
>    -e 's#^TEXMF .*$#TEXMF =
> {$HOMETEXMF,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}#g'
> \
>    texmf.orig > texmf.cnf

That's OK.

Mojca
___________________________________________________________________________________
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-04  9:46 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 [this message]
2009-04-04 13:03 ` Thomas A. Schmitz
2009-04-05 15:32   ` George N. White III

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=6faad9f00904040246k269576f3id22e280341fb5b5@mail.gmail.com \
    --to=mojca.miklavec.lists@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).