Re: MediaWiki-Extension for Lilypond
Hello, as already posted, the solution is: In the Lilypond.php file you have to change the parameters: $cmd = $wgLilypond " -d safe -d eps --format=png ---header=textidoc " Hajo ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
Graham Percival wrote: On Sat, Dec 13, 2008 at 01:55:30PM +, Rob Canning wrote: lilypond -d safe foo.ly works here. i guess the lilypond mediawiki extension is broken? in my wiki page i get the error /same problem with the below line i guess. $cmd = $wgLilypond . " --safe --backend=eps --format=png --header=texidoc " . escapeshellarg($lyFile) . " 2>&1"; I already told you the answer. Please read the command-line argument I wrote, and compare it to the command-line argument you used. Also read the NEWS document for the version of lilypond that you are using. - Graham i am just pointing out that the lilypond extension http://www.mediawiki.org/wiki/Extension:LilyPond has errors i am not the author of this php script just a bug reporter backing up the report made by the last poster to this list thanks rob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
Graham Percival wrote: On Sat, Dec 13, 2008 at 01:55:30PM +, Rob Canning wrote: lilypond -d safe foo.ly works here. i guess the lilypond mediawiki extension is broken? in my wiki page i get the error /same problem with the below line i guess. $cmd = $wgLilypond . " --safe --backend=eps --format=png --header=texidoc " . escapeshellarg($lyFile) . " 2>&1"; I already told you the answer. Please read the command-line argument I wrote, and compare it to the command-line argument you used. Also read the NEWS document for the version of lilypond that you are using. - Graham i am just pointing out that the lilypond extension http://www.mediawiki.org/wiki/Extension:LilyPond has errors i am not the author of this php script just a bug reporter backing up the report made by the last poster to this list thanks rob ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
On Sat, Dec 13, 2008 at 01:55:30PM +, Rob Canning wrote: > >> lilypond -d safe foo.ly >> works here. >> > i guess the lilypond mediawiki extension is broken? > in my wiki page i get the error > > /same problem with the below line i guess. > $cmd = $wgLilypond . >" --safe --backend=eps --format=png --header=texidoc " . >escapeshellarg($lyFile) . " 2>&1"; I already told you the answer. Please read the command-line argument I wrote, and compare it to the command-line argument you used. Also read the NEWS document for the version of lilypond that you are using. - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
lilypond -d safe foo.ly works here. Cheers, - Graham i guess the lilypond mediawiki extension is broken? in my wiki page i get the error *LilyPond error:* //usr/local//lilypond/usr/bin/lilypond: unrecognized option: `--safe' /same problem with the below line i guess. $cmd = $wgLilypond . " --safe --backend=eps --format=png --header=texidoc " . escapeshellarg($lyFile) . " 2>&1"; cheers rob On Sun, Dec 07, 2008 at 03:05:07PM +0100, Hajo Dezelski wrote: Thanks for the hint. Still have a problem. As far as I understood I have to take the parameter -d and an option . But how is the correcht syntax? lilypond -d safe lilypond -d safe (#f) liypond -d #f I couldnt get it to work Cheers Hajo 2008/12/7 Graham Percival On Sat, Dec 06, 2008 at 11:14:50PM +0100, Hajo Dezelski wrote: > >I am using v. 11-64. > >I am not a php-programmer. Is there a solution to this problem or should I >drop the idea using lilypond within the mediawiki? Yes, there is a solution. That solution is to run lilypond --help and/or read the News document of lilypond. Cheers, - Graham -- --- ... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
It works also within MediaWiki-Software as an extension. In the Lilypond.php file you have to change the parameters: $cmd = $wgLilypond " -d safe -d eps --format=png ---header=textidoc " I still have some formatting problems, but first I have to read the manuals ;-) Hajo -- --- ... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
lilypond -d safe foo.ly works here. Cheers, - Graham On Sun, Dec 07, 2008 at 03:05:07PM +0100, Hajo Dezelski wrote: >Thanks for the hint. Still have a problem. As far as I understood I have >to take the parameter -d and an option . But how is the correcht syntax? >lilypond -d safe >lilypond -d safe (#f) >liypond -d #f > >I couldnt get it to work > >Cheers Hajo > >2008/12/7 Graham Percival <[EMAIL PROTECTED]> > > On Sat, Dec 06, 2008 at 11:14:50PM +0100, Hajo Dezelski wrote: > > > >I am using v. 11-64. > > > >I am not a php-programmer. Is there a solution to this problem or > should I > >drop the idea using lilypond within the mediawiki? > > Yes, there is a solution. That solution is to run > lilypond --help > and/or read the News document of lilypond. > > Cheers, > - Graham > >-- >--- >... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
Thanks for the hint. Still have a problem. As far as I understood I have to take the parameter -d and an option . But how is the correcht syntax? lilypond -d safe lilypond -d safe (#f) liypond -d #f I couldnt get it to work Cheers Hajo 2008/12/7 Graham Percival <[EMAIL PROTECTED]> > On Sat, Dec 06, 2008 at 11:14:50PM +0100, Hajo Dezelski wrote: > > > >I am using v. 11-64. > > > >I am not a php-programmer. Is there a solution to this problem or > should I > >drop the idea using lilypond within the mediawiki? > > Yes, there is a solution. That solution is to run > lilypond --help > and/or read the News document of lilypond. > > Cheers, > - Graham > -- --- ... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki-Extension for Lilypond
On Sat, Dec 06, 2008 at 11:14:50PM +0100, Hajo Dezelski wrote: > >I am using v. 11-64. > >I am not a php-programmer. Is there a solution to this problem or should I >drop the idea using lilypond within the mediawiki? Yes, there is a solution. That solution is to run lilypond --help and/or read the News document of lilypond. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Mediawiki extension
Hi Yann, > I copied some Lilypond files from some other sites, including > lilypond.org, but they do not work out of the box. > Simple examples work, but complex ones do not. > There are many syntax errors. You are using examples from old lilypond versions that do not compile anymore. See http://lilypond.org/doc/v2.11/Documentation/user/lilypond-program/Updating-files-with-convert_002dly This > http://www.wikilivres.info/wiki/index.php/Musique_de_Table compiles now, so you setup is fine. You want to check your .ly files using lilypond on the command line before adding them to the wiki. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki extension?
Thank you, these are good points. Bert ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki extension?
2007/7/16, Bertalan Fodor <[EMAIL PROTECTED]>: I remember there was a MediaWiki extension for lilypond. Does that exist currently? I'm creating a wiki site for some music and would like to use mediawiki along with this extension. You're refering to Johannes Schindelin's Wikitex extension: http://wikisophia.org/wiki/Wikitex http://svn.wikitex.org/wikitex/branches/1.1/template/music.ly AFAIK, this extension is unmaintained so far, but it should still work (maybe with some tweaking though). However, I think you need to install (in jailed mode) LilyPond on the same server where your wiki is hosted to use it. If you have to deal with many scores but no text, you can of course use Sebastiano's LSR backend, wich is by far the most advanced client/server LilyPond project. A French guy named Christophe Richard has just opened a public LilyPond server: http://www.lilyserv.net/bashserver.php He's using it with a Wiki-like plugin he has developed for the SPIP CMS: http://www.musicorum.net/spip.php?article125 (I know you disagree with the idea of creating new LilyPond clients, but I'd like to mention here the web interface I'm trying to develop, as an AJAX implementation of LilyPondTool, at http://valentin.villenave.info/lilypond/ ; currently it's only supported by Mozilla browsers) and btw, I'm glad to see I'm not the only Web2.0 geek here :) Regards, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MediaWiki extension?
http://bugzilla.wikipedia.org/show_bug.cgi?id=189#c12 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user