From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65196 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: mptopdf (broken again) Date: Wed, 12 Jan 2011 10:31:53 +0100 Message-ID: References: <4D2D6F55.2000600@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 1294824727 26205 80.91.229.12 (12 Jan 2011 09:32:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2011 09:32:07 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 12 10:32:03 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 1Pcx3i-00052c-7Y for gctc-ntg-context-518@m.gmane.org; Wed, 12 Jan 2011 10:32:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DA80CA9DA; Wed, 12 Jan 2011 10:32:02 +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 gHn41CMLT0MU; Wed, 12 Jan 2011 10:32:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F9F3CA9DD; Wed, 12 Jan 2011 10:31:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CC2F5CA9DD for ; Wed, 12 Jan 2011 10:31:57 +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 I6Oo03FMkm3e for ; Wed, 12 Jan 2011 10:31:56 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 04825CA9DA for ; Wed, 12 Jan 2011 10:31:56 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0C9Vs3Q016598 for ; Wed, 12 Jan 2011 10:31:54 +0100 Original-Received: by qwa26 with SMTP id 26so358768qwa.14 for ; Wed, 12 Jan 2011 01:31:53 -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=BfG1RbXl3O/DjODv/CH+YBTb8+0C/RsjXP7uCzd2BQ4=; b=PWP+CvHlf24LlGJ4yAsR57lQu7SH0bBKtnNQhEy1/Q40APVrS2gWu0qFvo41lmQemh AezBF0k5wd+HGnX8Il9Vdo7uBNlrwOF9AlBMj+W0TkflVo61tYXW8pv3Gy/qUCMRqOoN w4b3WPoU6IHrpOaafKM8WDV4FnLYd9F4z7TBU= 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=JQf7mTVqkye8sfk9KMRB+p3+H2I4f/cF9n5fBVrI5lHJhOPV8Z/9YZvqYgVhTjNQG9 1QTz6VUXlUqk05MI5Qs/MU1TSdqfOjE1nZV3XEA8GrE8i07d6m9PwbcWRCIg55AC6OFn vosleou10b7kmSoC6YU4AmJwmddnrGf4/pOks= Original-Received: by 10.229.235.69 with SMTP id kf5mr696392qcb.49.1294824713513; Wed, 12 Jan 2011 01:31:53 -0800 (PST) Original-Received: by 10.229.226.198 with HTTP; Wed, 12 Jan 2011 01:31:53 -0800 (PST) In-Reply-To: <4D2D6F55.2000600@wxs.nl> X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=209.85.216.41; 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: 0BDSxvSRF - d9fe6569e0cb - 20110112 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:65196 Archived-At: On Wed, Jan 12, 2011 at 10:07, Hans Hagen wrote: > > it was wrong in the context zip; for windows one can just copy the stub > mtxrun.exe to mptopdf.exe but the same is not true for the shell script that > needs to be: > > #!/bin/sh > mtxrun --script mptopdf "$@" That's right, but may I ask to fix that in ConTeXt? > I'm not sure, but a generic (copyable) script could be: > > #!/bin/sh > mtxrun --script $0 "$@" > > (no shell expert) No, that would not work properly. $0 gives me full path to the executable script, so in my case I would get mtxrun --script /context/tex/texmf-osx-64/bin/mptopdf which is probably not desirable. There are ways to circumvent this, but leaving the scripts the way they are now still seems reasonable to me. 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 ___________________________________________________________________________________