From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47382 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: startup script stubs (for unix) Date: Fri, 13 Feb 2009 16:52:49 +0100 Message-ID: <6faad9f00902130752n1505619u3f520e3974e68890@mail.gmail.com> References: <20090210232024.GF14413@obiit.org> 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 1234540599 20373 80.91.229.12 (13 Feb 2009 15:56:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 15:56:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 13 16:57: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 1LY0Pp-0004Jq-FY for gctc-ntg-context-518@m.gmane.org; Fri, 13 Feb 2009 16:57:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B40D1FBCB; Fri, 13 Feb 2009 16:55:57 +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 05406-01-2; Fri, 13 Feb 2009 16:54:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1E941FBAA; Fri, 13 Feb 2009 16:54:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EB0F01FBAA for ; Fri, 13 Feb 2009 16:54: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 03833-02-2 for ; Fri, 13 Feb 2009 16:53:59 +0100 (CET) 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 CCC391FADB for ; Fri, 13 Feb 2009 16:52:58 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1DFqoL6030323 for ; Fri, 13 Feb 2009 16:52:50 +0100 Original-Received: by fg-out-1718.google.com with SMTP id e21so404846fga.8 for ; Fri, 13 Feb 2009 07:52:50 -0800 (PST) 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=nU8cgUbEszW2L/wcyE2TRjEPuJwLSJMO2NNSdKb4LvM=; b=bAi4nzwjbMpAwKhlmml/10PZgAYFPQRJAZGqSo/3OyEir2CPocf54YAVEpJwSPuqxi +D89THp/XBziPWZcMceQNBN7ukK3yInddAqOWms83j2/3h2XRDJ4OADNUGkDyeLfwlkJ jaZ2SGQ16mcxlgn9bpOoAi9+BsYRC6VVOygyA= 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=R2vVv31wrqqffwWE4iqzIaBMtnNOQyBnKcyIUf1DN/n1yMA/DZ2K/cSr8hEUbYmUvu 4BJE0SnGZuGCccZJDwdc/ZQQAOo+Cgf2D7+WJpzI5rW/3qS4rRBoQbjDBCkWO4/6zqb1 USWuj93D8nnl28KWo2WS4f8rtIivvpJbCLBC4= Original-Received: by 10.181.156.12 with SMTP id i12mr766387bko.45.1234540369895; Fri, 13 Feb 2009 07:52:49 -0800 (PST) In-Reply-To: <20090210232024.GF14413@obiit.org> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.157; 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: 179642764 - 2437a026ad9a 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:47382 Archived-At: On Wed, Feb 11, 2009 at 12:20 AM, frantisek holop wrote: > hello gang, > > after almost a year of traveling i am back. > anybody missed me? :] thought so. Hello Frantisek, Just a quick note ... not too many people on the list might be able to follow since there are probably not too many tetex3 users around, and the page you refer to is old as earth, so keep using whatever fits you best. Did you want to suggest changes on the webpage or did you want to ask if some procedure works? (I fully understand why you want to keep using tetex.) > i have made the openbsd installation of context > on top of texexec3 wiki page on the context wiki > because i frequently reinstall my notebook and start > from scratch with all my software. i realize by now > texlive is the new thing but before i make context > minimal work on openbsd i still prefer to bring > up to date context on the much less bloated base > of tetex3. > > my biggest gripe at the moment always at the end > the ruby scripts... > > but this is something that could be easily changed. > i personally find the following instructions the > most helpful: > http://wiki.contextgarden.net/TeTeX_3.0_installation#Ruby_scripts > > at the moment, the directory > /usr/local/share/texmf-local/scripts/context/stubs/unix/ > contains a bunch of scripts that are nice but unusable because > > 1. they dont have the x bit set > > 2. most of them contain something like > > texmfstart somescript "$@" > > while texmfstart itself is not defined anywhere That folder is not meant to be a replacement for binaries. It's just a folder where files can be taken from and put somewhere else afterwards. They don't have the x bit set because zip on windows doesn't handle permission bits. Concerning texmfstart: it's now part of texlive and it's part of minimals. You cannot expect recent binaries to be already part of an ancient tex distribution. Hans probably won't add texmfstart to that folder since distribution is supposed to take care of that. If you need a simple command to fetch all in one run, just do (single line in case it gets broken): rsync -av rsync://contextgarden.net/minimals/current/bin/context/linux/bin/ /usr/local/bin/ > it would be really nice if these stubs could be just dropped > as replacements for any current scripts and work out of the box. Is there any other problem apart from the executable bit (that Hans is not able to fix comfortably)? > i am not sure my proposed solution is a good one, because > frankly, except texexec i have never used any of the other > scripts.. but looking at the afore-quoted wikipage it seems > to me that the author favoured the approach of calling all > the other sripts using texexec. You mean texmfstart? > the beauty of this is > that no other scripts need to be installed. > > so what do you people think about the following approach: > > stub for texmfstart to be put under /usr/local/bin/texmfstart: > #!/bin/sh > > ruby `kpsewhich --format=texmfscripts texmfstart.rb` "$@" At the moment this file is a literal copy of texmfstart.rb. It's like a chicken-and-egg problem. Hans wants to get rid of kpathsea, but by copying the file one doesn't always get the latest texmfstart (one needs to make sure that it's always up-to-date). The "ruby `kpsewhich ..." approach is also OK. > stub for texexe to be put under /usr/local/bin/texexec: > #!/bin/sh > > SCRIPTNAME=`basename $0` > > if [ X"$SCRIPTNAME" = X"texexec" ]; then > exec texmfstart texexec.rb "$@" > else > exec texmfstart $SCRIPTNAME "$@" > fi > > and all the other script stubs could be removed i guess... You don't need to copy other files/stubs if you don't need them, but some people depend on existence of some tools like ctxtools (which is easier to use than texmfstart ctxtools). If you don't need other scripts, just ignore them. (The scripts described on tetex installation page are probably not used my many people. But those pages need to be fixed and unified somehow.) 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 ___________________________________________________________________________________