Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-21 Thread Khaled Hosny
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


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-21 Thread Taco Hoekwater

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
___


[NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Khaled Hosny
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


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Hans Hagen

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
___


Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Hans Hagen

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
___


Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Khaled Hosny
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


signature.asc
Description: Digital signature
___
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
___


Re: [NTG-context] mtx-texworks.lua can't find TeXworks on linux

2009-11-19 Thread Hans Hagen

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
___