Re: MediaWiki-Extension for Lilypond

2008-12-13 Thread Rob Canning



  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) .  21;
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 gra...@percival-music.ca

 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

2008-12-13 Thread Graham Percival
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) .  21;

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

2008-12-13 Thread Rob Canning

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) .  21;


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

2008-12-13 Thread Rob Canning

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) .  21;



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

2008-12-13 Thread Hajo Dezelski

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

2008-12-08 Thread Hajo Dezelski
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

2008-12-07 Thread 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


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MediaWiki-Extension for Lilypond

2008-12-07 Thread Hajo Dezelski
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

2008-12-07 Thread Graham Percival
  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


MediaWiki-Extension for Lilypond

2008-12-06 Thread Hajo Dezelski
Hello,

trying find a solution with my incipits problem I used my MediaWiki with the
Lilypond extension. But I got the error

*ilypond.exe: unrecognized option: `--safe' *

I deleted the --safe option then the next argument was also not recognized

   $cmd = $wgLilypond .
 --safe --backend=eps --format=png --header=texidoc  .

Then I deleted the whole option, but that was not a solution either.

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?

Hajo

-- 
---
... indessen wandelt harmlos droben das Gestirn
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user