[NTG-context] ConTeXt and LilyPond problem

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Jun 27 22:36:17 CEST 2016

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

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.


More information about the ntg-context mailing list