From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38641 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: 2 further unix stubs Date: Tue, 15 Jan 2008 09:28:12 +0100 Message-ID: <20080115082812.GA32529@gaston.couberia.bzh> References: <20080114231703.GB29276@gaston.couberia.bzh> <6faad9f00801141543h3cd9e296rbc04be8431437346@mail.gmail.com> 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 1200385793 26502 80.91.229.12 (15 Jan 2008 08:29:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jan 2008 08:29:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 15 09:30:14 2008 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 1JEhBT-0004NY-SA for gctc-ntg-context-518@m.gmane.org; Tue, 15 Jan 2008 09:30:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FFF31FB74; Tue, 15 Jan 2008 09:29:25 +0100 (CET) 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 29704-03-6; Tue, 15 Jan 2008 09:28:48 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6BF5D1FB3C; Tue, 15 Jan 2008 09:28:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE88F1FB3C for ; Tue, 15 Jan 2008 09:28:46 +0100 (CET) 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 29704-03-5 for ; Tue, 15 Jan 2008 09:28:14 +0100 (CET) Original-Received: from smtp2b.orange.fr (smtp2b.orange.fr [80.12.242.146]) by ronja.ntg.nl (Postfix) with ESMTP id 238721FB39 for ; Tue, 15 Jan 2008 09:28:13 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b16.orange.fr (SMTP Server) with ESMTP id B81A370000A3 for ; Tue, 15 Jan 2008 09:28:13 +0100 (CET) Original-Received: from gaston.couberia.bzh (ARennes-358-1-67-248.w90-54.abo.wanadoo.fr [90.54.10.248]) by mwinf2b16.orange.fr (SMTP Server) with ESMTP id 9635A7000090 for ; Tue, 15 Jan 2008 09:28:13 +0100 (CET) X-ME-UUID: 20080115082813615.9635A7000090@mwinf2b16.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 05FFA30177; Tue, 15 Jan 2008 09:28:12 +0100 (CET) Content-Disposition: inline In-Reply-To: <6faad9f00801141543h3cd9e296rbc04be8431437346@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:38641 Archived-At: On Tue, Jan 15, 2008 at 12:43:35AM +0100, Mojca Miklavec wrote: > > texmfstart is usually "copy texmfstart.rb to texmfstart in bin and > make it executable". The drawback is that if something changes, it > needs to be updated in the bin folder as well. Hello Mojca, that's why a stub is useful. > Isn't this a bit dangerous if scripts move around? > script=$(dirname $0)/../../ruby/texmfstart.rb Indeed, it works only, if you don't move it... My idea was ---to simplify my installation script--- only to add execution bits to .../stubs/unix/* and add .../stubs/unix to the PATH. But texmfstart seems to be an exception, I'll just keep my symbolic link. > (In case that you figure out some more details about "context" stub, > please let me know ... I didn't manage to make it work either. It > seemed as if luatex didn't manage to find mtx-context.) It works for me, if I put .../scripts/context/lua/context into my PATH and add the --run option to the mtxrun call. And $@ should be "$@" of course. (This stub is fine, because it means "context file" = the future and "texexec file" = the past.) Cheers, Peter -- 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 ___________________________________________________________________________________