From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54544 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: mtx-texworks.lua can't find TeXworks on linux Date: Thu, 19 Nov 2009 18:40:07 +0100 Message-ID: <4B0582F7.3030507@wxs.nl> References: <20091119163927.GA7424@khaled-laptop> <4B05760E.7020105@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258652431 14924 80.91.229.12 (19 Nov 2009 17:40:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 17:40:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 19 18:40:24 2009 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.50) id 1NBAzY-0003Md-Gp for gctc-ntg-context-518@m.gmane.org; Thu, 19 Nov 2009 18:40:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A904C9AC7; Thu, 19 Nov 2009 18:37:51 +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 OO9w+4S6t+6T; Thu, 19 Nov 2009 18:37:48 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D027C9AB7; Thu, 19 Nov 2009 18:37:48 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61ABDC9A8A for ; Thu, 19 Nov 2009 18:37:47 +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 3lt7rCDqy1ka for ; Thu, 19 Nov 2009 18:37:45 +0100 (CET) Original-Received: from mail.solcon.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id 9C599C9AB7 for ; Thu, 19 Nov 2009 18:37:38 +0100 (CET) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.2a3) with ESMTP id 5239-1713362 for ; Thu, 19 Nov 2009 18:39:20 +0100 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: <4B05760E.7020105@wxs.nl> X-Authenticated-User: hagen@controller-9 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:54544 Archived-At: Hans Hagen wrote: > Khaled Hosny wrote: >> Running it gives: >> >> $ mtxrun -script texworks -start >> MTXrun | unable to locate TeXworks >> >> Though I've texworks on my path: >> >> $ which texworks /usr/bin/texworks >> >> I found that the file.split_path(os.getenv("PATH")) call returns a table >> with single member containing the full PATH variable (it assumes it is a >> semicolon separated list, but on linux it is a colon separated list). here the splitter works , can you send me the path string? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________