From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51234 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: possible problem with setuptex Date: Thu, 11 Jun 2009 20:21:18 +0200 Message-ID: <6faad9f00906111121w4a5728c2jed3bd528baea28e3@mail.gmail.com> References: 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 1244744552 15061 80.91.229.12 (11 Jun 2009 18:22:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jun 2009 18:22:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 11 20:22:30 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 1MEov0-0003Qq-HW for gctc-ntg-context-518@m.gmane.org; Thu, 11 Jun 2009 20:22:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8EA101FB8E; Thu, 11 Jun 2009 20:22:29 +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 03251-03; Thu, 11 Jun 2009 20:21:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7FBA1FB1D; Thu, 11 Jun 2009 20:21:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6F0D1FB1D for ; Thu, 11 Jun 2009 20:21:39 +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 29891-06-2 for ; Thu, 11 Jun 2009 20:21:26 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 8F6AE1FADF for ; Thu, 11 Jun 2009 20:21:26 +0200 (CEST) Original-Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5BILLqe014624 for ; Thu, 11 Jun 2009 20:21:22 +0200 Original-Received: by ewy28 with SMTP id 28so410510ewy.2 for ; Thu, 11 Jun 2009 11:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=siaV0VMfC6lHDbvoGbR76ZqHLSxp8QtTQXVo5dIEKrs=; b=BiK0ZEQBgFK+c8Z36UeXUbO1qxBFp+9f1A434aiBWr1c/BYDpqS7P6gB5qWFsd/6Aa euUS49nW48+lQjmSRZJyLzF0FgoWqzapzZHPQVZMGaNUVET6F/tvc2VSbAWi4gOwpjG8 GNq/MSv/ujNsx0/N6+MnXOWwOEAInXRcYCv88= 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 :content-type:content-transfer-encoding; b=OIm+2NfZmIk03/rfUdgMfl/FwazWArUsyxXxJ/xJJb2eFssJGctBh8if2RSlN7phvW JksjU/kQNaeNAOP4Ogl5PKGqRMSXRuQFKTIyQ/DjOAUbijcWgbKWgnuiuBdtAfvneB7z XkGLJ8fx1eW5sqnAMe/czFq7LUMwymjHh8Atg= Original-Received: by 10.216.17.213 with SMTP id j63mr1055800wej.140.1244744481177; Thu, 11 Jun 2009 11:21:21 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.228; 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: 241690856 - a8dd3b7e27b7 - 20090611 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:51234 Archived-At: On Thu, Jun 11, 2009 at 12:26, Hans van der Meer wrote: > When loading minimals with a shell script it appears that setuptex takes > arguments from the calling shell script: > script called as "script --current" contains: > ... > source ./setuptex > ... > This result in the following error message: > mktexlsr: Done. > The argument "/Users/hans/TeX/context/current/tex/--current" is not a valid > TEXROOT path. > There is no file > "/Users/hans/TeX/context/current/tex/--current/texmf/tex/plain/base/plain.tex" > Setting "/Users/hans/TeX/context/current/tex" as TEXROOT instead. > I guess this cannot be the intent of setuptex. It was the intention to just > use > /Users/hans/TeX/context/current/tex/ > as the TEXROOT path. > Is there a simple solution? > Hans van der Meer Maybe I'm wroing, but didn't it do that already? It said Setting "/Users/hans/TeX/context/current/tex" as TEXROOT Well, it has complained a bit, but it nevertheless did it :) setuptex tries to be clever about acceping an argument to pass some other path. I don't know how shell expansion works, but it might indeed be working a bit weird. If you wrap the script setuptex into some other script, you could just as well only set PATH (and maybe TEXMFCACHE). 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________