From: Markus Hubig <mhubig@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Perfect Mac OS X Installation?
Date: Sat, 4 Apr 2009 11:35:33 +0200 [thread overview]
Message-ID: <1a3190fd0904040235ia0035e5o1d9df3537f62e41@mail.gmail.com> (raw)
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
-------8<-------schnipp--
# Create the application folder
mkdir /Applications/ConTeXtMinimals/
# Download & Install the 'ConTeXt Minimals' distro
cd /Applications/ConTeXtMinimals/
curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh
sh ./first-setup.sh
# 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
# 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
# customize bash settings
cd
echo "source /Applications/ConTeXtMinimals/tex/setuptex
/Applications/ConTeXtMinimals/tex" >> ~/.bash_profile
source ~/.bash_profile
# do some stuff ...
ctxtools --update
texexec --make --all --pdftex
texexec --make --all --xetex
luatools --generate
luatools --ini --compile --verbose cont-en
luatools --ini --compile --verbose cont-de
luatools lmr12.afm
context --generate
-------8<-------schnapp--
--
-------------------"it's like this"------
even samurai have teddy bears
and even teddy bears get drunk
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2009-04-04 9:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-04 9:35 Markus Hubig [this message]
2009-04-04 9:46 ` Mojca Miklavec
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=1a3190fd0904040235ia0035e5o1d9df3537f62e41@mail.gmail.com \
--to=mhubig@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).