ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mtx-texworks.lua can't find TeXworks on linux
@ 2009-11-19 16:39 Khaled Hosny
  2009-11-19 16:45 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Khaled Hosny @ 2009-11-19 16:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 626 bytes --]

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). 

Even after getting around this, the executable name it is looking for is
'TeXworks' while it should be 'texworks'.

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtx-texworks.lua can't find TeXworks on linux
  2009-11-19 16:39 mtx-texworks.lua can't find TeXworks on linux Khaled Hosny
@ 2009-11-19 16:45 ` Hans Hagen
  2009-11-19 17:40   ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-11-19 16:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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). 

hm, that should be detected automatically; i'll check it

> Even after getting around this, the executable name it is looking for is
> 'TeXworks' while it should be 'texworks'.

oh, so they changed it? good, as this mixed uppercase lowercase is annoying

Hans

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtx-texworks.lua can't find TeXworks on linux
  2009-11-19 16:45 ` Hans Hagen
@ 2009-11-19 17:40   ` Hans Hagen
  2009-11-19 17:50     ` Khaled Hosny
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-11-19 17:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtx-texworks.lua can't find TeXworks on linux
  2009-11-19 17:40   ` Hans Hagen
@ 2009-11-19 17:50     ` Khaled Hosny
  2009-11-19 20:58       ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Khaled Hosny @ 2009-11-19 17:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 857 bytes --]

On Thu, Nov 19, 2009 at 06:40:07PM +0100, Hans Hagen wrote:
> 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?

$ echo $PATH
/opt/texlive/2009/bin/i386-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/khaled/bin:/home/khaled/.local/bin


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtx-texworks.lua can't find TeXworks on linux
  2009-11-19 17:50     ` Khaled Hosny
@ 2009-11-19 20:58       ` Hans Hagen
  2009-11-21 15:52         ` Khaled Hosny
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-11-19 20:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Khaled Hosny wrote:
> On Thu, Nov 19, 2009 at 06:40:07PM +0100, Hans Hagen wrote:
>> 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?
> 
> $ echo $PATH
> /opt/texlive/2009/bin/i386-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/khaled/bin:/home/khaled/.local/bin

ok, i see the problem (it's not just splitting at : or ; as in tex 
config files specs can bw much more complex); will be solved in next beta


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtx-texworks.lua can't find TeXworks on linux
  2009-11-19 20:58       ` Hans Hagen
@ 2009-11-21 15:52         ` Khaled Hosny
  2009-11-21 16:49           ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Khaled Hosny @ 2009-11-21 15:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 475 bytes --]

On Thu, Nov 19, 2009 at 09:58:32PM +0100, Hans Hagen wrote:
> ok, i see the problem (it's not just splitting at : or ; as in tex  
> config files specs can bw much more complex); will be solved in next beta

The application launches now, but it is of no much use on linux since
all typesetting commands are windows specific (mtxrun.cmd, cmd.exe etc.)

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: mtx-texworks.lua can't find TeXworks on linux
  2009-11-21 15:52         ` Khaled Hosny
@ 2009-11-21 16:49           ` Taco Hoekwater
  0 siblings, 0 replies; 7+ messages in thread
From: Taco Hoekwater @ 2009-11-21 16:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Khaled Hosny wrote:
> On Thu, Nov 19, 2009 at 09:58:32PM +0100, Hans Hagen wrote:
>> ok, i see the problem (it's not just splitting at : or ; as in tex  
>> config files specs can bw much more complex); will be solved in next beta
> 
> The application launches now, but it is of no much use on linux since
> all typesetting commands are windows specific (mtxrun.cmd, cmd.exe etc.)

Oh, I knew that, I have a local patch even (from when it was still
TeXworks). I'll send my patch to Hans.

Best wishes,
Taco
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-21 16:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-19 16:39 mtx-texworks.lua can't find TeXworks on linux Khaled Hosny
2009-11-19 16:45 ` Hans Hagen
2009-11-19 17:40   ` Hans Hagen
2009-11-19 17:50     ` Khaled Hosny
2009-11-19 20:58       ` Hans Hagen
2009-11-21 15:52         ` Khaled Hosny
2009-11-21 16:49           ` Taco Hoekwater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).