ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: MacTex Update
Date: Fri, 22 Aug 2008 10:29:54 +0200	[thread overview]
Message-ID: <747969C3-FC83-4D11-BF42-D32CBA244818@gmail.com> (raw)
In-Reply-To: <691CA4F6-37B6-45F8-91A0-FFAEC33BE5D2@Redwoods.edu>


[-- Attachment #1.1: Type: text/plain, Size: 3710 bytes --]

Hi David,

Recently I updated to MacTeX 2008 which can be found at (thanks to  
Mojca…)
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),  
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="/tmp"
export TEXMFCNF="/usr/local/texlive/2008/texmf/web2c/"
export TEXMF="{/Users/kavian/Library/texmf,/usr/local/texlive/2008/ 
texmf-config,
/usr/local/texlive/2008/texmf-var,/usr/local/texlive/2008/../texmf- 
local,/usr/local/texlive/2008/texmfdist,/usr/local/texlive/2008/texmf,/ 
usr/local/texlive/texmf-local}"
export LUAINPUTS="{/usr/local/texlive/texmf-local/tex/context/base,/ 
usr/local/texlive/texmf-local/scripts/context/lua}"
export OSFONTDIR="{/Users/kavian/Library/Fonts,/Library/Fonts}"
export TEXMFSCRIPTS="{$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

(one'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… 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…) will help us!

Best regards: OK

On 21 août 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
> http://online.redwoods.edu/instruct/darnold/
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 6262 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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:[~2008-08-22  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21 18:49 David Arnold
2008-08-22  8:29 ` Otared Kavian [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=747969C3-FC83-4D11-BF42-D32CBA244818@gmail.com \
    --to=otared@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).