From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54541 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: mtx-texworks.lua can't find TeXworks on linux Date: Thu, 19 Nov 2009 18:39:27 +0200 Message-ID: <20091119163927.GA7424@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1450919059==" X-Trace: ger.gmane.org 1258648806 439 80.91.229.12 (19 Nov 2009 16:40:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 16:40:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 19 17:39:57 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 1NBA30-0005Nf-Mx for gctc-ntg-context-518@m.gmane.org; Thu, 19 Nov 2009 17:39:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1D46C9AB7; Thu, 19 Nov 2009 17:37:22 +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 4SxXaES31LIu; Thu, 19 Nov 2009 17:37:20 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2D33C9A70; Thu, 19 Nov 2009 17:37:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DAC72C9A8A for ; Thu, 19 Nov 2009 17:37:17 +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 3jfvuvpnKK+K for ; Thu, 19 Nov 2009 17:37:06 +0100 (CET) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.147]) by balder.ntg.nl (Postfix) with ESMTP id 70880C9A41 for ; Thu, 19 Nov 2009 17:37:06 +0100 (CET) Original-Received: by ey-out-1920.google.com with SMTP id 26so759418eyw.6 for ; Thu, 19 Nov 2009 08:39:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=HON/CUG+GZTMujtwlyXCaggrkte3jMZpZpkoglmnKFo=; b=QHTvDwJP9/bdS/025jFCayLmglHR4hBrHdelun97GhorQZt2Ici87yk/ELqAVWI2zV eWBtu/wFdW5ZmqMp0Ve6DQWZMVi8+u/dogtNfTcB5Ec0K2BfQ5j1w7rjuE53LoW7mrIj zYduT0leHyp3hQpy3EzsaI85a01v82/Eu2WSQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=oy1cG3q0VO/H0vqxAdv3sKM0Gha8kAm5Xd7K43Y9X3RYz1503WGssSMNa/uy3BFMCJ RU5fpyalsWwj2ffJwWVW0EhYbyvZyb7yjDflFMsRlhwjmG4oQ3Fltwey163F54qht5xl is1If6XIlosEdFyvH60RmMfUFnz0ZDO6uef00= Original-Received: by 10.213.1.7 with SMTP id 7mr1733456ebd.27.1258648773818; Thu, 19 Nov 2009 08:39:33 -0800 (PST) Original-Received: from localhost ([41.238.233.111]) by mx.google.com with ESMTPS id 15sm300452ewy.4.2009.11.19.08.39.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 19 Nov 2009 08:39:33 -0800 (PST) User-Agent: Mutt/1.5.18 (2008-05-17) 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:54541 Archived-At: --===============1450919059== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running it gives: $ mtxrun -script texworks -start MTXrun | unable to locate TeXworks Though I've texworks on my path: $ which texworks=20 /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).=20 Even after getting around this, the executable name it is looking for is 'TeXworks' while it should be 'texworks'. Regards, Khaled --=20 Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAksFdL4ACgkQRoqITGOuyPLFrgCgjebAwspu/6hjNyCQglWARBnM iEoAnRoy/Z4L7X4Ya8XDahXWLL37uO6Q =ndG7 -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm-- --===============1450919059== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1450919059==--