From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51211 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: possible problem with setuptex Date: Thu, 11 Jun 2009 13:03:57 +0200 (CEST) Message-ID: 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 1244718294 24430 80.91.229.12 (11 Jun 2009 11:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jun 2009 11:04:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 11 13:04:52 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 1MEi5T-0004e5-RP for gctc-ntg-context-518@m.gmane.org; Thu, 11 Jun 2009 13:04:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E1DB1FB82; Thu, 11 Jun 2009 13:04:51 +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 11859-04; Thu, 11 Jun 2009 13:04:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF9C51FADB; Thu, 11 Jun 2009 13:04:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 70A1A1FADB for ; Thu, 11 Jun 2009 13:04: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 11608-05 for ; Thu, 11 Jun 2009 13:03:59 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 55D991FA4C for ; Thu, 11 Jun 2009 13:03:59 +0200 (CEST) Original-Received: from smtp27.orange.fr (smtp27.orange.fr [80.12.242.94]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5BB3w2X026260 for ; Thu, 11 Jun 2009 13:03:59 +0200 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2703.orange.fr (SMTP Server) with ESMTP id 7A6951C00085 for ; Thu, 11 Jun 2009 13:03:58 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-109-135.w90-1.abo.wanadoo.fr [90.1.248.135]) by mwinf2703.orange.fr (SMTP Server) with ESMTP id 4EDFD1C00082 for ; Thu, 11 Jun 2009 13:03:58 +0200 (CEST) X-ME-UUID: 20090611110358323.4EDFD1C00082@mwinf2703.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id B7750309BC; Thu, 11 Jun 2009 13:03:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.couberia.bzh (Postfix) with ESMTP id 9FA12301D1 for ; Thu, 11 Jun 2009 13:03:57 +0200 (CEST) X-X-Sender: peter@gaston.couberia.bzh In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.94; country=FR; region=A8; city=Guyancourt; latitude=48.7667; longitude=2.0667; http://maps.google.com/maps?q=48.7667,2.0667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 241382784 - 6018127ac855 - 20090611 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:51211 Archived-At: On Thu, 11 Jun 2009, Hans van der Meer wrote: > When loading minimals with a shell script it appears that setuptex takes > arguments from the calling shell script: Indeed. 2 solutions: - treat or save your arguments before calling setuptex, for example: ARG1="$1" ARG2="$2" shift $# source /opt/context/tex/setuptex - or setuptex should be rather an executable, that prints out the environment to apply, then one would do something like this: eval `setuptex` (cleaner solution, but some work to do and all minimal-users must change their habits...) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________