From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65542 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: new beta Date: Wed, 26 Jan 2011 19:56:04 +0100 Message-ID: References: <4D35E228.2090603@wxs.nl> <4D35E660.20605@nibua-r.org> <201101260850.49669.alan.braslau@cea.fr> <4D3FDAAA.9040306@wxs.nl> 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: dough.gmane.org 1296068184 12547 80.91.229.12 (26 Jan 2011 18:56:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 18:56:24 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 26 19:56:20 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiAXT-00010k-Db for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jan 2011 19:56:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0606CAA4B; Wed, 26 Jan 2011 19:56:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LYFkX5+cdrbJ; Wed, 26 Jan 2011 19:56:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1C5DCAA35; Wed, 26 Jan 2011 19:56:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA4DDCAA35 for ; Wed, 26 Jan 2011 19:56:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1lXMewgI7Y0b for ; Wed, 26 Jan 2011 19:56:12 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 7DA83CA9B7 for ; Wed, 26 Jan 2011 19:56:12 +0100 (CET) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0QIu5m2011931 for ; Wed, 26 Jan 2011 19:56:11 +0100 Original-Received: by qyk10 with SMTP id 10so1254023qyk.14 for ; Wed, 26 Jan 2011 10:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1KMRGH1bBcNuO5zE+TwMHT53k6ARS0EoBWnzqYKuYUM=; b=F04iqQ4EGO/o+3BfPhmWZUaHtbKUEN7G8szkJRAwtXIzYnWkwMIXkYR1j4t3nRYjLn LrzfsLE4FT2njV8JVz+H6sXPZmEKhSwZEzlQVcW0de7JDy8Slrf78weksLZHoXp9gJzd y25JnHucrjnQzjngfMVn2B4H7aSiM5zqDPHRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tCdMm5f2YgHDIpWI8lDOKgLA1zjtLrlRCC/4tZCCEF7OA1Bc2Ww9EvwzyPbJvimdcy e32jOkShSFlc8VNEhLTANbLMw2k2zU2xTZ0dOAYalFuBj25ldj/2HLrNbnX2dA2EFFj4 JKD3n/Gq4sIT4S2S6aypmr5r0qdwZVbz73Eug= Original-Received: by 10.229.250.130 with SMTP id mo2mr673507qcb.163.1296068164993; Wed, 26 Jan 2011 10:56:04 -0800 (PST) Original-Received: by 10.229.46.68 with HTTP; Wed, 26 Jan 2011 10:56:04 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; 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: 0bE0iU6vs - 705adfef3008 - 20110126 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:65542 Archived-At: I think I understand at least part of the problem now. When I run ./first-setup.sh it runs /usr/local/texlive/2010/bin/x86_64-darwin/mktexlsr /usr/local/texlive/2010/bin/x86_64-darwin/mtxrun instead of mktexlsr and mtxrun from the newly installed distribution. Is anyone willing to try to change part of first-setup.sh into Option A (more bullet-proof): --------------------------------------------- CONTEXTROOT="$PWD/tex" OLDPATH=$PATH # download or rsync the latest scripts first rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . # download or update the distribution # you may remove the --context=beta switch if you want to use "current" export PATH=$PWD/bin:"$CONTEXTROOT/texmf-$platform/bin":$OLDPATH mtxrun --script ./bin/mtx-update.lua --force --update --engine=all --context=beta --platform=$platform --texroot="$CONTEXTROOT" $@ export PATH="$CONTEXTROOT/texmf-$platform/bin":$OLDPATH mtxrun --script ./bin/mtx-update.lua --force --make --engine=all $@ --------------------------------------------- Option B: --------------------------------------------- CONTEXTROOT="$PWD/tex" # download or rsync the latest scripts first rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . # download or update the distribution # you may remove the --context=beta switch if you want to use "current" export PATH=$PWD/bin:"$CONTEXTROOT/texmf-$platform/bin":$PATH mtxrun --script ./bin/mtx-update.lua --force --update --make --engine=all --context=beta --platform=$platform --texroot="$CONTEXTROOT" $@ --------------------------------------------- and test if that behaves any better? The problem is that in the first step one doesn't necessary have mtxrun & luatex at all or they might be too recent, so we have to put "$PWD/bin/" in front of PATH. However it might be much better to use (now existing) luatex and mtxrun from $CONTEXTROOT/texmf-$platform/bin when updating the database and making formats. Later I decided that one also needs $CONTEXTROOT/texmf-$platform/bin before calling --update since mktexlsr is also called at the end of update. I will rewrite some of the scripts from scratch anyway, but I hope that this should work now. I would have to test whether there is a more elegant way for enforcing some specific type of platform when uname lies. Mojca ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________