Re: [NTG-context] ConTeXt and LilyPond problem
> Am 29.06.2016 um 10:47 schrieb Robert Blackstone >: > I think I have solved my problem. > Somehow I managed to get Lilypond working from Terminal. Then I placed the > ConTeXt-example with the LilyPond filter that I tried to compile in the same > directory als the lilypond binary. Compiling it, as usual, from TeXShop it > still did not start LilyPond and the .pdf still had: "[[output file missing" > where the musical example should have been. You probably had to include /Applications/LilyPond.app/Contents/Resources/bin into $PATH. This PATH is only known in the Terminal. When you call ConTeXt from the GUI (via TeXShop) you only have the default PATH. Since TeXShop calls context via an engine file, you can add the PATH in the engine: Change this line (actual path to context may differ): set path= (/usr/local/texlive/context/tex/texmf-osx-64/bin /usr/local/bin $path ) to set path= (/usr/local/texlive/context/tex/texmf-osx-64/bin /usr/local/bin /Applications/LilyPond.app/Contents/Resources/bin $path ) You will find the engines in: ~/Library/TeXShop/Engines Axel ___ 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] ConTeXt and LilyPond problem
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 ___ 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] ConTeXt and LilyPond problem
On 28 Jun 2016, at 14:16 , Mojca Miklavecwrote >> >> 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. >>> >> >> You first need to get lilypond working from Terminal, otherwise asking >> any other question on the ConTeXt mailing list won't really help much. >> >> >> Mojca > > Thanks Mojca, > > I have tried to get lilypond working from Terminal but without success. No > idea why. Whatever I do Terminal replies with : cannot execute binary file. Dear all, and in particular Mojca Miklavec and Jean-Pierre Delange, who reacted to my first call for help, I think I have solved my problem. Somehow I managed to get Lilypond working from Terminal. Then I placed the ConTeXt-example with the LilyPond filter that I tried to compile in the same directory als the lilypond binary. Compiling it, as usual, from TeXShop it still did not start LilyPond and the .pdf still had: "[[output file missing" where the musical example should have been. However, compiling the file from Terminal did work. Best regards, Robert Blackstone ___ 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] ConTeXt and LilyPond problem
On 28 Jun 2016, at 12:00 , Mojca Miklavecwrote > > 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 >> - >> > > 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 [ ..] > 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 Thanks Mojca, I have tried to get lilypond working from Terminal but without success. No idea why. Whatever I do Terminal replies with : cannot execute binary file. I will now try to get some advice from the LilyPond list. Best regards, Robert Blackstone ___ 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] ConTeXt and LilyPond problem
On 28 Jun 2016, at 12:00 , Jean-Pierre Delangewrote > > 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" ? > Hello Jean-Pierre, Thanks for your reaction. Ref. 1: I am running ConTeXt as a standalone Ref. 2: ConTeXt is running under Mac OSX 10.9.5. I use TeXShop as the editor. Ref. 3: I attach the example to this mail Ref. 4: Yes, I created a folder "lilytemp". It is in the same directory as the .tex-file I want to compile. But I have no idea how and where to create a buffer. My guess is that ConTeXt does not find the or even a lilypond executable but I cannot see how and where I have to supply the path. Best regards, Robert Blackstone LilyPond-ConTeXt-example-27-06-16.tex Description: Binary data ___ 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] ConTeXt and LilyPond problem
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 ___
Re: [NTG-context] ConTeXt and LilyPond problem
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" <blackstone.rob...@gmail.com> À: ntg-context@ntg.nl Envoyé: Lundi 27 Juin 2016 16:11:52 Objet: [NTG-context] 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 ___ 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 ___ ___ 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] 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 ___ 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 ___