ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt and LilyPond problem
Date: Mon, 27 Jun 2016 22:36:17 +0200	[thread overview]
Message-ID: <CALBOmsadmeFTSSQ2tc97OnsOjcEY4E6On08y_uWNutBQGyP-nA@mail.gmail.com> (raw)
In-Reply-To: <1225E5A5-8547-4CB4-8FE8-877DE14588C6@gmail.com>

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

  parent reply	other threads:[~2016-06-27 20:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 14:11 Robert Blackstone
2016-06-27 15:08 ` Jean-Pierre Delange
2016-06-27 20:36 ` Mojca Miklavec [this message]
2016-07-02 16:03   ` Henning Hraban Ramm
     [not found] <mailman.1.1467108001.8379.ntg-context@ntg.nl>
2016-06-28 10:46 ` Robert Blackstone
2016-06-28 11:19 ` Robert Blackstone
     [not found] <mailman.193.1467116172.6154.ntg-context@ntg.nl>
2016-06-29  8:47 ` Robert Blackstone
2016-07-03  8:49   ` Axel Kielhorn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALBOmsadmeFTSSQ2tc97OnsOjcEY4E6On08y_uWNutBQGyP-nA@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).