Invoking Lilypond-book from Windows

2002-05-26 Thread Carlos Garcia Suarez



I am trying to collect a few notes on Lilypond by 
typing a Latex file in which music and text should be mixed.  But I can not 
get "Lilypond-book" to run. I am a Windows user so, I normally have to use 
"ly2dvi". Calling "Lilypond-book" from the cygwin shell does not 
work.
 
Any ideas ?
 
 
Thanks
 
Carlos


Re: Invoking Lilypond-book from Windows

2002-05-26 Thread Mats Bengtsson

> I am trying to collect a few notes on Lilypond by typing a Latex file in which music 
>and text should be mixed.  But I can not get "Lilypond-book" to run. I am a Windows 
>user so, I normally have to use "ly2dvi". Calling "Lilypond-book" from the cygwin 
>shell does not work.
> 
> Any ideas ?

Could you please specify what you mean by "does not work".
Exactly how did you write the command and what happened?

Also, don't forget to specify which version of Lilypond
you have installed. If I remember correctly there was some
silly bug in a previous Lilypond version for Windows.

  /Mats



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Invoking Lilypond-book from Windows

2002-05-26 Thread Carlos Garcia Suarez

I am using version version 1.4.12

This is what happens

Administrator@ESPL001 ~$ lilypond-book -o=salida try
Traceback (most recent call last):
  File "/usr/lilypond-1.4.12-1/bin/lilypond-book", line 507, in ?
newdict[k] = re.compile (olddict[k])
  File "/usr/lib/python2.2/sre.py", line 178, in compile
return _compile(pattern, flags)
  File "/usr/lib/python2.2/sre.py", line 228, in _compile
raise error, v # invalid expression
sre_constants.error: redefinition of group name 'match' as group 2; was
group 1
Administrator@ESPL001 ~$

I have also tried

Administrator@ESPL001 ~$ ly2dvi -o=salida try
Running LilyPond...
 -I /home/Administrator -H dedication -H title -H subtitle -H subsubtitle -H
foo
ter -H head -H composer -H arranger -H instrument -H opus -H piece -H
metre -H m
eter -H poet -H texttranslator -H papersize -H textheight -H pagenumber -H
langu
age -H latexheaders -H latexoptions -H linewidth -H latexpackages -H
orientation
 /home/Administrator/try
GNU LilyPond 1.4.12
Now processing: `/home/Administrator/try'
Parsing...
/home/Administrator/try:1:15: error: parse error:
\documentclass[
   a4paper,12pt,twoside]{report}


/home/Administrator/try:158:13: warning: Braces don't match:
\end{document
 }
error: lilypond: command exited with value 256
Traceback (most recent call last):
  File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 834, in ?
run_lilypond (files, outbase, dep_prefix)
  File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 432, in run_lilypond
system ('lilypond %s %s ' % (opts, fs))
  File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 234, in system
error (msg)
  File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 132, in error
raise _ ("Exiting ... ")
Exiting ...
Administrator@ESPL001 ~$


Sorry about the details

Help would be appreciatted

Carlos













- Original Message -
From: "Mats Bengtsson" <[EMAIL PROTECTED]>
To: "Carlos Garcia Suarez" <[EMAIL PROTECTED]>
Cc: "LilyPond User" <[EMAIL PROTECTED]>
Sent: Sunday, May 26, 2002 5:36 PM
Subject: Re: Invoking Lilypond-book from Windows


> I am trying to collect a few notes on Lilypond by typing a Latex file in
which music and text should be mixed.  But I can not get "Lilypond-book" to
run. I am a Windows user so, I normally have to use "ly2dvi". Calling
"Lilypond-book" from the cygwin shell does not work.
>
> Any ideas ?

Could you please specify what you mean by "does not work".
Exactly how did you write the command and what happened?

Also, don't forget to specify which version of Lilypond
you have installed. If I remember correctly there was some
silly bug in a previous Lilypond version for Windows.

  /Mats




___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Invoking Lilypond-book from Windows

2002-05-26 Thread Han-Wen

[EMAIL PROTECTED] writes:
> I am using version version 1.4.12
> raise error, v # invalid expression
> sre_constants.error: redefinition of group name 'match' as group 2; was
> group 1

Please try the latest version. This should have been fixed then.


> Administrator@ESPL001 ~$
> 
> I have also tried
> 
> Administrator@ESPL001 ~$ ly2dvi -o=salida try
> Running LilyPond...
>  -I /home/Administrator -H dedication -H title -H subtitle -H subsubtitle -H
> foo
> ter -H head -H composer -H arranger -H instrument -H opus -H piece -H
> metre -H m
> eter -H poet -H texttranslator -H papersize -H textheight -H pagenumber -H
> langu
> age -H latexheaders -H latexoptions -H linewidth -H latexpackages -H
> orientation
>  /home/Administrator/try
> GNU LilyPond 1.4.12
> Now processing: `/home/Administrator/try'
> Parsing...
> /home/Administrator/try:1:15: error: parse error:
> \documentclass[
>a4paper,12pt,twoside]{report}
> 
> 
> /home/Administrator/try:158:13: warning: Braces don't match:
> \end{document
>  }
> error: lilypond: command exited with value 256
> Traceback (most recent call last):
>   File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 834, in ?
> run_lilypond (files, outbase, dep_prefix)
>   File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 432, in run_lilypond
> system ('lilypond %s %s ' % (opts, fs))
>   File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 234, in system
> error (msg)
>   File "/usr/lilypond-1.4.12-1/bin/ly2dvi", line 132, in error
> raise _ ("Exiting ... ")
> Exiting ...
> Administrator@ESPL001 ~$
> 
> 
> Sorry about the details
> 
> Help would be appreciatted
> 
> Carlos
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> - Original Message -
> From: "Mats Bengtsson" <[EMAIL PROTECTED]>
> To: "Carlos Garcia Suarez" <[EMAIL PROTECTED]>
> Cc: "LilyPond User" <[EMAIL PROTECTED]>
> Sent: Sunday, May 26, 2002 5:36 PM
> Subject: Re: Invoking Lilypond-book from Windows
> 
> 
> > I am trying to collect a few notes on Lilypond by typing a Latex file in
> which music and text should be mixed.  But I can not get "Lilypond-book" to
> run. I am a Windows user so, I normally have to use "ly2dvi". Calling
> "Lilypond-book" from the cygwin shell does not work.
> >
> > Any ideas ?
> 
> Could you please specify what you mean by "does not work".
> Exactly how did you write the command and what happened?
> 
> Also, don't forget to specify which version of Lilypond
> you have installed. If I remember correctly there was some
> silly bug in a previous Lilypond version for Windows.
> 
>   /Mats
> 
> 
> 
> 
> ___
> Lilypond-user mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/lilypond-user

-- 

Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.cs.uu.nl/~hanwen 

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user