From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29689 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: updating context on Ubuntu 6.06 Date: Wed, 26 Jul 2006 11:36:58 +0200 Message-ID: <44C737BA.9070702@elvenkind.com> References: <44C72991.9020206@brainbot.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153906639 13537 80.91.229.2 (26 Jul 2006 09:37:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Jul 2006 09:37:19 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 26 11:37:16 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G5fpG-0002sx-R1 for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jul 2006 11:37:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E1D71FE47; Wed, 26 Jul 2006 11:37:08 +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 19085-09; Wed, 26 Jul 2006 11:37:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9A161FE22; Wed, 26 Jul 2006 11:37:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C249D1FE22 for ; Wed, 26 Jul 2006 11:37:01 +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 19430-04-5 for ; Wed, 26 Jul 2006 11:37:00 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 8AC4A1FE1C for ; Wed, 26 Jul 2006 11:37:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 4225A1BE30 for ; Wed, 26 Jul 2006 11:37:00 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19722-09 for ; Wed, 26 Jul 2006 11:37:00 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 060751B915 for ; Wed, 26 Jul 2006 11:37:00 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <44C72991.9020206@brainbot.com> X-Virus-Scanned: by amavisd-new at elvenkind.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29689 Archived-At: Hi, Ralf Schmitt wrote: > >>Beforehand I had been using the 2006.04.17 beta and had put off >>upgrading because I was scared of the change from perl texexec to ruby >>texexec. >> >>1. (optional cleanup) Delete the old Context-installed files in >> ~/texmf/. This step is optional, but I do it so that I can track the I am not so sure that step is optional. Because if the preinstalled version had a cont-sys.tex or cont-usr.tex, then this step may be required to make sure you are not using an out-of-date version of these files. >>3. (stubs, part 1) Create ~/bin/texmfstart containing two lines: >> >>#!/bin/bash >>~/texmf/scripts/context/ruby/texmfstart.rb "$@" A somehwat more flexible version is #!/bin/sh ruby `kpsewhich --format='texmfscripts' texmfstart.rb` $@ (also notice the lack of quotes around $@) >>4. (stubs, part 2) texmfstart will run texexec, so create texexec as a >> symlink to ~/texmf/scripts/context/stubs/unix/texexec: >> >> cd ~/bin >> ln -s ~/texmf/scripts/context/stubs/unix/texexec >> chmod +x texexec >> >> Hans: Could texexec be made executable in the distribution's zip >> file, to avoid the chmod? ctxtools --update does that manually after unzipping, but sicne the zip is created on windows, the in-zip versions cannot be made executable AFAIK. >>7. (test 2) Try a simple file. I use ~/tmp/xy/t.tex containing one >> line, "\starttext abc \stoptext". Here goes: >> >> texexec t >> >> fails with >> >>! Font \*12ptrmtf*=ec-lmr12 not loadable: Metric (TFM) file not found. In the future, the cont-lmt.zip may perhaps be re-instated. > > ConTeXt ver: 2005.01.31 fmt: 2006.6.27 int: english mes: english This is the old teTeX-supplied context format from January 31, 2005, that was last regenerated on June 27. Not the new one you created in the previous step. >>So I think all is well, and I didn't need to set RUBYLIB. Let me know >>of any corrections or improvements; if there's interest I'll wikifi. All documents that say you should set RUBYLIB are outdated and wrong. Every since texmfstart.rb is a 'fat' ruby script, that has become unnecesary. >>>>From now on, I hope I can update using >> >> texmfstart ctxtools --updatecontext >> > does not work for me: > > $ texmfstart ctxtools --updatecontext > kpsewhich: option `--expand-var' requires an argument Do not worry about that until the rest of the install is correct, it may start working automagically. Taco