Re: Lilypond-book problem
@David : Yeah, I'm sorry, I meant ".py". Anyway, a very good analysis of the situation! @Knute Snortum : Thank you for your suggestions! I'm thinking about reporting this issue. Il giorno mar 6 set 2022 alle ore 19:25 Knute Snortum ha scritto: > On Tue, Sep 6, 2022 at 8:09 AM David Wright > wrote: > > > > On Tue 06 Sep 2022 at 11:19:28 (+0200), Rip _Mus wrote: > > > Il giorno lun 5 set 2022 alle ore 19:06 Knute Snortum ha scritto: > > > > On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus wrote: > > > > >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus wrote: > > > > > > >> > I have installed the version 2.22.1, wich I used for a lot of > big > > > > project. > > > > >> > A lot of times I tried to open terminal and run "lilypond-book" > but > > > > without success. I already add the folder "...\usr\bin" to the > > > > environmental variabile path, in fact the command "lilypond" runs. > > > > >> > Someone could help me? > > > > > > > thanks for the reply! You're right, I could have added a few more > > > > details. > > > > > The operating system is Windows 10. For using Lilypond on command > line, > > > > I followed the instructions on the site. > > > > > I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the > > > > environmental variable “Path”. > > > > > I think I followed them well, as the "ilypond" command works. The > > > > other commands "lilypond-book" and "convert-ly" instead give me the > > > > following message: > > > > > > > > > > 'lilypond-book' is not recognized as an internal or external > command > > > > > > > > > > What I notice is that in the folder in question there are > lilypond-book > > > > and convert-ly scripts, but they are without extension (for example > * .py) > > > > > > > > > > What do you think about? > > > > > > Well, I had the same experience as you. One solution is to type: > > > > > > > > python3 "C:Program Files (x86)\LilyPond\usr\bin\lilypond-book" > > > > > > > > You could put that in a batch file somewhere in your PATH. There may > > > > be other solutions too. > > > > > Ok! > > > I tried and it works very well! > > > Another solution is to add the extension ".ly" to the file name and > then > > > the command runs. > > > > More likely you added .py ? > > Just adding ".py" to lilypond-book didn't work for me. At the command > line I got a message that "lilypond-book" was not an executable. From > the Windows file folder a command screen popped up for a split second, > then vanished. > > But here's another way to do this: create a file called > lilypond-book.bat somewhere in your PATH, then paste this into it: > > @python3 "C:\Program Files > (x86)\LilyPond-2.22.2\usr\bin\lilypond-book" %* > > You should be able to type "lilypond.book" anywhere you cd to. > > -- > Knute Snortum >
Re: Lilypond-book problem
On Tue, Sep 6, 2022 at 8:09 AM David Wright wrote: > > On Tue 06 Sep 2022 at 11:19:28 (+0200), Rip _Mus wrote: > > Il giorno lun 5 set 2022 alle ore 19:06 Knute Snortum ha scritto: > > > On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus wrote: > > > >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus wrote: > > > > >> > I have installed the version 2.22.1, wich I used for a lot of big > > > project. > > > >> > A lot of times I tried to open terminal and run "lilypond-book" but > > > without success. I already add the folder "...\usr\bin" to the > > > environmental variabile path, in fact the command "lilypond" runs. > > > >> > Someone could help me? > > > > > thanks for the reply! You're right, I could have added a few more > > > details. > > > > The operating system is Windows 10. For using Lilypond on command line, > > > I followed the instructions on the site. > > > > I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the > > > environmental variable “Path”. > > > > I think I followed them well, as the "ilypond" command works. The > > > other commands "lilypond-book" and "convert-ly" instead give me the > > > following message: > > > > > > > > 'lilypond-book' is not recognized as an internal or external command > > > > > > > > What I notice is that in the folder in question there are lilypond-book > > > and convert-ly scripts, but they are without extension (for example * .py) > > > > > > > > What do you think about? > > > > Well, I had the same experience as you. One solution is to type: > > > > > > python3 "C:Program Files (x86)\LilyPond\usr\bin\lilypond-book" > > > > > > You could put that in a batch file somewhere in your PATH. There may > > > be other solutions too. > > > Ok! > > I tried and it works very well! > > Another solution is to add the extension ".ly" to the file name and then > > the command runs. > > More likely you added .py ? Just adding ".py" to lilypond-book didn't work for me. At the command line I got a message that "lilypond-book" was not an executable. From the Windows file folder a command screen popped up for a split second, then vanished. But here's another way to do this: create a file called lilypond-book.bat somewhere in your PATH, then paste this into it: @python3 "C:\Program Files (x86)\LilyPond-2.22.2\usr\bin\lilypond-book" %* You should be able to type "lilypond.book" anywhere you cd to. -- Knute Snortum
Re: Lilypond-book problem
On Tue 06 Sep 2022 at 11:19:28 (+0200), Rip _Mus wrote: > Il giorno lun 5 set 2022 alle ore 19:06 Knute Snortum ha scritto: > > On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus wrote: > > >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus wrote: > > >> > I have installed the version 2.22.1, wich I used for a lot of big > > project. > > >> > A lot of times I tried to open terminal and run "lilypond-book" but > > without success. I already add the folder "...\usr\bin" to the > > environmental variabile path, in fact the command "lilypond" runs. > > >> > Someone could help me? > > > thanks for the reply! You're right, I could have added a few more > > details. > > > The operating system is Windows 10. For using Lilypond on command line, > > I followed the instructions on the site. > > > I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the > > environmental variable “Path”. > > > I think I followed them well, as the "ilypond" command works. The > > other commands "lilypond-book" and "convert-ly" instead give me the > > following message: > > > > > > 'lilypond-book' is not recognized as an internal or external command > > > > > > What I notice is that in the folder in question there are lilypond-book > > and convert-ly scripts, but they are without extension (for example * .py) > > > > > > What do you think about? > > Well, I had the same experience as you. One solution is to type: > > > > python3 "C:Program Files (x86)\LilyPond\usr\bin\lilypond-book" > > > > You could put that in a batch file somewhere in your PATH. There may > > be other solutions too. > Ok! > I tried and it works very well! > Another solution is to add the extension ".ly" to the file name and then > the command runs. More likely you added .py ? > I don't understand why it is not the way described in Lilypond manuals. > Anyway, thank you so much for your help! The archetypal system for Lilypond is un*x/linux, so the documentation reflects that. Where Windows differs, that's often pointed out. See, for example, Usage §2.2 Invoking convert-ly. Unfortunately, the principal reference for Windows on the Command Line doesn't mention this difference or give an example (lilypond itself is a real EXE file, whereas all the support programs are Python scripts): https://lilypond.org/windows.html web.pdf page number 44, physical page 46. Perhaps the reason is that the documentation writer(s) had set their environment variable PATHEXT to include .py (or should it be .PY ?) long ago, and have forgotten about it: https://www.nextofwindows.com/what-is-pathext-environment-variable-in-windows But sometimes that appears not to be the answer either: https://superuser.com/questions/1619580/pathext-environment-variable-not-working -- In researching this, I noticed that, on the web, the target of https://lilypond.org/doc/v2.23/Documentation/web-big-page.html#windows appears to be Nicolas Sceaux's use of LP, whereas the 2.23.12 version on my system points to the correct place in the page, corresponding to: https://lilypond.org/windows.html Disclaimer: I don't use Windows, so all is hypothetical. Cheers, David.
Re: Lilypond-book problem
On Tue, Sep 6, 2022 at 2:19 AM Rip _Mus wrote: > > Ok! > I tried and it works very well! > Another solution is to add the extension ".ly" to the file name and then the > command runs. Huh. I'm surprised that works. I guess LilyPond is smart enough to execute Python code. > I don't understand why it is not the way described in Lilypond manuals. Well, you can report it as a bug at https://lilypond.org/bug-reports.html Or you can even change it by contributing! https://lilypond.org/doc/v2.23/Documentation/contributor/documentation-work -- Knute Snortum
Re: Lilypond-book problem
Ok! I tried and it works very well! Another solution is to add the extension ".ly" to the file name and then the command runs. I don't understand why it is not the way described in Lilypond manuals. Anyway, thank you so much for your help! Il giorno lun 5 set 2022 alle ore 19:06 Knute Snortum ha scritto: > Well, I had the same experience as you. One solution is to type: > > python3 "C:Program Files (x86)\LilyPond\usr\bin\lilypond-book" > > You could put that in a batch file somewhere in your PATH. There may > be other solutions too. > > -- > Knute Snortum > > > On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus > wrote: > > > > Good morning, > > thanks for the reply! You're right, I could have added a few more > details. > > The operating system is Windows 10. For using Lilypond on command line, > I followed the instructions on the site. > > I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the > environmental variable “Path”. > > I think I followed them well, as the "ilypond" command works. The > other commands "lilypond-book" and "convert-ly" instead give me the > following message: > > > > 'lilypond-book' is not recognized as an internal or external command > > > > What I notice is that in the folder in question there are lilypond-book > and convert-ly scripts, but they are without extension (for example * .py) > > > > What do you think about? > > > > > > Il lun 5 set 2022, 02:13 Knute Snortum ha scritto: > >> > >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus > wrote: > >> > > >> > Good morning, > >> > I have installed the version 2.22.1, wich I used for a lot of big > project. > >> > A lot of times I tried to open terminal and run "lilypond-book" but > without success. I already add the folder "...\usr\bin" to the > environmental variabile path, in fact the command "lilypond" runs. > >> > Someone could help me? > >> > >> It would be helpful to know exactly what is going wrong. Do you get > >> error messages? Post them. Not doing what you think it should? Tell > >> us what it's doing and what you think it should be doing. Also, tell > >> us the OS, is it linux? > >> > >> -- > >> Knute Snortum >
Re: Lilypond-book problem
Well, I had the same experience as you. One solution is to type: python3 "C:Program Files (x86)\LilyPond\usr\bin\lilypond-book" You could put that in a batch file somewhere in your PATH. There may be other solutions too. -- Knute Snortum On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus wrote: > > Good morning, > thanks for the reply! You're right, I could have added a few more details. > The operating system is Windows 10. For using Lilypond on command line, I > followed the instructions on the site. > I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the > environmental variable “Path”. > I think I followed them well, as the "ilypond" command works. The other > commands "lilypond-book" and "convert-ly" instead give me the following > message: > > 'lilypond-book' is not recognized as an internal or external command > > What I notice is that in the folder in question there are lilypond-book and > convert-ly scripts, but they are without extension (for example * .py) > > What do you think about? > > > Il lun 5 set 2022, 02:13 Knute Snortum ha scritto: >> >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus wrote: >> > >> > Good morning, >> > I have installed the version 2.22.1, wich I used for a lot of big project. >> > A lot of times I tried to open terminal and run "lilypond-book" but >> > without success. I already add the folder "...\usr\bin" to the >> > environmental variabile path, in fact the command "lilypond" runs. >> > Someone could help me? >> >> It would be helpful to know exactly what is going wrong. Do you get >> error messages? Post them. Not doing what you think it should? Tell >> us what it's doing and what you think it should be doing. Also, tell >> us the OS, is it linux? >> >> -- >> Knute Snortum
Re: Lilypond-book problem
Good morning, thanks for the reply! You're right, I could have added a few more details. The operating system is Windows 10. For using Lilypond on command line, I followed the instructions on the site. I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the environmental variable “Path”. I think I followed them well, as the "ilypond" command works. The other commands "lilypond-book" and "convert-ly" instead give me the following message: 'lilypond-book' is not recognized as an internal or external command What I notice is that in the folder in question there are lilypond-book and convert-ly scripts, but they are without extension (for example * .py) What do you think about? Il lun 5 set 2022, 02:13 Knute Snortum ha scritto: > On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus > wrote: > > > > Good morning, > > I have installed the version 2.22.1, wich I used for a lot of big > project. > > A lot of times I tried to open terminal and run "lilypond-book" but > without success. I already add the folder "...\usr\bin" to the > environmental variabile path, in fact the command "lilypond" runs. > > Someone could help me? > > It would be helpful to know exactly what is going wrong. Do you get > error messages? Post them. Not doing what you think it should? Tell > us what it's doing and what you think it should be doing. Also, tell > us the OS, is it linux? > > -- > Knute Snortum >
Re: Lilypond-book problem
On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus wrote: > > Good morning, > I have installed the version 2.22.1, wich I used for a lot of big project. > A lot of times I tried to open terminal and run "lilypond-book" but without > success. I already add the folder "...\usr\bin" to the environmental > variabile path, in fact the command "lilypond" runs. > Someone could help me? It would be helpful to know exactly what is going wrong. Do you get error messages? Post them. Not doing what you think it should? Tell us what it's doing and what you think it should be doing. Also, tell us the OS, is it linux? -- Knute Snortum
Lilypond-book problem
Good morning, I have installed the version 2.22.1, wich I used for a lot of big project. A lot of times I tried to open terminal and run "lilypond-book" but without success. I already add the folder "...\usr\bin" to the environmental variabile path, in fact the command "lilypond" runs. Someone could help me? Thank you Rip_mus
Re: lilypond book problem (psfont?)
Quoting Bainos [EMAIL PROTECTED]: I read the lilypond-book documentation but i can't understad everything (because i can understand english but not very well.. sorry) so I have another little question. The best way to work with lilypond-book is to set the layout of the page with latex and include only the music code (with out the \paper or \layuot block) is this right? Well, at least the intention is that lilypond-book automatically will use the line width from the LaTeX document. Is the manual the only place where i can find info? You have already found another source of information - the mailing list. Also, don't forget about the LSR (see the link at www.lilypond.org - Documentation), even though it probably doesn't provide any examples specific to lilypond-book. /Mats ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond book problem (psfont?)
Mitico! (ita) Thanks for the quick answer! I read the lilypond-book documentation but i can't understad everything (because i can understand english but not very well.. sorry) so I have another little question. The best way to work with lilypond-book is to set the layout of the page with latex and include only the music code (with out the \paper or \layuot block) is this right? Is the manual the only place where i can find info? Thanks a lot Bainos Mats Bengtsson-4 wrote: This is a known problem in Windows. Please use the pdflatex approach instead: lilypond-book --pdf -o out yourfile.pdftex cd out pdflatex yourfile.tex /Mats Quoting Bainos [EMAIL PROTECTED]: Hi, I have a probelm with lilypond-book that i cant solve.. I use lilypond-book 2.10.25 on winXP lilypond-book -o out --psfont myfile.lytex this is the output. there are some prolem with psfont (?) (C:\Programmi\MiKTeX 2.5\tex\latex\base\article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (C:\Programmi\MiKTeX 2.5\tex\latex\base\size10.clo)) No file tmplxn50q.aux. textwidth=345.0pt columnsep=10.0pt (tmplxn50q.aux) ) No pages of output. Transcript written on tmplxn50q.log. Dissecting... Writing snippets... All snippets are up to date... Compiling prova1.tex... prova1.tex is up to date. Writing fonts to prova1.psfonts...Failed to extract CenturySchL-Roma, Emmentaler -20, CenturySchL-Ital from lily-ba9fb15dcd.eps Failed to extract CenturySchL-Bold from lily-58dba3023a.eps Failed to extract Emmentaler-26 from lily-0edaabf90e.eps DVIPS usage: dvips -h out\prova1.psfonts out\prova1.dvi thanks in advance regards Bainos -- View this message in context: http://www.nabble.com/lilypond-book-problem-%28psfont-%29-tf4038520.html#a11473719 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ 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 -- View this message in context: http://www.nabble.com/lilypond-book-problem-%28psfont-%29-tf4038520.html#a11476607 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond book problem (psfont?)
Hi, I have a probelm with lilypond-book that i cant solve.. I use lilypond-book 2.10.25 on winXP lilypond-book -o out --psfont myfile.lytex this is the output. there are some prolem with psfont (?) (C:\Programmi\MiKTeX 2.5\tex\latex\base\article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (C:\Programmi\MiKTeX 2.5\tex\latex\base\size10.clo)) No file tmplxn50q.aux. textwidth=345.0pt columnsep=10.0pt (tmplxn50q.aux) ) No pages of output. Transcript written on tmplxn50q.log. Dissecting... Writing snippets... All snippets are up to date... Compiling prova1.tex... prova1.tex is up to date. Writing fonts to prova1.psfonts...Failed to extract CenturySchL-Roma, Emmentaler -20, CenturySchL-Ital from lily-ba9fb15dcd.eps Failed to extract CenturySchL-Bold from lily-58dba3023a.eps Failed to extract Emmentaler-26 from lily-0edaabf90e.eps DVIPS usage: dvips -h out\prova1.psfonts out\prova1.dvi thanks in advance regards Bainos -- View this message in context: http://www.nabble.com/lilypond-book-problem-%28psfont-%29-tf4038520.html#a11473719 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond book problem (psfont?)
This is a known problem in Windows. Please use the pdflatex approach instead: lilypond-book --pdf -o out yourfile.pdftex cd out pdflatex yourfile.tex /Mats Quoting Bainos [EMAIL PROTECTED]: Hi, I have a probelm with lilypond-book that i cant solve.. I use lilypond-book 2.10.25 on winXP lilypond-book -o out --psfont myfile.lytex this is the output. there are some prolem with psfont (?) (C:\Programmi\MiKTeX 2.5\tex\latex\base\article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (C:\Programmi\MiKTeX 2.5\tex\latex\base\size10.clo)) No file tmplxn50q.aux. textwidth=345.0pt columnsep=10.0pt (tmplxn50q.aux) ) No pages of output. Transcript written on tmplxn50q.log. Dissecting... Writing snippets... All snippets are up to date... Compiling prova1.tex... prova1.tex is up to date. Writing fonts to prova1.psfonts...Failed to extract CenturySchL-Roma, Emmentaler -20, CenturySchL-Ital from lily-ba9fb15dcd.eps Failed to extract CenturySchL-Bold from lily-58dba3023a.eps Failed to extract Emmentaler-26 from lily-0edaabf90e.eps DVIPS usage: dvips -h out\prova1.psfonts out\prova1.dvi thanks in advance regards Bainos -- View this message in context: http://www.nabble.com/lilypond-book-problem-%28psfont-%29-tf4038520.html#a11473719 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ 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: lilypond-book problem remains in 2.6.1
I think the main problem is that you explicitly specify the line width of your score. If you don't do that, lilypond-book will automatically find out the line width used in the text part of your LaTeX document and use that also for the music examples. Then, all lines of the score will also appear where you want them. If you want short lines in the scores than in the rest of the document, then you could use \newcommand{\betweenLilyPondSystem}[1]{\linebreak} as has already been pointed out in an earlier email. /Mats Nicholas Haggin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The output issues I posted about earlier (to lilypond-user only) remain under 2.6.1, although the other bugs I ran into are now fixed. http://nhaggin.freeshell.org/lilybook-trouble/ Again, note the vertical placement of staves in hymnal.pdf. - -- Nicholas Haggin A.M.D.G. Find my public keys at my website: http://nhaggin.freeshell.org/ -BEGIN PGP SIGNATURE- iD8DBQFC0vs4YbuXiaDnyW4RAmciAJ9+9MtNDwap1AsDlQ6jE08WZeWVXgCfWRIW +fqc2dlVUPuGzQVht0d7SEQ= =Nlyn -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem remains in 2.6.1
GP == Graham Percival [EMAIL PROTECTED] writes: GP On 11-Jul-05, at 4:05 PM, Nicholas Haggin wrote: The output issues I posted about earlier (to lilypond-user only) remain under 2.6.1, although the other bugs I ran into are now fixed. http://nhaggin.freeshell.org/lilybook-trouble/ Again, note the vertical placement of staves in hymnal.pdf. GP I think the problem is the horizontal placement, not the vertical. I GP thought GP this bug had been fixed... The similar problem I had with 2.5.x has gone away on 2.6.0. -- Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ ) (617) 661-8097 fax: (501) 641-5011 233 Broadway, Cambridge, MA 02139 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem remains in 2.6.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Graham Percival wrote: Could you construct a minimal example that demonstrates the problem? That would greatly help the investigation. Could you then send the example to bug-lilypond ? Will do. How much more minimal than the example I posted do you want? One way to completely eliminate these problems is to use \book{} around your scores. You may wish to do a few searches on the mailists to see the history about lilypond-book, \book, and margins. Having searched, read past emails, and having futzed with the scores a bit, the output begins to resemble 2.4, excepting the page break after each score. It's annoying for me because, in the current format, each hymn has a footer containing tune name/meter/composer and author/translator, which now gets shoved onto another page. Are there any plans to eliminate the automatic page break after scores in a \book, or shall that feature stand? - -- Nicholas Haggin A.M.D.G. Find my public keys at my website: http://nhaggin.freeshell.org/ -BEGIN PGP SIGNATURE- iD8DBQFC1VBvYbuXiaDnyW4RAmUfAJ41vUSSUa0xqbMqB3H4/gyONtdBTQCeKN1X 6uZFuKdYRL92p9pvk5cZUOM= =xH1d -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem remains in 2.6.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Graham Percival wrote: A single file would be good -- something that contains any TeX preamble (that is necessary to reproduce this problem), any lilypond code, etc. Will be coming up after I take the CCNA tomorrow. Oh, actually this could be a different issue: with \book, the lilypond example takes up the entire page. That's the issue, then. My initial mail made it sound like I was getting page breaks after every \score, when in fact I was just getting a page break after every \book. My suggestion is to set \paper { vsize = whatever } manually inside your lilypond code. I use 10\in for letterpaper; I don't know what a good number is for A4. And if you want to use custom footers, then that number would need to be less. Aargh. This complicates things because, in some cases, I have a bunch of verses written out under the music, and then the footer (which isn't a page footer per se, but rather a hymn footer.). In this second case, of course, all the extra verses plus the footer are on the next page. As you can see, I had been counting on the music output to stop right below the final staff. Hand-hacking, here I come. - -- Nicholas Haggin A.M.D.G. Find my public keys at my website: http://nhaggin.freeshell.org/ -BEGIN PGP SIGNATURE- iD8DBQFC1dIJYbuXiaDnyW4RAkmXAJ4+NDLszif2JA/dpV4PxvmuDBgI5gCeKtqH mjTVEJcTVRHkvp/qaSt/b6c= =VBf0 -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: lilypond-book problem remains in 2.6.1
My workaround for this problem: Put the line: \newcommand{\betweenLilyPondSystem}[1]{\linebreak} in the preamble of the Lytex file. But there are still some alignment problems I tried to solve with something like: \newcommand{\preLilyPondExample}{% \begin{figure}[t]% %\begin{flushright}% %\leavevmode% \centering% }% \newcommand{\postLilyPondExample}{% %\end{flushright}% \end{figure}% }% without success. Georg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicholas Haggin Sent: Tuesday, July 12, 2005 12:05 AM To: lilypond-user@gnu.org Cc: lilypond-devel@gnu.org Subject: lilypond-book problem remains in 2.6.1 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The output issues I posted about earlier (to lilypond-user only) remain under 2.6.1, although the other bugs I ran into are now fixed. http://nhaggin.freeshell.org/lilybook-trouble/ Again, note the vertical placement of staves in hymnal.pdf. - -- Nicholas Haggin A.M.D.G. Find my public keys at my website: http://nhaggin.freeshell.org/ -BEGIN PGP SIGNATURE- iD8DBQFC0vs4YbuXiaDnyW4RAmciAJ9+9MtNDwap1AsDlQ6jE08WZeWVXgCfWRIW +fqc2dlVUPuGzQVht0d7SEQ= =Nlyn -END PGP SIGNATURE- ___ 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: lilypond-book problem remains in 2.6.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Georg Dummer wrote: My workaround for this problem: Put the line: \newcommand{\betweenLilyPondSystem}[1]{\linebreak} in the preamble of the Lytex file. A hack, but it gives better output. Thanks much. - -- Nicholas Haggin A.M.D.G. Find my public keys at my website: http://nhaggin.freeshell.org/ -BEGIN PGP SIGNATURE- iD8DBQFC03uqYbuXiaDnyW4RAg2qAJ9TxQlp9WoKdUqF2Xl46vrRgcVhdwCdF5Yy YjwitgPxhryVD9KhR2WINkk= =635B -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem remains in 2.6.1
On 11-Jul-05, at 4:05 PM, Nicholas Haggin wrote: The output issues I posted about earlier (to lilypond-user only) remain under 2.6.1, although the other bugs I ran into are now fixed. http://nhaggin.freeshell.org/lilybook-trouble/ Again, note the vertical placement of staves in hymnal.pdf. I think the problem is the horizontal placement, not the vertical. I thought this bug had been fixed... Could you construct a minimal example that demonstrates the problem? That would greatly help the investigation. Could you then send the example to bug-lilypond ? One way to completely eliminate these problems is to use \book{} around your scores. You may wish to do a few searches on the mailists to see the history about lilypond-book, \book, and margins. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.31
Thank you very much. Yes, you are right, I was confused by the message. Libero -- Original Message -- Date: Mon, 20 Jun 2005 12:06:44 +0200 From: Mats Bengtsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Han-Wen Nienhuys [EMAIL PROTECTED], lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.31 Please read in the new version of the manual for exact instructions on how to run latex and dvips. As has already been pointed out in some earlier email, the printout is a bit misleading since it only mentions the dvips command, not the latex command that you have to run before it. /Mats [EMAIL PROTECTED] wrote: Things are going better, it seems to me... I obtain this, but obscure (for me!) warnings about psfonts: Computer-di-Libero-Mureddu:~/Desktop libe$ lilypond-book --output=out prova.tex lilypond-book (GNU LilyPond) 2.5.31 Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.5.31 Processing `snippet-map.ly' Parsing... Processing `prova.tex:5 (lily-1481342208.ly)' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Writing lily-1481342208-systems.tex... Writing lily-1481342208-systems.texi... Layout output to `lily-1481342208-1.eps'... Layout output to `lily-1481342208.eps'... Processing `prova.tex:9 (lily-867219905.ly)' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Writing lily-867219905-systems.tex... Writing lily-867219905-systems.texi... Layout output to `lily-867219905-1.eps'... Layout output to `lily-867219905.eps'... Compiling prova.tex... Writing `prova.tex'... lilypond-book: warning: option --psfonts not used lilypond-book: warning: processing with dvips will have no fonts DVIPS usage: dvips -h out/prova.psfonts out/prova.dvi Computer-di-Libero-Mureddu:~/Desktop libe$ dvips -h out/prova.psfonts out/prova.dvi This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) dvips: ! Couldn't find header file out/prova.psfonts Computer-di-Libero-Mureddu:~/Desktop libe$ -- Original Message -- Date: Sun, 19 Jun 2005 01:43:08 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Benoit Gibson [EMAIL PROTECTED], lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.31 [EMAIL PROTECTED] wrote: I did it, but now I have the following: thanks, can you try .31-7 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.31
Please read in the new version of the manual for exact instructions on how to run latex and dvips. As has already been pointed out in some earlier email, the printout is a bit misleading since it only mentions the dvips command, not the latex command that you have to run before it. /Mats [EMAIL PROTECTED] wrote: Things are going better, it seems to me... I obtain this, but obscure (for me!) warnings about psfonts: Computer-di-Libero-Mureddu:~/Desktop libe$ lilypond-book --output=out prova.tex lilypond-book (GNU LilyPond) 2.5.31 Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.5.31 Processing `snippet-map.ly' Parsing... Processing `prova.tex:5 (lily-1481342208.ly)' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Writing lily-1481342208-systems.tex... Writing lily-1481342208-systems.texi... Layout output to `lily-1481342208-1.eps'... Layout output to `lily-1481342208.eps'... Processing `prova.tex:9 (lily-867219905.ly)' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Writing lily-867219905-systems.tex... Writing lily-867219905-systems.texi... Layout output to `lily-867219905-1.eps'... Layout output to `lily-867219905.eps'... Compiling prova.tex... Writing `prova.tex'... lilypond-book: warning: option --psfonts not used lilypond-book: warning: processing with dvips will have no fonts DVIPS usage: dvips -h out/prova.psfonts out/prova.dvi Computer-di-Libero-Mureddu:~/Desktop libe$ dvips -h out/prova.psfonts out/prova.dvi This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) dvips: ! Couldn't find header file out/prova.psfonts Computer-di-Libero-Mureddu:~/Desktop libe$ -- Original Message -- Date: Sun, 19 Jun 2005 01:43:08 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Benoit Gibson [EMAIL PROTECTED], lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.31 [EMAIL PROTECTED] wrote: I did it, but now I have the following: thanks, can you try .31-7 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.31
Things are going better, it seems to me... I obtain this, but obscure (for me!) warnings about psfonts: Computer-di-Libero-Mureddu:~/Desktop libe$ lilypond-book --output=out prova.tex lilypond-book (GNU LilyPond) 2.5.31 Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.5.31 Processing `snippet-map.ly' Parsing... Processing `prova.tex:5 (lily-1481342208.ly)' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Writing lily-1481342208-systems.tex... Writing lily-1481342208-systems.texi... Layout output to `lily-1481342208-1.eps'... Layout output to `lily-1481342208.eps'... Processing `prova.tex:9 (lily-867219905.ly)' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2] Writing lily-867219905-systems.tex... Writing lily-867219905-systems.texi... Layout output to `lily-867219905-1.eps'... Layout output to `lily-867219905.eps'... Compiling prova.tex... Writing `prova.tex'... lilypond-book: warning: option --psfonts not used lilypond-book: warning: processing with dvips will have no fonts DVIPS usage: dvips -h out/prova.psfonts out/prova.dvi Computer-di-Libero-Mureddu:~/Desktop libe$ dvips -h out/prova.psfonts out/prova.dvi This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com) dvips: ! Couldn't find header file out/prova.psfonts Computer-di-Libero-Mureddu:~/Desktop libe$ -- Original Message -- Date: Sun, 19 Jun 2005 01:43:08 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Benoit Gibson [EMAIL PROTECTED], lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.31 [EMAIL PROTECTED] wrote: I did it, but now I have the following: thanks, can you try .31-7 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: lilypond-book problem 2.5.31
Mac OSX 10.3.9 Lilypond 2.5.31-5 Hi all, I have tried to use lilypond-book with many versions of lilypond (2.5.30, 2.5.31-2... 2.5.31-5) and I always get the same error message: a83-132-154-151:~/Desktop bg$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=out test.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib Is there something I should do or change to get lilypond-book working? Thanks Benot Gibson -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Thu 6/16/2005 3:49 PM To: Han-Wen Nienhuys Cc: lilypond-user@gnu.org Subject:Re: lilypond-book problem 2.5.30 Hi! I tried the new version, but I obtain the following error message (with the verbose option): At the moment I have texshop installed, with the tex package of Gerben Wierda, I mean, not the fink tex intallation. Maybe this is useful to know. Thanks Libero Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ lilypond-book --output=out -V prova.tex lilypond-book (GNU LilyPond) 2.5.31 Opening pipe `kpsexpand \$TEXMF' Opening pipe `kpsewhich -expand-path=\$T1FONTS' Reading prova.tex... Opening filter `latex \nonstopmode \input /dev/stdin' Dissecting... Writing snippets... Processing... Invoking `lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905'GNU LilyPond 2.5.31 Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/snippet-map.ly' Parsing... Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2]/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly: 2:32: In procedure module-lookup in expression (ly:parser-print-score p (ly:music-scorify m p)): /Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2: 32: unbound variable: output-classic-framework lilypond-book: warning: `lilypond' failed (status 2) (ignored) lilypond-book: error: Process lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905 exited unsuccessfully. Removing `prova.tex' Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1614, in ? main () File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1597, in main ly.exit (1) File /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ python/lilylib.py, line 132, in exit raise _ ('Exiting (%d)...') % i Exiting (1)... -- Original Message -- Date: Wed, 15 Jun 2005 17:14:53 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.30 [EMAIL PROTECTED] wrote: Hi, after a crash of two months of my laptop, I am very happy to use again lilypond! And congratulation for the new installer, it is really easy and nice to install and use! I've just tried to use lilypond-book in 2.5.30 on mac os x 10.3.9, but I've received the following error: Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=~/Desktop prova.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib can you try .31-2 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ 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: lilypond-book problem 2.5.31
With the last lilypond (2.5.32-5) lilypond-book gives to me this error: Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...Rebuilding font cache This may take a few minutes.Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/lilycall.py, line 235, in ? p.wait () NameError: name 'p' is not defined lilypond-book: error: Process lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905 exited unsuccessfully. Removing `prova.tex' Libero -- Original Message -- From: Benoit Gibson [EMAIL PROTECTED] Subject: RE: lilypond-book problem 2.5.31 Date: Sat, 18 Jun 2005 08:13:59 +0100 To: lilypond-user@gnu.org Mac OSX 10.3.9 Lilypond 2.5.31-5 Hi all, I have tried to use lilypond-book with many versions of lilypond (2.5.30, 2.5.31-2... 2.5.31-5) and I always get the same error message: a83-132-154-151:~/Desktop bg$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=out test.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib Is there something I should do or change to get lilypond-book working? Thanks Benot Gibson -Original Message- From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Thu 6/16/2005 3:49 PM To:Han-Wen Nienhuys Cc:lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.30 Hi! I tried the new version, but I obtain the following error message (with the verbose option): At the moment I have texshop installed, with the tex package of Gerben Wierda, I mean, not the fink tex intallation. Maybe this is useful to know. Thanks Libero Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ lilypond-book --output=out -V prova.tex lilypond-book (GNU LilyPond) 2.5.31 Opening pipe `kpsexpand \$TEXMF' Opening pipe `kpsewhich -expand-path=\$T1FONTS' Reading prova.tex... Opening filter `latex \nonstopmode \input /dev/stdin' Dissecting... Writing snippets... Processing... Invoking `lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905'GNU LilyPond 2.5.31 Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/snippet-map.ly' Parsing... Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2]/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly: 2:32: In procedure module-lookup in expression (ly:parser-print-score p (ly:music-scorify m p)): /Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2: 32: unbound variable: output-classic-framework lilypond-book: warning: `lilypond' failed (status 2) (ignored) lilypond-book: error: Process lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905 exited unsuccessfully. Removing `prova.tex' Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1614, in ? main () File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1597, in main ly.exit (1) File /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/ python/lilylib.py, line 132, in exit raise _ ('Exiting (%d)...') % i Exiting (1)... -- Original Message -- Date: Wed, 15 Jun 2005 17:14:53 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.30 [EMAIL PROTECTED] wrote: Hi, after a crash of two months of my laptop, I am very happy to use again lilypond! And congratulation for the new installer, it is really easy and nice to install and use! I've just tried to use lilypond-book in 2.5.30 on mac os x 10.3.9, but I've received the following error: Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=~/Desktop prova.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib can you try .31-2 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ 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 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.31
[EMAIL PROTECTED] wrote: With the last lilypond (2.5.32-5) lilypond-book gives to me this error: Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...Rebuilding font cache This may take a few minutes.Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/lilycall.py, line 235, in ? p.wait () NameError: name 'p' is not defined just remove that line from lilycall.py -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.31
I did it, but now I have the following: lilypond-book (GNU LilyPond) 2.5.31 Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...GNU LilyPond 2.5.31 Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/snippet-map.ly' Parsing... Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2]/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2:32: In procedure module-lookup in expression (ly:parser-print-score p (ly:music-scorify m p)): /Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2:32: unbound variable: output-classic-framework lilypond-book: error: Process lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905 exited unsuccessfully. Removing `prova.tex' Libero -- Original Message -- Date: Sat, 18 Jun 2005 13:51:04 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: Benoit Gibson [EMAIL PROTECTED], lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.31 [EMAIL PROTECTED] wrote: With the last lilypond (2.5.32-5) lilypond-book gives to me this error: Reading prova.tex... Dissecting... Writing snippets... Processing... Running lilypond...Rebuilding font cache This may take a few minutes.Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/lilycall.py, line 235, in ? p.wait () NameError: name 'p' is not defined just remove that line from lilycall.py -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.31
[EMAIL PROTECTED] wrote: I did it, but now I have the following: thanks, can you try .31-7 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.30
Hi! I tried the new version, but I obtain the following error message (with the verbose option): At the moment I have texshop installed, with the tex package of Gerben Wierda, I mean, not the fink tex intallation. Maybe this is useful to know. Thanks Libero Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ lilypond-book --output=out -V prova.tex lilypond-book (GNU LilyPond) 2.5.31 Opening pipe `kpsexpand \$TEXMF' Opening pipe `kpsewhich -expand-path=\$T1FONTS' Reading prova.tex... Opening filter `latex \nonstopmode \input /dev/stdin' Dissecting... Writing snippets... Processing... Invoking `lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905'GNU LilyPond 2.5.31 Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/snippet-map.ly' Parsing... Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2]/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2:32: In procedure module-lookup in expression (ly:parser-print-score p (ly:music-scorify m p)): /Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2:32: unbound variable: output-classic-framework lilypond-book: warning: `lilypond' failed (status 2) (ignored) lilypond-book: error: Process lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905 exited unsuccessfully. Removing `prova.tex' Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1614, in ? main () File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1597, in main ly.exit (1) File /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/lilylib.py, line 132, in exit raise _ ('Exiting (%d)...') % i Exiting (1)... -- Original Message -- Date: Wed, 15 Jun 2005 17:14:53 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.30 [EMAIL PROTECTED] wrote: Hi, after a crash of two months of my laptop, I am very happy to use again lilypond! And congratulation for the new installer, it is really easy and nice to install and use! I've just tried to use lilypond-book in 2.5.30 on mac os x 10.3.9, but I've received the following error: Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=~/Desktop prova.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib can you try .31-2 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.30
Hi! I tried the new version, but I obtain the following error message (with the verbose option): At the moment I have texshop installed, with the tex package of Gerben Wierda, I mean, not the fink tex intallation. Maybe this is useful to know. Thanks Libero Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ lilypond-book --output=out -V prova.tex lilypond-book (GNU LilyPond) 2.5.31 Opening pipe `kpsexpand \$TEXMF' Opening pipe `kpsewhich -expand-path=\$T1FONTS' Reading prova.tex... Opening filter `latex \nonstopmode \input /dev/stdin' Dissecting... Writing snippets... Processing... Invoking `lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905'GNU LilyPond 2.5.31 Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/snippet-map.ly' Parsing... Processing `/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly' Parsing... Interpreting music... [1] Preprocessing graphical objects... Calculating line breaks... [2]/Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2:32: In procedure module-lookup in expression (ly:parser-print-score p (ly:music-scorify m p)): /Volumes/scripta/Users/liberomureddu/Desktop/out/lily-1481342208.ly:2:32: unbound variable: output-classic-framework lilypond-book: warning: `lilypond' failed (status 2) (ignored) lilypond-book: error: Process lilypond --formats=ps --backend eps -I /Volumes/scripta/Users/liberomureddu/Desktop snippet-map.ly lily-1481342208 lily-867219905 exited unsuccessfully. Removing `prova.tex' Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1614, in ? main () File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 1597, in main ly.exit (1) File /Applications/LilyPond.app/Contents/Resources/share/lilypond/current/python/lilylib.py, line 132, in exit raise _ ('Exiting (%d)...') % i Exiting (1)... -- Original Message -- Date: Wed, 15 Jun 2005 17:14:53 +0200 From: Han-Wen Nienhuys [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: lilypond-user@gnu.org Subject: Re: lilypond-book problem 2.5.30 [EMAIL PROTECTED] wrote: Hi, after a crash of two months of my laptop, I am very happy to use again lilypond! And congratulation for the new installer, it is really easy and nice to install and use! I've just tried to use lilypond-book in 2.5.30 on mac os x 10.3.9, but I've received the following error: Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=~/Desktop prova.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib can you try .31-2 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.30
libero writes: Thanks, but still I obtain the same error message: Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib Thanks. This will be fixed in 2.5.30 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: lilypond-book problem 2.5.30
[EMAIL PROTECTED] wrote: Hi, after a crash of two months of my laptop, I am very happy to use again lilypond! And congratulation for the new installer, it is really easy and nice to install and use! I've just tried to use lilypond-book in 2.5.30 on mac os x 10.3.9, but I've received the following error: Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=~/Desktop prova.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib can you try .31-2 ? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.30
Thanks, but still I obtain the same error message: Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib Libero -- Original Message -- Date: Mon, 13 Jun 2005 16:50:39 -0700 From: Graham Percival [EMAIL PROTECTED] Subject: Re: lilypond-book problem 2.5.30 To: [EMAIL PROTECTED] Cc: lilypond-user@gnu.org On 13-Jun-05, at 5:08 AM, [EMAIL PROTECTED] wrote: The file I used is from the manual: Sorry, you currently need to add one line to this example (see below). This will be fixed Very Soon Now (tm). \documentclass[]{article} \usepackage{graphics} \begin{document} Normal LaTeX text. \begin{lilypond} \relative c?? { a4 b c d } \end{lilypond} More LaTeX text. \begin{lilypond} \relative c?? { d4 c b a } \end{lilypond} \end{document} Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-book problem 2.5.30
Hi, after a crash of two months of my laptop, I am very happy to use again lilypond! And congratulation for the new installer, it is really easy and nice to install and use! I've just tried to use lilypond-book in 2.5.30 on mac os x 10.3.9, but I've received the following error: Computer-di-Libero-Mureddu:~/Desktop liberomureddu$ /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book --output=~/Desktop prova.tex Traceback (most recent call last): File /Applications/LilyPond.app/Contents/Resources/bin/lilypond-book, line 60, in ? import lilylib as ly ImportError: No module named lilylib The file I used is from the manual: \documentclass[]{article} \begin{document} Normal LaTeX text. \begin{lilypond} \relative c?? { a4 b c d } \end{lilypond} More LaTeX text. \begin{lilypond} \relative c?? { d4 c b a } \end{lilypond} \end{document} Thanks again for your great job!!! Libero Mureddu ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem 2.5.30
On 13-Jun-05, at 5:08 AM, [EMAIL PROTECTED] wrote: The file I used is from the manual: Sorry, you currently need to add one line to this example (see below). This will be fixed Very Soon Now (tm). \documentclass[]{article} \usepackage{graphics} \begin{document} Normal LaTeX text. \begin{lilypond} \relative c?? { a4 b c d } \end{lilypond} More LaTeX text. \begin{lilypond} \relative c?? { d4 c b a } \end{lilypond} \end{document} Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Another lilypond-book problem
Hi all, I think I have the same problem as described by Laura Conrad (28 May; 3 June) on the lilypond.devel-list. Up to now no one answered this question. So I want to post it to this list: In my *.lytex file I played around with: \lilypondfile[quote,noindent,linewidth=170\mm]{Messe/GottMeinGott.ly} Or \lilypondfile{Messe/GottMeinGott.ly} ... But always with the same effect: The first two systems of a score are placed side by side instead of among each other. The second systems, needless to say, runs out of the page. The rest of each piece is ok. \version 2.5.27 Self-compiled on debian 2.4.27 Any idea? And many thanks in advance Georg Dummer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-book problem
Hi! I have three lilypond scores in three separate files. I am trying to make them into a book with the following lytex file: \begin {document} \lilypondfile {score-I.ly} \lilypondfile {score-II.ly} \lilypondfile {score-III.ly} \end {document} I then use the following command: lilypond-book --output=mybook -f latex mybook.lytex This runs smoothly and without error, however, when I run: latex mybook/mybook.tex I get the following error: ! LaTeX Error: The font size command \normalsize is not defined: there is probably something wrong with the class file. Any help would be appreciated. -- Regards, Jamie ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem
You are exactly to the point when you refer to the initialization files, which (at least in the version you use) are really only necessary when you want to run lilypond-book. I don't know Gentoo, but in most other Linux distibutions, the precompiled LilyPond packages install a file /etc/profile.d/lilypond.sh which means that it automatically is sourced as soon as you open a new shell (if you use bash). If you compiled LilyPond yourself, please make sure that you install this file using cp buildscripts/out/lilypond-profile /etc/profile.d/lilypond.sh Don't try to set TEXMF yourself, it's much better to use the solution already available in the lilypond profile file. /Mats Anne Defaweux wrote: Hello, I've installed version 2.0.3 (I could not get de most recent one to work at all). This version succeeds in building ps and pdf partition.. however, I have a problem with the lilypond-book option. When I use the lilypond command, it seems to work nicely (as you can see from output 1) However, when I try to compile the output with latex, it does not find any of the lilponds defs (see output 2) and when giving the path to the defs, it crashes further on the fonts... It seems that latex does not know where to look. What should I do. Manually trying to set TEXMF does not do it: when I do the following: export TEXMF={/usr/share/lilypond/2.0.3,`kpsexpand \\$TEXMF`} I then have following value for TEXMF: bash-2.05b$ echo $TEXMF {/usr/share/lilypond/2.0.3, {/home/tazz/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf}} First, lilypond-book refuses to work, second, if I use previous output from lilypond book, and compile it with latex, I get a latex error (output 3) I know that there are initialisation files however, for the 2.0.3 version, it works without them (until the latex stuff) and with the other version, I never found out how to get them working. (I am running linux workstation - gentoo distribution) thanks for any help. Anne --- Output 1: bash-2.05b$ lilypond-book --outdir=out/ test.tex lilypond-book (GNU LilyPond) 2.0.3 Reading `/home/tazz/perso/music/test.tex' Running latex... Running usr... Now processing: `lily-2018454.ly' Parsing... Interpreting music...[8][11] Preprocessing graphical objects... Calculating line breaks... [3][6][9][11] paper output to `lily-2018454.tex'... Writing `out/test.latex' --- Output 2: bash-2.05b$ latex test.latex This is TeX, Version 3.14159 (Web2C 7.4.5) (./test.latex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def)) No file test.aux. (./lily-2018454.tex ! I can't find file `lilyponddefs'. l.33 \input lilyponddefs Please type another input file name: - output 3: bash-2.05b$ latex test.latex This is TeX, Version 3.14159 (Web2C 7.4.5) kpathsea: Running mktexfmt latex.fmt fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `latex.fmt'! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
lilypond-book problem
Hello, I've installed version 2.0.3 (I could not get de most recent one to work at all). This version succeeds in building ps and pdf partition.. however, I have a problem with the lilypond-book option. When I use the lilypond command, it seems to work nicely (as you can see from output 1) However, when I try to compile the output with latex, it does not find any of the lilponds defs (see output 2) and when giving the path to the defs, it crashes further on the fonts... It seems that latex does not know where to look. What should I do. Manually trying to set TEXMF does not do it: when I do the following: export TEXMF={/usr/share/lilypond/2.0.3,`kpsexpand \\$TEXMF`} I then have following value for TEXMF: bash-2.05b$ echo $TEXMF {/usr/share/lilypond/2.0.3, {/home/tazz/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf}} First, lilypond-book refuses to work, second, if I use previous output from lilypond book, and compile it with latex, I get a latex error (output 3) I know that there are initialisation files however, for the 2.0.3 version, it works without them (until the latex stuff) and with the other version, I never found out how to get them working. (I am running linux workstation - gentoo distribution) thanks for any help. Anne --- Output 1: bash-2.05b$ lilypond-book --outdir=out/ test.tex lilypond-book (GNU LilyPond) 2.0.3 Reading `/home/tazz/perso/music/test.tex' Running latex... Running usr... Now processing: `lily-2018454.ly' Parsing... Interpreting music...[8][11] Preprocessing graphical objects... Calculating line breaks... [3][6][9][11] paper output to `lily-2018454.tex'... Writing `out/test.latex' --- Output 2: bash-2.05b$ latex test.latex This is TeX, Version 3.14159 (Web2C 7.4.5) (./test.latex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/graphics/graphics.sty (/usr/share/texmf/tex/latex/graphics/trig.sty) (/usr/share/texmf/tex/latex/config/graphics.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def)) No file test.aux. (./lily-2018454.tex ! I can't find file `lilyponddefs'. l.33 \input lilyponddefs Please type another input file name: - output 3: bash-2.05b$ latex test.latex This is TeX, Version 3.14159 (Web2C 7.4.5) kpathsea: Running mktexfmt latex.fmt fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `latex.fmt'! -- Anne Defaweux [EMAIL PROTECTED] VUB signature.asc Description: This is a digitally signed message part ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book problem
Laura Conrad [EMAIL PROTECTED] writes: The attached file works if I run ly2dvi, but not if I use it with lilypond-file and the attached lytex file. The error message I get from lilypond-book is: Me too. Try this patch (although I'm not sure why this fails, python 1.5.2 has all kinds of pickynesses wrt regexps). Jan. --- lilypond-book.py.~1.39.~Thu Apr 11 11:14:31 2002 +++ lilypond-book.pyMon Apr 22 17:09:54 2002 @@ -476,7 +476,7 @@ re_dict = { 'preamble-end': r'(?Pcode\\begin{document})', 'verbatim': r(?s)(?Pcode\\begin{verbatim}.*?\\end{verbatim}), 'verb': r(?Pcode\\verb(?Pdel.).*?(?P=del)), - 'lilypond-file': r'(?m)^[^%\n]*?(?Pmatch\\lilypondfile\s*(\[(?Poptions.*?)\])?\s*\{(?Pfilename.+)})', + 'lilypond-file': +r'(?m)^[^%\n]*?(?Pmatch\\lilypondfile\s*(\[(?Poptions.*?)\])?\s*{(Pfilename[^}]+)})', 'lilypond' : r'(?m)^[^%\n]*?(?Pmatch\\lilypond\s*(\[(?Poptions.*?)\])?\s*{(?Pcode.*?)})', 'lilypond-block': r(?sm)^[^%\n]*?(?Pmatch\\begin\s*(\[(?Poptions.*?)\])?\s*{lilypond}(?Pcode.*?)\\end{lilypond}), 'def-post-re': r\\def\\postLilypondExample, -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
lilypond-book problem
The attached file works if I run ly2dvi, but not if I use it with lilypond-file and the attached lytex file. The error message I get from lilypond-book is: lilypond-book testscore.lytex lilypond-book (GNU LilyPond) 1.4.12 extra_mem_top=100 extra_mem_bottom=100 pool_size=25 Reading `/home/lconrad/music/renband/walk2002/testscore.lytex' Reading `/home/lconrad/music/renband/walk2002/susato-1.ly' Traceback (most recent call last): File /usr/local/bin/lilypond-book, line 1365, in ? do_file(input_filename) File /usr/local/bin/lilypond-book, line 1271, in do_file chunks = chop_chunks(chunks, 'lilypond-block', make_lilypond_block, 1) File /usr/local/bin/lilypond-book, line 827, in chop_chunks m = get_re (re_name).search (str) RuntimeError: maximum recursion limit exceeded make: *** [testscore.dvi] Error 1 susato-1.ly Description: Binary data testscore.lytex Description: Binary data -- Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ ) (617) 661-8097 fax: (801) 365-6574 233 Broadway, Cambridge, MA 02139