From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49059 Path: news.gmane.org!not-for-mail From: Markus Hubig Newsgroups: gmane.comp.tex.context Subject: Perfect Mac OS X Installation? Date: Sat, 4 Apr 2009 11:35:33 +0200 Message-ID: <1a3190fd0904040235ia0035e5o1d9df3537f62e41@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238837794 3453 80.91.229.12 (4 Apr 2009 09:36:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Apr 2009 09:36:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 04 11:37:52 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Lq2Jz-0001KI-S6 for gctc-ntg-context-518@m.gmane.org; Sat, 04 Apr 2009 11:37:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91BD51FBAC; Sat, 4 Apr 2009 11:36:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29051-03-2; Sat, 4 Apr 2009 11:35:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 25B131FB71; Sat, 4 Apr 2009 11:35:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 62A641FB71 for ; Sat, 4 Apr 2009 11:35:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29051-03 for ; Sat, 4 Apr 2009 11:35:35 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id DE99F1FB6D for ; Sat, 4 Apr 2009 11:35:34 +0200 (CEST) Original-Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n349ZXAw002140 for ; Sat, 4 Apr 2009 11:35:34 +0200 Original-Received: by bwz26 with SMTP id 26so1369709bwz.2 for ; Sat, 04 Apr 2009 02:35:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Lo4Inh/DUeRQNfDoby3p7yEgGHACNh8pN5h0x5p6d1Y=; b=L8uz/EOZPtjgBoyrFLc9JxqRxRgZu2ZlKQ2c5a851PIMNChrqrGAtGehxyp9VJq0r7 UFz7bH14hrHfH36AkouXZMVXXlHJOMYsPcg3LCiLsGfFPqgLWWRfdmkv8cfbyikt15pT c3tjs6MTLPOYqsIjl97dLSBNuhEAhCVEreul0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=Pnb4nIp8L3MVl8ukBWu09UdWt2Keyhm9UzSf1ylLiXbdDT3eiQWUxYDHS0cuF1xAp7 Y99XxJfwCCLhKPZzVOwKDViM9A7L+OsUmZLStqH6nZSwJj2Jcx5PTLESEcDdeODjFO2Y HPIFzvGDvlQ9Vibf9cbIfGkHovBbod25294a0= Original-Received: by 10.223.119.198 with SMTP id a6mr1841948far.42.1238837733457; Sat, 04 Apr 2009 02:35:33 -0700 (PDT) X-Google-Sender-Auth: 6b4bf75b1f356ac8 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.178; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 203809249 - 1a038f74de92 - 20090404 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49059 Archived-At: 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 ___________________________________________________________________________________