From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43285 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: MacTex Update Date: Fri, 22 Aug 2008 10:29:54 +0200 Message-ID: <747969C3-FC83-4D11-BF42-D32CBA244818@gmail.com> References: <691CA4F6-37B6-45F8-91A0-FFAEC33BE5D2@Redwoods.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: multipart/mixed; boundary="===============0320179643==" X-Trace: ger.gmane.org 1219397728 23007 80.91.229.12 (22 Aug 2008 09:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 09:35:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 22 11:36:20 2008 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 1KWT45-0004Rd-Le for gctc-ntg-context-518@m.gmane.org; Fri, 22 Aug 2008 11:36:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF8141FB6B; Fri, 22 Aug 2008 11:35:12 +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 15022-01-5; Fri, 22 Aug 2008 11:34:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B302C1FBC1; Fri, 22 Aug 2008 10:30:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F11411FB7E for ; Fri, 22 Aug 2008 10:30:33 +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 03445-01-5 for ; Fri, 22 Aug 2008 10:29:59 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by ronja.ntg.nl (Postfix) with ESMTP id 4707E1FB82 for ; Fri, 22 Aug 2008 10:29:58 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so211738fgb.8 for ; Fri, 22 Aug 2008 01:29:58 -0700 (PDT) Original-Received: by 10.86.1.1 with SMTP id 1mr604185fga.61.1219393797335; Fri, 22 Aug 2008 01:29:57 -0700 (PDT) Original-Received: from ?10.10.100.112? ( [141.250.5.13]) by mx.google.com with ESMTPS id e20sm976720fga.1.2008.08.22.01.29.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Aug 2008 01:29:56 -0700 (PDT) In-Reply-To: <691CA4F6-37B6-45F8-91A0-FFAEC33BE5D2@Redwoods.edu> X-Mailer: Apple Mail (2.926) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:43285 Archived-At: --===============0320179643== Content-Type: multipart/alternative; boundary=Apple-Mail-3-568425709 --Apple-Mail-3-568425709 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Hi David, Recently I updated to MacTeX 2008 which can be found at (thanks to =20 Mojca=85) www.uoregon.edu/~koch/MacTeX-2008.mpkg.zip After that, in a Terminal window I just did the usual thing: sudo ctxtools --updatecontext and my ConTeXt installation was updated smoothly. In order to update as well LuaTeX (which doesn't work out of the box), =20= I have written a script named "generate-lua" containing the following =20= lines: %%%%%%% begin file generate-lua source ok-lua cd /usr/local/texlive/texmf-local/scripts/context/lua sudo chmod 755 mtxrun.lua sudo chmod 755 luatools.lua cd mtxrun --selfupdate luatools --selfupdate luatools --generate luatools --ini --verbose --compile cont-en texexec --make --luatex en %%%%%%% end file generate-lua Then, when I need to have a working LuaTeX, in a Terminal window I say sh generate-lua In the above script another file is "sourced", namely the file "ok-=20 lua" (also "sourced" at each opening of a Terminal window, since I =20 have added the command "source ok-lua" into my ".bashrc" file) and it =20= contains the following lines: %%%%%%% begin file ok-lua export TEXMFCACHE=3D"/tmp" export TEXMFCNF=3D"/usr/local/texlive/2008/texmf/web2c/" export TEXMF=3D"{/Users/kavian/Library/texmf,/usr/local/texlive/2008/=20 texmf-config, /usr/local/texlive/2008/texmf-var,/usr/local/texlive/2008/../texmf-=20 local,/usr/local/texlive/2008/texmfdist,/usr/local/texlive/2008/texmf,/=20= usr/local/texlive/texmf-local}" export LUAINPUTS=3D"{/usr/local/texlive/texmf-local/tex/context/base,/=20= usr/local/texlive/texmf-local/scripts/context/lua}" export OSFONTDIR=3D"{/Users/kavian/Library/Fonts,/Library/Fonts}" export TEXMFSCRIPTS=3D"{$TEXMF/scripts/context/,$TEXMF/tex/context/base}" %%%%%%% end file ok-lua (In case you copy and paste the above lines, beware of the wrong =20 linebreaks due to the e-mail client). In order to update to the latest binary of LuaTeX itself, I use svnX =20 which can be found at = http://www.apple.com/downloads/macosx/development_tools/svnx.html Using this application svnX one goes to the following URL in the =20 window called "Repositories" svn://scm.foundry.supelec.fr/svn/luatex (one's User name is one's name, and the Password is one's e-mail =20 address). Then you download the latest "trunk", and once the download is done, =20 you say sh build.sh which builds a binary on your machine. Then you copy the binaries =20 created with the above command (the script tells you where the =20 binaries have been created), into /usr/texbin/ (at this point you need to copy with "sudo"). I have done this several times and I haven't had any problem=85 for the =20= last two weeks :-) Then if again something changes in the futur, our gurus (who are lucky =20= enough to be at the meeting in Slovenia=85) will help us! Best regards: OK On 21 ao=FBt 08, at 20:49, David Arnold wrote: > All, > > If you have a MacTex installation, how can you safely update the =20 > context installation that comes with MacTex? > > David Arnold > College of the Redwoods > Mathematics Department > Eureka, CA 95501 > (707) 476-4222 > http://online.redwoods.edu/instruct/darnold/ > > > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an =20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail-3-568425709 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Hi = David,

Recently I updated to MacTeX 2008 which can be = found at (thanks to Mojca=85)

After that, in = a Terminal window I just did the usual thing:
sudo = ctxtools --updatecontext
and my ConTeXt installation was = updated smoothly.

In order to update as well = LuaTeX (which doesn't work out of the box), I have written a script = named "generate-lua" containing the following = lines:

%%%%%%% begin file = generate-lua

source ok-lua
cd = /usr/local/texlive/texmf-local/scripts/context/lua
sudo chmod 755 = mtxrun.lua
sudo chmod 755 luatools.lua
cd
mtxrun = --selfupdate
luatools --selfupdate
luatools --generate
luatools = --ini --verbose --compile cont-en
texexec --make --luatex = en

%%%%%%% end file = generate-lua

Then, when I need to have a = working LuaTeX, in a Terminal window I say
sh = generate-lua

In the above script another = file is "sourced", namely the file "ok-lua" (also "sourced" at each = opening of a Terminal window, since I have added the command "source = ok-lua" into my ".bashrc" file) and it contains the following = lines:

%%%%%%% begin file = ok-lua

export = TEXMFCACHE=3D"/tmp" 
export = TEXMFCNF=3D"/usr/local/texlive/2008/texmf/web2c/"
export = TEXMF=3D"{/Users/kavian/Library/texmf,/usr/local/texlive/2008/texmf-config= ,
/usr/local/texlive/2008/texmf-var,/usr/local/texlive/2008/../texmf-lo= cal,/usr/local/texlive/2008/texmfdist,/usr/local/texlive/2008/texmf,/usr/l= ocal/texlive/texmf-local}"
export = LUAINPUTS=3D"{/usr/local/texlive/texmf-local/tex/context/base,/usr/local/t= exlive/texmf-local/scripts/context/lua}"
export = OSFONTDIR=3D"{/Users/kavian/Library/Fonts,/Library/Fonts}"
export = TEXMFSCRIPTS=3D"{$TEXMF/scripts/context/,$TEXMF/tex/context/base}"

%%%%%%% end file = ok-lua
(In case you copy and paste the above lines, beware of = the wrong linebreaks due to the e-mail client).
In order to = update to the latest binary of LuaTeX itself, I use svnX which can be = found at

http://www.apple.com/downloads/macosx/development_tools/svnx.html

Using this application svnX one goes to the = following URL in the window called = "Repositories"

= svn://scm.foundry.supelec.fr/svn/luatex

(o= ne's User name is one's name, and the Password is one's e-mail = address).
Then you download the latest "trunk", and once the = download is done, you say
sh build.sh
which = builds a binary on your machine. Then you copy the binaries created with = the above command (the script tells you where the binaries have been = created), into 
/usr/texbin/
(at = this point you need to copy with "sudo").

I = have done this several times and I haven't had any problem=85 for the = last two weeks :-)
Then if again something changes in the = futur, our gurus (who are lucky enough to be at the meeting in = Slovenia=85) will help us!

Best regards: = OK

On 21 ao=FBt 08, at 20:49, David = Arnold wrote:

= All,

If you have a MacTex installation, how  can = you safely update the context installation that comes with = MacTex?

David = Arnold
College of the Redwoods
Mathematics = Department
Eureka, CA 95501
(707) = 476-4222

=

____________________________________________________= _______________________________
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.s= upelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail-3-568425709-- --===============0320179643== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0320179643==--