From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29533 Path: news.gmane.org!not-for-mail From: The Wizard Newsgroups: gmane.comp.tex.context Subject: Can't get texmfstart to work Date: Wed, 19 Jul 2006 18:06:37 -0700 Organization: Sun Client Solutions Message-ID: <44BED71D.3040205@sun.com> Reply-To: Mark.Almeida@Sun.COM, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153357641 29100 80.91.229.2 (20 Jul 2006 01:07:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Jul 2006 01:07:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 20 03:07:18 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G3N0X-00020s-L0 for gctc-ntg-context-518@m.gmane.org; Thu, 20 Jul 2006 03:07:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92A5712807; Thu, 20 Jul 2006 03:07:17 +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 26983-07; Thu, 20 Jul 2006 03:07:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 185651280B; Thu, 20 Jul 2006 03:07:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E3971280B for ; Thu, 20 Jul 2006 03:07:02 +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 27701-02 for ; Thu, 20 Jul 2006 03:06:51 +0200 (CEST) Original-Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by ronja.ntg.nl (Postfix) with SMTP id D763112807 for ; Thu, 20 Jul 2006 03:06:49 +0200 (CEST) Original-Received: from fe-amer-04.sun.com ([192.18.108.178]) by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k6K16cQV007415 for ; Wed, 19 Jul 2006 19:06:44 -0600 (MDT) Original-Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J2O00G01GECEJ00@mail-amer.sun.com> (original mail from Mark.Almeida@Sun.COM) for ntg-context@ntg.nl; Wed, 19 Jul 2006 19:06:38 -0600 (MDT) Original-Received: from [192.168.1.28] ([71.146.101.184]) by mail-amer.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J2O00DSAGF1GRJ1@mail-amer.sun.com> for ntg-context@ntg.nl; Wed, 19 Jul 2006 19:06:38 -0600 (MDT) Original-To: ntg-context@ntg.nl User-Agent: Thunderbird 1.5.0.4 (X11/20060602) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29533 Archived-At: All - I had not updated my install for quite some time, so I thought today might be a good time to try. I downloaded all the latest cont-*.zip files from the Pragma site, and did what I normally do to update: 1) Unzip all the new files in my texmf-local directory 2) texhash 3) texexec --make en nl mptopdf 4) texexec --make --all 5) updmap-sys 6) fmtutil-sys --refresh 7) texexec --version I see that I have installed the newest version: merlin:/home/.../TestDoc 128> texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006 tex : pdfeTeXk, 3.141592-1.30.6-2.2 (Web2C 7.5.5) context : ver: 2006.07.14 12:08 cont-en : ver: 2006.07.14 12:08 fmt: 2006.7.19 mes: english total run time : 1 seconds warning : use 'texmfstart texexec' instead So, I decide to see if I can start using the texmfstart version as recommended. I find the "texmfstart.rb" file in the texmf-local/scripts/context/ruby/ directory, and see that the magic line doesn't work for me; on Solaris 10, the #!/usr/bin/env ruby just hangs. No problem, I can point it to my installed copy of ruby and it should work; I change the first line to #!//opt/sfw/bin/ruby and try "texmfstart texexec --version" and get an error: merlin:/home/.../TestDoc 130> texmfstart texexec --version /usr/local/teTeX/bin/i386-pc-solaris2.10/texmfstart:983: nested method definition def the_same(filter,filename) ^ /usr/local/teTeX/bin/i386-pc-solaris2.10/texmfstart:987: nested method definition def the_same(filter,filename) ^ Now, I don't know if it's a ruby error, or a problem with my system. The version of ruby installed is merlin:/home/.../TestDoc 131> ruby --version ruby 1.6.4 (2001-06-04) [i386-solaris2.10] and I am using teTex 3.0 built from source, and pdftex-1.30.6. I only normally generate PDF output in letter size, and this has worked fine for me in the old Perl version (in fact, it still works, but complains that I should use "texmfstart"). Any ideas about how I should go about fixing this? -- Mark Almeida mark.almeida@sun.com Solutions Architect (707)398-9524/x81132 Sun Client Solutions (707)429-0341 Home Office (707)480-5038 Cell