ConTeXt and LilyPond problem
Dear All, I am trying to get the combination of ConTeXt and LilyPond working. I copied the example that I found on http://wiki.contextgarden.net/LilyPond , changing the setups a little (I don't have the font Adobe Jenson Pro). Processing it with mkiv from april this year and earlier produces a pdf with both zapf texts and in between the text: [[output file missing. The log-file says: --------------------- t-filter . cached output file 'lilytemp/LilyPond-ConTeXt-example-27-06-16-templilypond-0.pdf' missing. Rerunning filter sh: lilypond: command not found t-filter > file 'lilytemp/LilyPond-ConTeXt-example-27-06-16-templilypond-0.pdf' cannot be found --------------------- Indeed there is no file lilytemp/LilyPond-ConTeXt-example-27-06-16-templilypond-0.pdf . With LilyPond.app itself, using TeXShop as the editor, I have no problems. (But I have never been able to get it working from Terminal, generating only messages like "cannot execute binary file" and "Permission denied" even after running sudo chmod u+x .) What can I do about it? Thanks in advance for tips and suggestions. Best regards, Robert Blackstone
Please, would you mind to answer these questions :
1) Are you running ConTeXt as "Standalone" or with another install with LaTeX ?
2) Is ConTeXt running under Linux or Windows ?
3) What is the example you've tried to test ?
4) Did you have created manually a "temp" file and a buffer as it is said within the Context Garden page : "This works with ConTeXt MkII and MkIV, but takes only the first page of multi-pages scores, and you must create the folder "lilytemp" manually" ?
----- Mail original -----
De: "Robert Blackstone"
On 27 June 2016 at 16:11, Robert Blackstone wrote:
Dear All,
I am trying to get the combination of ConTeXt and LilyPond working. I copied the example that I found on http://wiki.contextgarden.net/LilyPond , changing the setups a little (I don't have the font Adobe Jenson Pro).
Processing it with mkiv from april this year and earlier produces a pdf with both zapf texts and in between the text: [[output file missing.
The log-file says: --------------------- t-filter . cached output file 'lilytemp/LilyPond-ConTeXt-example-27-06-16-templilypond-0.pdf' missing. Rerunning filter sh: lilypond: command not found t-filter > file 'lilytemp/LilyPond-ConTeXt-example-27-06-16-templilypond-0.pdf' cannot be found --------------------- Indeed there is no file lilytemp/LilyPond-ConTeXt-example-27-06-16-templilypond-0.pdf .
With LilyPond.app itself, using TeXShop as the editor, I have no problems. (But I have never been able to get it working from Terminal, generating only messages like "cannot execute binary file" and "Permission denied" even after running sudo chmod u+x .)
What can I do about it?
You first need to get lilypond working from Terminal, otherwise asking any other question on the ConTeXt mailing list won't really help much. I created a shell script "lilypond" somewhere in PATH, containing #!/bin/bash exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond "$@" but I don't remember if that ever worked properly. At the moment I get
lilypond test.ly GNU LilyPond 2.18.2
and then it just consumes processor forever without producing any result. I'm not eager to start debugging right now, but just to let you know that getting lilypond to work from terminal is a prerequisite for getting the module to work. Mojca
Am 2016-06-27 um 22:36 schrieb Mojca Miklavec
On 27 June 2016 at 16:11, Robert Blackstone wrote: I created a shell script "lilypond" somewhere in PATH, containing #!/bin/bash exec /Applications/LilyPond.app/Contents/Resources/bin/lilypond "$@"
You can also add that path (/Applications/LilyPond.app/Contents/Resources/bin/) to your PATH. normally in .bashrc: export PATH=$PATH:/Applications/LilyPond.app/Contents/Resources/bin/ Greetlings, Hraban Grüßlinge, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) GPG Key ID 1C9B22FD
participants (4)
-
Henning Hraban Ramm
-
Jean-Pierre Delange
-
Mojca Miklavec
-
Robert Blackstone