ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* no executesystemcommand any more?
@ 2009-04-19 21:17 Henning Hraban Ramm
  2009-04-19 22:14 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2009-04-19 21:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Ahoi,

with the latest beta I can't get my LilyPond module to work.
It seems that it's not possible to execute any command.
I tried \executesystemcommand, \write18 and the old \installprogram.
What should work?
As far as I can see, shell_escape is enabled. (And it worked before.)

Additionally I tried to replace the texmfstart call with mtxrun.
While this works:
texmfstart --ifchanged="foo-lilypond-1.tmp" --exec bin:lilypond "foo- 
lilypond-1.tmp"
this doesn't:
mtxrun --ifchanged="foo-lilypond-1.tmp" --execute lilypond "foo- 
lilypond-1.tmp"
probably because mtxrun doesn't create a md5 file.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: no executesystemcommand any more?
  2009-04-19 21:17 no executesystemcommand any more? Henning Hraban Ramm
@ 2009-04-19 22:14 ` Hans Hagen
  2009-04-19 22:31   ` Henning Hraban Ramm
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-04-19 22:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm wrote:
> Ahoi,
> 
> with the latest beta I can't get my LilyPond module to work.
> It seems that it's not possible to execute any command.
> I tried \executesystemcommand, \write18 and the old \installprogram.
> What should work?
> As far as I can see, shell_escape is enabled. (And it worked before.)
> 
> Additionally I tried to replace the texmfstart call with mtxrun.
> While this works:
> texmfstart --ifchanged="foo-lilypond-1.tmp" --exec bin:lilypond 
> "foo-lilypond-1.tmp"
> this doesn't:
> mtxrun --ifchanged="foo-lilypond-1.tmp" --execute lilypond 
> "foo-lilypond-1.tmp"
> probably because mtxrun doesn't create a md5 file.

in luat-cnf add the shell_escape line

texconfig.kpse_init = false
texconfig.shell_escape = 't'

also delete the font cache so that you will get the speedier tmc files

(recent luatex has more paranoid behaviour and it seems that we need to 
be real soon in enabling system commands)

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: no executesystemcommand any more?
  2009-04-19 22:14 ` Hans Hagen
@ 2009-04-19 22:31   ` Henning Hraban Ramm
  2009-04-19 22:35     ` Wolfgang Schuster
  2009-04-19 22:36     ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2009-04-19 22:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2009-04-20 um 00:14 schrieb Hans Hagen:

> Henning Hraban Ramm wrote:
>> Ahoi,
>> with the latest beta I can't get my LilyPond module to work.
>> It seems that it's not possible to execute any command.
>> I tried \executesystemcommand, \write18 and the old \installprogram.
>> What should work?

> in luat-cnf add the shell_escape line

Which file do you mean? Where should it be?

> texconfig.kpse_init = false
> texconfig.shell_escape = 't'
>
> also delete the font cache so that you will get the speedier tmc files
> (recent luatex has more paranoid behaviour and


ok, deleted all caches

> it seems that we need to be real soon in enabling system commands)

I don't understand?

>> As far as I can see, shell_escape is enabled. (And it worked before.)
>> Additionally I tried to replace the texmfstart call with mtxrun.
>> While this works:
>> texmfstart --ifchanged="foo-lilypond-1.tmp" --exec bin:lilypond  
>> "foo-lilypond-1.tmp"
>> this doesn't:
>> mtxrun --ifchanged="foo-lilypond-1.tmp" --execute lilypond "foo- 
>> lilypond-1.tmp"
>> probably because mtxrun doesn't create a md5 file.


What's the matter mit mtxrun's md5 generation?


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: no executesystemcommand any more?
  2009-04-19 22:31   ` Henning Hraban Ramm
@ 2009-04-19 22:35     ` Wolfgang Schuster
  2009-04-19 22:36     ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2009-04-19 22:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 20.04.2009 um 00:31 schrieb Henning Hraban Ramm:

> Am 2009-04-20 um 00:14 schrieb Hans Hagen:
>
>> in luat-cnf add the shell_escape line
>
> Which file do you mean? Where should it be?

/Users/wolf/context/tex/texmf-context/tex/context/base/luat-cnf.lua

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: no executesystemcommand any more?
  2009-04-19 22:31   ` Henning Hraban Ramm
  2009-04-19 22:35     ` Wolfgang Schuster
@ 2009-04-19 22:36     ` Hans Hagen
  2009-04-19 22:46       ` Henning Hraban Ramm
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2009-04-19 22:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Henning Hraban Ramm wrote:
> Am 2009-04-20 um 00:14 schrieb Hans Hagen:
> 
>> Henning Hraban Ramm wrote:
>>> Ahoi,
>>> with the latest beta I can't get my LilyPond module to work.
>>> It seems that it's not possible to execute any command.
>>> I tried \executesystemcommand, \write18 and the old \installprogram.
>>> What should work?
> 
>> in luat-cnf add the shell_escape line
> 
> Which file do you mean? Where should it be?

luat-cnf.lua

> What's the matter mit mtxrun's md5 generation?

dunno, anything wrong then?

-----------------------------------------------------------------
                                           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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: no executesystemcommand any more?
  2009-04-19 22:36     ` Hans Hagen
@ 2009-04-19 22:46       ` Henning Hraban Ramm
  2009-04-20 19:27         ` no executesystemcommand any more? (SOLVED?) Henning Hraban Ramm
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2009-04-19 22:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2009-04-20 um 00:36 schrieb Hans Hagen:

>>> in luat-cnf add the shell_escape line
>> Which file do you mean? Where should it be?
> luat-cnf.lua

Sorry, I searched after luat-conf, of course grep couldn't find it...
But the two lines were already there.

>> What's the matter mit mtxrun's md5 generation?
> dunno, anything wrong then?


"texmfstart --ifchanged=foo.tmp" wrote a .md5 file for foo.tmp,  
"mtxrun --ifchanged=foo.tmp" doesn't - maybe it saves them anywhere  
else?
Since \executesystemcommand doesn't do anything, I can't check if it  
works without that file.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: no executesystemcommand any more? (SOLVED?)
  2009-04-19 22:46       ` Henning Hraban Ramm
@ 2009-04-20 19:27         ` Henning Hraban Ramm
  0 siblings, 0 replies; 7+ messages in thread
From: Henning Hraban Ramm @ 2009-04-20 19:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2009-04-20 um 00:46 schrieb Henning Hraban Ramm:

> Am 2009-04-20 um 00:36 schrieb Hans Hagen:
>
>>>> in luat-cnf add the shell_escape line
>>> Which file do you mean? Where should it be?
>> luat-cnf.lua
>
> Sorry, I searched after luat-conf, of course grep couldn't find it...
> But the two lines were already there.
>
>>> What's the matter mit mtxrun's md5 generation?
>> dunno, anything wrong then?
>
>
> "texmfstart --ifchanged=foo.tmp" wrote a .md5 file for foo.tmp,  
> "mtxrun --ifchanged=foo.tmp" doesn't - maybe it saves them anywhere  
> else?
> Since \executesystemcommand doesn't do anything, I can't check if it  
> works without that file.


I don't know what has changed, but today I updated again and the  
execution and checksum stuff works again.
Thank you!

:-)

The index problem remains, though (see other thread).


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-04-20 19:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-19 21:17 no executesystemcommand any more? Henning Hraban Ramm
2009-04-19 22:14 ` Hans Hagen
2009-04-19 22:31   ` Henning Hraban Ramm
2009-04-19 22:35     ` Wolfgang Schuster
2009-04-19 22:36     ` Hans Hagen
2009-04-19 22:46       ` Henning Hraban Ramm
2009-04-20 19:27         ` no executesystemcommand any more? (SOLVED?) Henning Hraban Ramm

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