Re: running lilypond
Good morning Jean: Thank you for the quick answer. I have not used the terminal to run lilypond. I have been using frecobaldi v3.1 and lilypond v16. I was hoping to use the .ly file to run terminal lilypond. I will not learn using terminal lilypond. If a .ly file cannot run terminal lilypond, it is fine with me. BTW I am running window 10 Ming (Lyndon) Tsang On Fri, May 24, 2024 at 7:36 AM Jean Abou Samra wrote: > Le vendredi 24 mai 2024 à 07:23 -0600, ming tsang a écrit : > > I try to run the following code as lilypond .ly > > \version "2.24.3" > > lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly > > This looks like a command that you should run in a terminal, not LilyPond > syntax. > > In Frescobaldi, you can add the "-dbackend=eps -dno-gs-load-fonts > -dinclude-eps-fonts" > arguments in the "Additional command line options" box inside "LilyPond > > Engrave (custom)…". > > > -- ming (lyndon) tsang
Re: running lilypond
Le vendredi 24 mai 2024 à 07:23 -0600, ming tsang a écrit : > I try to run the following code as lilypond .ly > \version "2.24.3" > lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly This looks like a command that you should run in a terminal, not LilyPond syntax. In Frescobaldi, you can add the "-dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts" arguments in the "Additional command line options" box inside "LilyPond > Engrave (custom)…". signature.asc Description: This is a digitally signed message part
running lilypond
Hi lilyponders, I try to run the following code as lilypond .ly \version "2.24.3" lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly And I got the following in log file with Exited with return code 1. Starting lilypond.exe 2.24.3 [Untitled]... Processing `C:/Users/Owner/AppData/Local/Temp/frescobaldi-hw7wj9lu/tmpw7z7ix8h/ document.ly' Parsing... C:/Users/Owner/AppData/Local/Temp/frescobaldi-hw7wj9lu/tmpw7z7ix8h/document.ly:3:10 <0>: error: syntax error, unexpected '-', expecting '.' or '=' lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly C:/Users/Owner/AppData/Local/Temp/frescobaldi-hw7wj9lu/tmpw7z7ix8h/document.ly:3:24 <1>: error: syntax error, unexpected '-' lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile.ly C:/Users/Owner/AppData/Local/Temp/frescobaldi-hw7wj9lu/tmpw7z7ix8h/document.ly:3:70 <2>: error: syntax error, unexpected end of input, expecting '=' lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts myfile. ly fatal error: failed files: "C:\\Users\\Owner\\AppData\\Local\\Temp\\frescobaldi-hw7wj9lu\\tmpw7z7ix8h\\ document.ly" Exited with return code 1. -- Thank you for the help, ming (lyndon) tsang
Re: Error when running LilyPond on Windows
Le 27/10/2022 à 20:54, Jakub a écrit : Hi Jean, This is my first time using the library, so I don't know if it worked in the past. I am running Windows 8.1 Testing out the latest unstable version, it seems to work like a charm. Thank you very much! I would guess that Windows 8 explains it — few people use this OS, so LilyPond is not very well-tested on it. If you use Windows 10, the 2.22 version should (normally) run without problems. Best, Jean
Re: Error when running LilyPond on Windows
Hi Jean, This is my first time using the library, so I don't know if it worked in the past. I am running Windows 8.1 Testing out the latest unstable version, it seems to work like a charm. Thank you very much! Jakub On Tue, 25 Oct 2022 at 20:56, Jean Abou Samra wrote: > Le 25/10/2022 à 19:25, Jakub a écrit : > > When I merely try to run lilypond, whether it be from the command line > > or from the actual desktop icon, I am greeted with the following error: > > --- > > GNU LilyPond 2.22.2 > > Fontconfig error: Cannot load default config file > > terminate called after throwing an instance of 'std::logic_error' > > what(): basic_string::_S_construct null not valid > > > > This application has requested the Runtime to terminate it in an > > unusual way. > > Please contact the application's support team for more information. > > > > I have no clue how to fix this or what it even could mean. > > Any ideas? > > > > That is strange. What version of Windows are you using? Did it work in > the past? Can you try the current unstable version, 2.23.80 > (https://lilypond.org/development.html)? > > Best, > Jean > >
Re: Error when running LilyPond on Windows
Le 25/10/2022 à 19:25, Jakub a écrit : When I merely try to run lilypond, whether it be from the command line or from the actual desktop icon, I am greeted with the following error: --- GNU LilyPond 2.22.2 Fontconfig error: Cannot load default config file terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I have no clue how to fix this or what it even could mean. Any ideas? That is strange. What version of Windows are you using? Did it work in the past? Can you try the current unstable version, 2.23.80 (https://lilypond.org/development.html)? Best, Jean
Error when running LilyPond on Windows
When I merely try to run lilypond, whether it be from the command line or from the actual desktop icon, I am greeted with the following error: --- GNU LilyPond 2.22.2 Fontconfig error: Cannot load default config file terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I have no clue how to fix this or what it even could mean. Any ideas?
Re: Running LilyPond on Amazon Linux 2
I know I’m not the first to run LilyPond in a Lambda function. For instance, LilyBin (http://lilybin.com <http://lilybin.com/>) has been using Lambda and S3 for a while to power their website. I took some cues from their site (which is open source on Github), but ultimately went my own route and made a custom Lambda function for my purposes. I have started a website focused on engraving hymns for church music called Doxology. https://doxology.app <https://doxology.app/>. It allows users to generate custom sheet music for hymns, whether it be for piano, guitar, non-C instruments, or for projection. I use LilyPond to make the engravings which are customizable and transposable. The music files and dependencies (including LilyPond itself) are part of my Lambda function. The user customizations (ie. key signature, formatting, etc.) are fed into a Scheme evaluation that customizes the main template file for the song, if that makes sense. Since generating a score in LilyPond takes a good bit of bandwidth, I decided to offload that portion of my site to the cloud. I estimate I may be able to generate up to 100,000 hymn scores a month without exceeding the free tier. I’m still in “beta” so we’ll see if it really works over time. But so far, I’m happy with it. > On Jan 14, 2020, at 1:14 PM, Saul Tobin wrote: > > I'm curious to know about your use case/workflow for running Lilypond in AWS > Lambda. Seems interesting. > > Saul > > On Tue, Jan 14, 2020, 6:34 AM Peter Anglea <mailto:pe...@peteranglea.com>> wrote: > I think I got it fixed… recording this here for anyone else who stumbles upon > the same issue as I did. > > I downloaded an RPM containing libcrypt.so.1, extracted the file, and put it > inside LilyPond’s /usr/lib/ directory. I made sure to include the LilyPond > directory as part of the include path for my function. Probably not the best > long-term fix… if I update LilyPond in the future, I’ll need to remember to > re-add libcrypt... but for now it works and my testing has generated scores > without issue. > > It should be noted that I am not a Linux pro, and am a little out of my depth > on this one. So if there’s a more obvious fix, I’d love to hear about it. > > > On Jan 11, 2020, at 12:07 PM, Peter Anglea > <mailto:pe...@peteranglea.com>> wrote: > > > > I’ve been running LilyPond on AWS Lambda for some time now, but recently > > have been forced to upgrade my runtime from Node 8.x to Node 12.x due to > > Node 8.x becoming deprecated. However, in my testing, LilyPond does not > > work in either the Node 10.x or Node 12.x runtimes. I get the following > > error: > > > > lilypond: error while loading shared libraries: libcrypt.so.1: cannot open > > shared object file: No such file or directory > > > > Note: I have been using the binary for GNU/Linux 64: LilyPond 2.19.83-1 > > > > From what I can tell, the difference is that AWS Lambda’s Node 12.x runtime > > uses the “Amazon Linux 2” distro instead of regular “Amazon Linux” distro > > used with the Node 8.x runtime. Also, my research seems to indicate the > > error is related to Amazon Linux 2 using a different version of openssl > > from before… but that’s about the limit of what I understand. > > > > Is anyone else successfully running LilyPond on AWS Lambda Node 12.x? Is > > there another binary better suited to that particular distro? Any other > > suggestions for overcoming the error message above? > > > > Thanks in advance for any help. I’m kinda stuck here, but this mailing list > > has proven helpful many times, so… fingers crossed! :) > >
Re: Running LilyPond on Amazon Linux 2
I'm curious to know about your use case/workflow for running Lilypond in AWS Lambda. Seems interesting. Saul On Tue, Jan 14, 2020, 6:34 AM Peter Anglea wrote: > I think I got it fixed… recording this here for anyone else who stumbles > upon the same issue as I did. > > I downloaded an RPM containing libcrypt.so.1, extracted the file, and put > it inside LilyPond’s /usr/lib/ directory. I made sure to include the > LilyPond directory as part of the include path for my function. Probably > not the best long-term fix… if I update LilyPond in the future, I’ll need > to remember to re-add libcrypt... but for now it works and my testing has > generated scores without issue. > > It should be noted that I am not a Linux pro, and am a little out of my > depth on this one. So if there’s a more obvious fix, I’d love to hear about > it. > > > On Jan 11, 2020, at 12:07 PM, Peter Anglea > wrote: > > > > I’ve been running LilyPond on AWS Lambda for some time now, but recently > have been forced to upgrade my runtime from Node 8.x to Node 12.x due to > Node 8.x becoming deprecated. However, in my testing, LilyPond does not > work in either the Node 10.x or Node 12.x runtimes. I get the following > error: > > > > lilypond: error while loading shared libraries: libcrypt.so.1: cannot > open shared object file: No such file or directory > > > > Note: I have been using the binary for GNU/Linux 64: LilyPond 2.19.83-1 > > > > From what I can tell, the difference is that AWS Lambda’s Node 12.x > runtime uses the “Amazon Linux 2” distro instead of regular “Amazon Linux” > distro used with the Node 8.x runtime. Also, my research seems to indicate > the error is related to Amazon Linux 2 using a different version of openssl > from before… but that’s about the limit of what I understand. > > > > Is anyone else successfully running LilyPond on AWS Lambda Node 12.x? Is > there another binary better suited to that particular distro? Any other > suggestions for overcoming the error message above? > > > > Thanks in advance for any help. I’m kinda stuck here, but this mailing > list has proven helpful many times, so… fingers crossed! :) > > >
Re: Running LilyPond on Amazon Linux 2
I think I got it fixed… recording this here for anyone else who stumbles upon the same issue as I did. I downloaded an RPM containing libcrypt.so.1, extracted the file, and put it inside LilyPond’s /usr/lib/ directory. I made sure to include the LilyPond directory as part of the include path for my function. Probably not the best long-term fix… if I update LilyPond in the future, I’ll need to remember to re-add libcrypt... but for now it works and my testing has generated scores without issue. It should be noted that I am not a Linux pro, and am a little out of my depth on this one. So if there’s a more obvious fix, I’d love to hear about it. > On Jan 11, 2020, at 12:07 PM, Peter Anglea wrote: > > I’ve been running LilyPond on AWS Lambda for some time now, but recently have > been forced to upgrade my runtime from Node 8.x to Node 12.x due to Node 8.x > becoming deprecated. However, in my testing, LilyPond does not work in either > the Node 10.x or Node 12.x runtimes. I get the following error: > > lilypond: error while loading shared libraries: libcrypt.so.1: cannot open > shared object file: No such file or directory > > Note: I have been using the binary for GNU/Linux 64: LilyPond 2.19.83-1 > > From what I can tell, the difference is that AWS Lambda’s Node 12.x runtime > uses the “Amazon Linux 2” distro instead of regular “Amazon Linux” distro > used with the Node 8.x runtime. Also, my research seems to indicate the error > is related to Amazon Linux 2 using a different version of openssl from > before… but that’s about the limit of what I understand. > > Is anyone else successfully running LilyPond on AWS Lambda Node 12.x? Is > there another binary better suited to that particular distro? Any other > suggestions for overcoming the error message above? > > Thanks in advance for any help. I’m kinda stuck here, but this mailing list > has proven helpful many times, so… fingers crossed! :)
Running LilyPond on Amazon Linux 2
I’ve been running LilyPond on AWS Lambda for some time now, but recently have been forced to upgrade my runtime from Node 8.x to Node 12.x due to Node 8.x becoming deprecated. However, in my testing, LilyPond does not work in either the Node 10.x or Node 12.x runtimes. I get the following error: lilypond: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory Note: I have been using the binary for GNU/Linux 64: LilyPond 2.19.83-1 From what I can tell, the difference is that AWS Lambda’s Node 12.x runtime uses the “Amazon Linux 2” distro instead of regular “Amazon Linux” distro used with the Node 8.x runtime. Also, my research seems to indicate the error is related to Amazon Linux 2 using a different version of openssl from before… but that’s about the limit of what I understand. Is anyone else successfully running LilyPond on AWS Lambda Node 12.x? Is there another binary better suited to that particular distro? Any other suggestions for overcoming the error message above? Thanks in advance for any help. I’m kinda stuck here, but this mailing list has proven helpful many times, so… fingers crossed! :)
Weblily.net now running Lilypond 2.19.40
On Weblily.net you can run Lilypond from within your browser without any local intallation. After quite some time I've found time and energy to give Weblily.net an update. The new features are * Now running Lilypond 2.19.40 I've changed my setup, so that updates to Weblily.net with new upcoming versions of Lilypond will take less effort than before. So I hope to be able to follow major updates in the future more closely. All those that asked for it: You have been listened to. * Improved Stability via scorio's Lilypond engine Weblily usees the Lilypond engine of scorio.com <http://www.scorio.com>. The scorio engine runs Lilypond considerably faster and is much more stable. So hopefully you will not see "Server Overloaded" messages ever again. However, be prepared to see other messages for what reaseon so ever. I keep working. * Audio plaback for all Browsers via MIDI.js The playback option is now working again with all(?) current browsers. I integrated the Javascript library MIDI.js <http://www.midijs.net> that takes advantage of sound synthesis capabilities built into modern browsers. So no plugins or add-ons are needed anymore. Keep enjoying Lilypond on the web with www.weblily.net <http://www.weblily.net>.Thanks to all who gave their feedback and supported my efforts. Weblily ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GUILE error when running lilypond-book
Julien Rioux lyx.org> writes: > >> when running lilypond-book I get the error: > >> > >> lilypond_test.lytex:16:44: error: GUILE signaled an error for the > >> expressionbeginning here > >> \once \override BreathingSign.stencil = # > >> ly:breathing-sign::divisio-maior > >> Unbound variable: ly:breathing-sign::divisio-maior > >> > >> > > > > Are you using -dsafe ? That only enables a subset of C++-defined > > commands which is rather spotty (to say the least). > > > > The -dsafe argument is likely the reason. If this is compiled by LyX as > the provided sample document indicates, then the default configuration > will use the -dsafe argument. The call to lilypond-book (and lilypond) > can be configured in LyX' converters config dialog, and the -dsafe > argument removed. > Yes, I'm using lyx with the default setting which uses the -dsafe (or --safe) argument in the call to lilypond-book. I removed the -dsafe argument and things are working fine. Thanks a lot! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GUILE error when running lilypond-book
On 25/04/2016 4:12 PM, David Kastrup wrote: Matt <matthias.wi...@gmx.net> writes: Hi, when running lilypond-book I get the error: lilypond_test.lytex:16:44: error: GUILE signaled an error for the expressionbeginning here \once \override BreathingSign.stencil = # ly:breathing-sign::divisio-maior Unbound variable: ly:breathing-sign::divisio-maior When running the score separately in lilypond I don't get the error. So the score seems to be ok, but lilypond-book has issues with it. It looks like that the macro definition divisioMajor makes issue: divisioMaior = { \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior \once \override BreathingSign.Y-offset = #0 \breathe } I'm running lilypond 2.18.2. Any hints would be appreciated. Are you using -dsafe ? That only enables a subset of C++-defined commands which is rather spotty (to say the least). The -dsafe argument is likely the reason. If this is compiled by LyX as the provided sample document indicates, then the default configuration will use the -dsafe argument. The call to lilypond-book (and lilypond) can be configured in LyX' converters config dialog, and the -dsafe argument removed. -- Julien ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GUILE error when running lilypond-book
David Kastrup <d...@gnu.org> writes: > Matt <matthias.wi...@gmx.net> writes: >> >> I'm running lilypond 2.18.2. >> >> Any hints would be appreciated. > > Are you using -dsafe ? That only enables a subset of C++-defined > commands which is rather spotty (to say the least). > > Other than that, ly:breathing-sign::divisio-maior should have existed > for eternities, so unless there is some other scoping problem, we'd need > to get more info than this. Oh, and misspellings of ly:breathing-sign::divisio-maior could also be at fault. The most likely cause would be a hyphen that has been replaced by a "soft hyphen" or other similar-looking character with a different character code. Or a non-breaking space at the end of name. Stuff like that. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GUILE error when running lilypond-book
Matt <matthias.wi...@gmx.net> writes: > Hi, > > when running lilypond-book I get the error: > > lilypond_test.lytex:16:44: error: GUILE signaled an error for the > expressionbeginning here > \once \override BreathingSign.stencil = # > ly:breathing-sign::divisio-maior > Unbound variable: ly:breathing-sign::divisio-maior > > > When running the score separately in lilypond I don't get the error. So the > score seems to be ok, but lilypond-book has issues with it. > > It looks like that the macro definition divisioMajor makes issue: > > divisioMaior = { > \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior > \once \override BreathingSign.Y-offset = #0 > \breathe > } > > > I'm running lilypond 2.18.2. > > Any hints would be appreciated. Are you using -dsafe ? That only enables a subset of C++-defined commands which is rather spotty (to say the least). Other than that, ly:breathing-sign::divisio-maior should have existed for eternities, so unless there is some other scoping problem, we'd need to get more info that this. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: GUILE error when running lilypond-book
Matt gmx.net> writes: > PS: system is claiming that I would top-post. So I'm adding some lines of > text at the very end. And deleting the quote of lilypond_test.lytex in the > hope that the message is now accepted. here is lilypond_test.lytex: %% LyX 2.1.2 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[english]{scrartcl} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage[a5paper]{geometry} \geometry{verbose,tmargin=1.5cm,bmargin=1.5cm,lmargin=1cm,rmargin=1.5cm, footskip=0.5cm} \usepackage{babel} \begin{document} \title{Test} \begin{lilypond}[staffsize=15] divisioMaior = { \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior \once \override BreathingSign.Y-offset = #0 \breathe } << \new Staff \with { \remove "Bar_engraver" \remove "Time_signature_engraver" } { \relative c' { \hide Staff.Stem \clef violin \key f \major f4 g a g a bes a \divisioMaior a a a a g a g f \divisioMaior f g a g \divisioMaior a bes a a g f \divisioMaior g f g g f g a g \divisioMaior f g a g a bes a a g f \divisioMaior } } \addlyrics { t t } >> \end{lilypond} \end{document} ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
GUILE error when running lilypond-book
Hi, when running lilypond-book I get the error: lilypond_test.lytex:16:44: error: GUILE signaled an error for the expressionbeginning here \once \override BreathingSign.stencil = # ly:breathing-sign::divisio-maior Unbound variable: ly:breathing-sign::divisio-maior When running the score separately in lilypond I don't get the error. So the score seems to be ok, but lilypond-book has issues with it. It looks like that the macro definition divisioMajor makes issue: divisioMaior = { \once \override BreathingSign.stencil = #ly:breathing-sign::divisio-maior \once \override BreathingSign.Y-offset = #0 \breathe } I'm running lilypond 2.18.2. Any hints would be appreciated. PS: system is claiming that I would top-post. So I'm adding some lines of text at the very end. And deleting the quote of lilypond_test.lytex in the hope that the message is now accepted. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Running Lilypond from Debian in a virtual machine via Qemu
Andrew, Thank you very much for the tip! I just installed VirtualBox and Lilypond worked instantly!Qemu is actually a good virtual machine and I have been using it for years with no problems at all, so I never suspected that there was some problem with interaction between Qemu and Lilypond but evidently there is! Since my host machine is Windows 7, and the guest machine is Debian I can't use the kqemu version which I believe is faster, but this seems more like some bug in the way the virtual machine interacts with some software within Lilypond. i.e. Other programs have no issues including Ghostview and Latex, and ProofPower. I appreciate you taking the time to make that suggestion! -Dave ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Debian in a virtual machine via Qemu
Hi David, I have zero experience of Qemu but it appears to be quite a low level sort of virtual machine environment. Could you consider running Virtualbox instead? Works very nicely under Windows with Debian, and lilypond runs just fine in that world. You certainly should not be absolutely requiring such large amounts of memory of necessity. I’d suggest this is some sort of issue with the Qemu memory management under Windows, as a gut feeling. Andrew On 3 August 2015 at 06:11:26, David Topham (dtop...@gmail.com) wrote: I upped the swap file to 3G and tried reducing the number of fonts by using this function: ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Running Lilypond from Debian in a virtual machine via Qemu
I upped the swap file to 3G and tried reducing the number of fonts by using this function: make-pango-font-tree That got it past the font loading, but still while processing uses up all memory and finally aborts with bad_alloc error. Do you have any suggestions of how to debug this requirement for so much memory? \paper { #(define fonts (make-pango-font-tree Times New Roman Nimbus Sans Luxi Mono (/ staff-height pt 20))) } \relative c'{ c1-\markup { roman, \sans sans, \typewriter typewriter. } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Running Lilypond from Debian in a virtual machine via Qemu
I have used Lilypond successfully on Windows quite a few times, and want to try it in Linux. So I booted up a virtual machine using QEMU and tried to compile the basic test example: { c d e f } but to my surprise it dies after a few minutes with error: preproccessing graphical objects...killed I turned on the verbose flag and see that it is hanging on (loading?) emmentaler-23 I used standard Debian installer (2.18.2) and reinstalled, then even tried getting the install shell script from Lilypond 2.18.1 All seemed successful, but it fails I watched the memory usage as it chugged away and saw that it ran out of RAM (1GB) after a couple of minutes then gave up. I tried adding (virtual) swap file of 2GB, but it used up all that space, then same error message. Any suggestions on how I can debug this? What information would I need to see why it hangs on that OTF font? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
David Kastrup d...@gnu.org writes: lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_file chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File C:\Program Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py, line 815, in __init__ global_options.include_path, global_options.original_dir)).read () File C:\Program Files\LilyPond\usr\share\lilypond\current\python\book_base.py, line 27, in find_file exit (1) TypeError: 'str' object is not callable What happens if you just call python and type exit(1) at its prompt? Any other takers using Windows? Is this version of Python something we distribute/install? Is the result different for import sys sys.exit(1) ? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Tuesday, February 25, 2014 10:09 AM To: Daniel Rosen Cc: Phil Holmes; LilyPond User Group Subject: Re: Errors running lilypond-book Since I do not have an idea about the anatomy of a Windows installation, we will depend on a) you figuring out what other copy of book_latex.py you should rather have patched b) someone else figuring this out c) a release of 2.19.3 after which we'll get more definite feedback. -- David Kastrup I've just downloaded 2.19.3 and tried again, and while the error output no longer mentions TEXINPUTS, most of the text remains the same (I've attached my original bug report for convenient comparison, and once again redacted my username from the file path): c:\Users\...\Desktop\Downloadslilypond-book --output=out --pdf lilybook.lytex lilypond-book.py (GNU LilyPond) 2.19.3 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpi8u3bh.tex' to detect default page settings. Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_file chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File C:\Program Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py, line 815, in __init__ global_options.include_path, global_options.original_dir)).read () File C:\Program Files\LilyPond\usr\share\lilypond\current\python\book_base.py, line 27, in find_file exit (1) TypeError: 'str' object is not callable ---BeginMessage--- I'm trying to follow the tutorial at http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document; I run Windows 7 x86. When I run the command it tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I get (I've redacted my username from the temp file path): lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil e chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t oplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable How do I get this to work? DR ---End Message--- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Daniel Rosen drose...@gmail.com writes: -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Tuesday, February 25, 2014 10:09 AM To: Daniel Rosen Cc: Phil Holmes; LilyPond User Group Subject: Re: Errors running lilypond-book Since I do not have an idea about the anatomy of a Windows installation, we will depend on a) you figuring out what other copy of book_latex.py you should rather have patched b) someone else figuring this out c) a release of 2.19.3 after which we'll get more definite feedback. I've just downloaded 2.19.3 and tried again, and while the error output no longer mentions TEXINPUTS, most of the text remains the same (I've attached my original bug report for convenient comparison, and once again redacted my username from the file path): c:\Users\...\Desktop\Downloadslilypond-book --output=out --pdf lilybook.lytex lilypond-book.py (GNU LilyPond) 2.19.3 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpi8u3bh.tex' to detect default page settings. Dissecting... Good: the page size detection seems to work now. lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_file chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File C:\Program Files\LilyPond\usr\share\lilypond\current\python\book_snippets.py, line 815, in __init__ global_options.include_path, global_options.original_dir)).read () File C:\Program Files\LilyPond\usr\share\lilypond\current\python\book_base.py, line 27, in find_file exit (1) TypeError: 'str' object is not callable What happens if you just call python and type exit(1) at its prompt? At any rate, you are apparently trying to typeset a file screech-and-boink.ly that is not in your search path. Apart from exit seemingly going haywire on your system, the problem is the absence of screech-and-boink.ly. What does your lilybook.lytex look like? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Tuesday, March 04, 2014 12:35 PM To: Daniel Rosen Cc: LilyPond User Group Subject: Re: Errors running lilypond-book At any rate, you are apparently trying to typeset a file screech-and-boink.ly that is not in your search path. Apart from exit seemingly going haywire on your system, the problem is the absence of screech-and-boink.ly. What does your lilybook.lytex look like? -- David Kastrup Aha, I figured it out. I copied lilybook.lytex directly from http://www.lilypond.org/doc/v2.19/Documentation/usage/an-example-of-a-musicological-document, but I overlooked these lines: (If needed, replace @file{screech-and-boink.ly} by any @file{.ly} file you put in the same directory as this file.) I did so, and it works now. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
- Original Message - From: Daniel Rosen drose...@gmail.com To: Phil Holmes m...@philholmes.net Sent: Monday, February 24, 2014 11:49 PM Subject: RE: Errors running lilypond-book -Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Monday, February 24, 2014 9:16 AM To: Daniel Rosen; David Kastrup Cc: bug-lilyp...@gnu.org; lilypond-user@gnu.org Subject: Re: Errors running lilypond-book Go to https://codereview.appspot.com/64380044 and click on python/book_latex.py This will show you a difference between the old version of the file and the proposed version. Edit bin/book_latex.py , adding the lines with + on the left and removing those with - -- Phil Holmes Done. Now what? Running lilypond-book again still yields errors. lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpsw8wzn.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_file chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable DR == Please remember always to reply-all: I'm no expert on how -book calculates line width. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Tuesday, February 25, 2014 3:35 AM To: Daniel Rosen; LilyPond User Group Subject: Re: Errors running lilypond-book - Original Message - From: Daniel Rosen drose...@gmail.com To: Phil Holmes m...@philholmes.net Sent: Monday, February 24, 2014 11:49 PM Subject: RE: Errors running lilypond-book -Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Monday, February 24, 2014 9:16 AM To: Daniel Rosen; David Kastrup Cc: bug-lilyp...@gnu.org; lilypond-user@gnu.org Subject: Re: Errors running lilypond-book Go to https://codereview.appspot.com/64380044 and click on python/book_latex.py This will show you a difference between the old version of the file and the proposed version. Edit bin/book_latex.py , adding the lines with + on the left and removing those with - -- Phil Holmes Done. Now what? Running lilypond-book again still yields errors. lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpsw8wzn.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_file chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable DR == Please remember always to reply-all Whoops, my mistake. I'm no expert on how -book calculates line width. -- Phil Holmes Then I'm confused as to why you had me update bin/book_latex.py at all. The output above is exactly the same as what I originally reported: http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
- Original Message - From: Daniel Rosen drose...@gmail.com To: Phil Holmes m...@philholmes.net; LilyPond User Group lilypond-user@gnu.org Sent: Tuesday, February 25, 2014 2:36 PM Subject: RE: Errors running lilypond-book -Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Tuesday, February 25, 2014 3:35 AM To: Daniel Rosen; LilyPond User Group Subject: Re: Errors running lilypond-book - Original Message - From: Daniel Rosen drose...@gmail.com To: Phil Holmes m...@philholmes.net Sent: Monday, February 24, 2014 11:49 PM Subject: RE: Errors running lilypond-book -Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Monday, February 24, 2014 9:16 AM To: Daniel Rosen; David Kastrup Cc: bug-lilyp...@gnu.org; lilypond-user@gnu.org Subject: Re: Errors running lilypond-book Go to https://codereview.appspot.com/64380044 and click on python/book_latex.py This will show you a difference between the old version of the file and the proposed version. Edit bin/book_latex.py , adding the lines with + on the left and removing those with - -- Phil Holmes Done. Now what? Running lilypond-book again still yields errors. lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpsw8wzn.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_file chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable DR == Please remember always to reply-all Whoops, my mistake. I'm no expert on how -book calculates line width. -- Phil Holmes Then I'm confused as to why you had me update bin/book_latex.py at all. The output above is exactly the same as what I originally reported: http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html DR = Because other developers are. I was talking you through how it might be possible for you to provide a testing point for one of them. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Tuesday, February 25, 2014 9:50 AM To: Daniel Rosen; LilyPond User Group Subject: Re: Errors running lilypond-book Then I'm confused as to why you had me update bin/book_latex.py at all. The output above is exactly the same as what I originally reported: http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html DR = Because other developers are. I was talking you through how it might be possible for you to provide a testing point for one of them. -- Phil Holmes So does that mean that I can tell David I've tested his patch and it doesn't work for me? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Phil Holmes m...@philholmes.net writes: proposed version. Edit bin/book_latex.py , adding the lines with File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_toplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ This would suggest that we are not talking about bin/book_latex.py but rather about something like out/book_latex.ly regarding which version is found from the search path. I'm no expert on how -book calculates line width. Then I'm confused as to why you had me update bin/book_latex.py at all. The output above is exactly the same as what I originally reported: http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html Yes, and it very much does not look like your change affected any file that is actually getting used by Python. Since I don't have a Windows system, my own directory structure is different here. It's probably worth mentioning that the followup errors here don't exactly seem like the most user friendly thing either. Because other developers are. I was talking you through how it might be possible for you to provide a testing point for one of them. Well, it would appear that we should aim to put out 2.19.3 next weekend. It will contain the fix and then we can hopefully get feedback on the actual installation rather than a botched attempt of patching the correct file. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Daniel Rosen drose...@gmail.com writes: -Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Tuesday, February 25, 2014 9:50 AM To: Daniel Rosen; LilyPond User Group Subject: Re: Errors running lilypond-book Then I'm confused as to why you had me update bin/book_latex.py at all. The output above is exactly the same as what I originally reported: http://lists.gnu.org/archive/html/lilypond-user/2014-01/msg00452.html DR = Because other developers are. I was talking you through how it might be possible for you to provide a testing point for one of them. So does that mean that I can tell David I've tested his patch and it doesn't work for me? I'm pretty sure that you did not test this patch: your changes apparently were not picked up by your version of lilypond-book. While I won't rule out that the patch may carry problems of its own, it would be quite unlikely that it did not at least cause a different error message. Since I do not have an idea about the anatomy of a Windows installation, we will depend on a) you figuring out what other copy of book_latex.py you should rather have patched b) someone else figuring this out c) a release of 2.19.3 after which we'll get more definite feedback. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: Phil Holmes [mailto:m...@philholmes.net] Sent: Sunday, February 23, 2014 10:28 AM To: David Kastrup Cc: Daniel Rosen; bug-lilyp...@gnu.org; lilypond-user@gnu.org Subject: Re: Errors running lilypond-book - Original Message - From: David Kastrup d...@gnu.org To: Phil Holmes m...@philholmes.net Cc: Daniel Rosen drose...@gmail.com; bug-lilyp...@gnu.org; lilypond-user@gnu.org Sent: Sunday, February 23, 2014 3:20 PM Subject: Re: Errors running lilypond-book Phil Holmes m...@philholmes.net writes: Original Message - From: Daniel Rosen drose...@gmail.com To: bug-lilyp...@gnu.org Cc: lilypond-user@gnu.org Sent: Sunday, February 23, 2014 2:29 PM Subject: RE: Errors running lilypond-book -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Saturday, February 22, 2014 3:08 PM To: Daniel Rosen Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org Subject: Re: Errors running lilypond-book Do you have the possibility to check whether the patch in URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix the problem for you? Are you asking whether I have the ability to compile LilyPond from source? If you are, the answer is no, I unfortunately do not. You don't need to - it would be good enough to manually edit book_latex.py in your bin directory. I am skeptical whether this would cause Python to recompile book_latex.pyc. -- David Kastrup Pretty certain it does: this is how I've experimented with the scripts in the past. -- Phil Holmes What changes need to be made, exactly? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
- Original Message - From: Daniel Rosen drose...@gmail.com What changes need to be made, exactly? DR Go to https://codereview.appspot.com/64380044 and click on python/book_latex.py This will show you a difference between the old version of the file and the proposed version. Edit bin/book_latex.py , adding the lines with + on the left and removing those with - -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Saturday, February 22, 2014 3:08 PM To: Daniel Rosen Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org Subject: Re: Errors running lilypond-book Do you have the possibility to check whether the patch in URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix the problem for you? -- David Kastrup Are you asking whether I have the ability to compile LilyPond from source? If you are, the answer is no, I unfortunately do not. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Original Message - From: Daniel Rosen drose...@gmail.com To: bug-lilyp...@gnu.org Cc: lilypond-user@gnu.org Sent: Sunday, February 23, 2014 2:29 PM Subject: RE: Errors running lilypond-book -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Saturday, February 22, 2014 3:08 PM To: Daniel Rosen Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org Subject: Re: Errors running lilypond-book Do you have the possibility to check whether the patch in URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix the problem for you? -- David Kastrup Are you asking whether I have the ability to compile LilyPond from source? If you are, the answer is no, I unfortunately do not. DR You don't need to - it would be good enough to manually edit book_latex.py in your bin directory. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Phil Holmes m...@philholmes.net writes: Original Message - From: Daniel Rosen drose...@gmail.com To: bug-lilyp...@gnu.org Cc: lilypond-user@gnu.org Sent: Sunday, February 23, 2014 2:29 PM Subject: RE: Errors running lilypond-book -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Saturday, February 22, 2014 3:08 PM To: Daniel Rosen Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org Subject: Re: Errors running lilypond-book Do you have the possibility to check whether the patch in URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix the problem for you? Are you asking whether I have the ability to compile LilyPond from source? If you are, the answer is no, I unfortunately do not. You don't need to - it would be good enough to manually edit book_latex.py in your bin directory. I am skeptical whether this would cause Python to recompile book_latex.pyc. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
- Original Message - From: David Kastrup d...@gnu.org To: Phil Holmes m...@philholmes.net Cc: Daniel Rosen drose...@gmail.com; bug-lilyp...@gnu.org; lilypond-user@gnu.org Sent: Sunday, February 23, 2014 3:20 PM Subject: Re: Errors running lilypond-book Phil Holmes m...@philholmes.net writes: Original Message - From: Daniel Rosen drose...@gmail.com To: bug-lilyp...@gnu.org Cc: lilypond-user@gnu.org Sent: Sunday, February 23, 2014 2:29 PM Subject: RE: Errors running lilypond-book -Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Saturday, February 22, 2014 3:08 PM To: Daniel Rosen Cc: lilypond-user@gnu.org; bug-lilyp...@gnu.org Subject: Re: Errors running lilypond-book Do you have the possibility to check whether the patch in URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix the problem for you? Are you asking whether I have the ability to compile LilyPond from source? If you are, the answer is no, I unfortunately do not. You don't need to - it would be good enough to manually edit book_latex.py in your bin directory. I am skeptical whether this would cause Python to recompile book_latex.pyc. -- David Kastrup Pretty certain it does: this is how I've experimented with the scripts in the past. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Cc and Reply-To to bug-lilypond. Daniel Rosen drose...@gmail.com writes: Daniel Rosen drose...@gmail.com writes: I'm trying to follow the tutorial at http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of- a-musicological-document; I run Windows 7 x86. When I run the command it tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I get (I've redacted my username from the temp file path): [...] I don't know what any of that means. :-P Is there a workaround? I do know how to define an environment variable, if that's what's necessary. Do you have the possibility to check whether the patch in URL:http://code.google.com/p/lilypond/issues/detail?id=3874 would fix the problem for you? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Errors running lilypond-book
-Original Message- From: David Kastrup [mailto:d...@gnu.org] Sent: Thursday, January 09, 2014 2:11 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Errors running lilypond-book Daniel Rosen drose...@gmail.com writes: I'm trying to follow the tutorial at http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of- a-musicological-document; I run Windows 7 x86. When I run the command it tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I get (I've redacted my username from the temp file path): lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil e chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t oplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable How do I get this to work? That would seem to be commit aefc5a4057a0a61f1d7e4411cc1c5061d9aea6b7 Author: Julien Rioux jri...@physics.utoronto.ca Date: Wed Jan 23 18:21:22 2013 -0500 lilypond-book: Textwidth detection with included file (issue 3136). Fix the automatic textwidth detection performed by lilypond-book. This failed for lytex files that include an external file in the preamble, when such file was compiled in an --output directory different from the working directory, because then the included file was missing. We use TEXINPUTS to let the latex process know where to look for input files. later improved by commit 39bf694ef4dedbb350960f7c37955c8fe9ce27e3 Author: David Kastrup d...@gnu.org Date: Sat Jul 27 16:44:54 2013 +0200 Issue 3467: lilypond-book 2.17.21 and spaces in file path Versions 2.17.17 and 2.17.24, respectively. Instead one probably needs to manipulate the environment directly. No idea how sticky that is. Actually, it would appear that working with subprocess.Popen would be called for here. The respective coode seems to be: progress (_ (Running `%s' on file `%s' to detect default page settings.\n) % (global_options.latex_program, tmpfile)) cmd = 'TEXINPUTS=%s:$TEXINPUTS %s %s' \ % (global_options.input_dir, global_options.latex_program, tmpfile) debug (Executing: %s\n % cmd) run_env = os.environ.copy() run_env['LC_ALL'] = 'C' ### unknown why this is necessary universal_newlines = True if sys.platform == 'mingw32': universal_newlines = False ### use os.system to avoid weird sleep() problems on ### GUB's python 2.4.2 on mingw # make file to write to output_dir = tempfile.mkdtemp() output_filename = os.path.join(output_dir, 'output.txt') # call command cmd += %s % output_filename returncode = os.system(cmd) parameter_string = open(output_filename).read() if returncode != 0: warning (_ (Unable to auto-detect default settings:\n)) # clean up os.remove(output_filename) os.rmdir(output_dir) else: proc = subprocess.Popen (cmd, env=run_env, universal_newlines=universal_newlines, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (parameter_string, error_string) = proc.communicate () if proc.returncode != 0: warning (_ (Unable to auto-detect default settings:\n%s) % error_string) And normally one should be able to do the TEXINPUTS manipulation just like done with LC_ALL. However, that would require looking at what goes wrong with mingw32 here. I have no idea what the current GUB version of Python is. -- David Kastrup I don't know what any of that means. :-P Is there a workaround? I do know how to define an environment variable, if that's what's necessary. DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Errors running lilypond-book
I'm trying to follow the tutorial at http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document; I run Windows 7 x86. When I run the command it tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I get (I've redacted my username from the temp file path): lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil e chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t oplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable How do I get this to work? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Errors running lilypond-book
Daniel Rosen drose...@gmail.com writes: I'm trying to follow the tutorial at http://www.lilypond.org/doc/v2.18/Documentation/usage/an-example-of-a-musicological-document; I run Windows 7 x86. When I run the command it tells me to (lilypond-book --output=out --pdf lilybook.lytex), here's what I get (I've redacted my username from the temp file path): lilypond-book.py (GNU LilyPond) 2.18.0 Reading lilybook.lytex... Running `pdflatex' on file `c:\users\...\appdata\local\temp\tmpfvqw3p.tex' to detect default page settings. 'TEXINPUTS' is not recognized as an internal or external command, operable program or batch file. lilypond-book.py: warning: Unable to auto-detect default settings: lilypond-book.py: warning: cannot detect textwidth from LaTeX Dissecting... lilypond-book.py: error: file not found: screech-and-boink.ly Traceback (most recent call last): File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 776, in ? main () File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 759, in main chunks = do_file (files[0]) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 611, in do_fil e chunks = find_toplevel_snippets (source, global_options.formatter) File C:\Program Files\LilyPond\usr\bin\lilypond-book.py, line 362, in find_t oplevel_snippets snip = klass (type, m, formatter, line_number, global_options) File out/book_snippets.py, line 815, in __init__ File out/book_base.py, line 27, in find_file TypeError: 'str' object is not callable How do I get this to work? That would seem to be commit aefc5a4057a0a61f1d7e4411cc1c5061d9aea6b7 Author: Julien Rioux jri...@physics.utoronto.ca Date: Wed Jan 23 18:21:22 2013 -0500 lilypond-book: Textwidth detection with included file (issue 3136). Fix the automatic textwidth detection performed by lilypond-book. This failed for lytex files that include an external file in the preamble, when such file was compiled in an --output directory different from the working directory, because then the included file was missing. We use TEXINPUTS to let the latex process know where to look for input files. later improved by commit 39bf694ef4dedbb350960f7c37955c8fe9ce27e3 Author: David Kastrup d...@gnu.org Date: Sat Jul 27 16:44:54 2013 +0200 Issue 3467: lilypond-book 2.17.21 and spaces in file path Versions 2.17.17 and 2.17.24, respectively. Instead one probably needs to manipulate the environment directly. No idea how sticky that is. Actually, it would appear that working with subprocess.Popen would be called for here. The respective coode seems to be: progress (_ (Running `%s' on file `%s' to detect default page settings.\n) % (global_options.latex_program, tmpfile)) cmd = 'TEXINPUTS=%s:$TEXINPUTS %s %s' \ % (global_options.input_dir, global_options.latex_program, tmpfile) debug (Executing: %s\n % cmd) run_env = os.environ.copy() run_env['LC_ALL'] = 'C' ### unknown why this is necessary universal_newlines = True if sys.platform == 'mingw32': universal_newlines = False ### use os.system to avoid weird sleep() problems on ### GUB's python 2.4.2 on mingw # make file to write to output_dir = tempfile.mkdtemp() output_filename = os.path.join(output_dir, 'output.txt') # call command cmd += %s % output_filename returncode = os.system(cmd) parameter_string = open(output_filename).read() if returncode != 0: warning (_ (Unable to auto-detect default settings:\n)) # clean up os.remove(output_filename) os.rmdir(output_dir) else: proc = subprocess.Popen (cmd, env=run_env, universal_newlines=universal_newlines, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) (parameter_string, error_string) = proc.communicate () if proc.returncode != 0: warning (_ (Unable to auto-detect default settings:\n%s) % error_string) And normally one should be able to do the TEXINPUTS manipulation just like done with LC_ALL. However, that would require looking at what goes wrong with mingw32 here. I have no idea what the current GUB version of Python is. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Running Lilypond from Fraise
Hello, It is possible to run shell commands directly from Fraise, instead of typing them in a Terminal. For this, go to the Tools Menu and create a new command. Add the following code (for example): #!/bin/sh # Set directory cd %%d # Run Lilypond /Applications/LilyPond.app/Contents/Resources/bin/lilypond %%p # Open the pdf in viewer file=%%p pdf=${file%%.ly}.pdf open $pdf Remarks: - In Fraise, %%d is the directory and %%p is the full path to your file - The pdf=${file%%.ly}.pdf line takes off the .ly extension and replaces it by .pdf - In the window, do not check the Inline checkbox. - You can now run the command from the Tools Menu. You can also set a keyboard shortcut for this command if you like. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Edit: Replace file=%%p by: file=$(basename %%p) Otherwise there might be problems with paths containing white spaces. Le samedi 13 juillet 2013 à 23:44, Steve Burgondy a écrit : Hello, It is possible to run shell commands directly from Fraise, instead of typing them in a Terminal. For this, go to the Tools Menu and create a new command. Add the following code (for example): #!/bin/sh # Set directory cd %%d # Run Lilypond /Applications/LilyPond.app/Contents/Resources/bin/lilypond %%p # Open the pdf in viewer file=%%p pdf=${file%%.ly}.pdf open $pdf Remarks: - In Fraise, %%d is the directory and %%p is the full path to your file - The pdf=${file%%.ly}.pdf line takes off the .ly extension and replaces it by .pdf - In the window, do not check the Inline checkbox. - You can now run the command from the Tools Menu. You can also set a keyboard shortcut for this command if you like. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
I released a new version of new native Mac Lilypond editor. It now provides better syntax highlighting and line numbers thanks to the framework used in Smultron and Fraise. https://dl.dropboxusercontent.com/u/172729/LilyEditor_0.7.zip -Marc -- View this message in context: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p148002.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
if you are looking for a very simple Lilypond editor with preview, check out my own app: LilyEditor. Just unzip and launch the native Mac application. https://dl.dropboxusercontent.com/u/172729/LilyEditor_v0.6.zip -- View this message in context: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p147829.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
That looks pretty awesome but any of my existing .ly files seem to crash it. I would love a native app to replace the mess that porting frescobaldi makes. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p147830.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
I have it working with complex scores. Does it work with a simple score at least? On Tue, Jul 9, 2013 at 11:16 PM, Derek [via Lilypond] ml-node+s1069038n14783...@n5.nabble.com wrote: That looks pretty awesome but any of my existing .ly files seem to crash it. I would love a native app to replace the mess that porting frescobaldi makes. If you reply to this email, your message will be added to the discussion below: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p147830.html To unsubscribe from Running Lilypond from Fraise, click here. NAML -- Marc Mouries 571-428-6771 -- View this message in context: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p147831.html Sent from the User mailing list archive at Nabble.com.___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
I have it working with complex scores. Does it work with a simple score at least? -- View this message in context: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p147833.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Yup I can open small ones I can see the syntax coding and all that so it looks pretty sweet but any of my larger ones it crashes out. Maybe my scores are just a mess. I just copied and pasted one of my files into a new file and it crashed on the engraving. Here is a link to one if you want to test it out http://d.pr/f/ZkP6 -- View this message in context: http://lilypond.1069038.n5.nabble.com/Running-Lilypond-from-Fraise-tp147430p147834.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Hello, Don't know Fraise, but if that may help : you menu entry should run: /Applications/LilyPond.app/Contents/Resources/bin/lilypond be that textually placed there or in shell script of yours. JM Le 27 juin 2013 à 11:56:03, Alexander Deubelbeiss deube...@gmx.net a écrit : Date: Wed, 26 Jun 2013 21:44:38 +0200 From: Philippe de Rochambeau phi...@free.fr To: lilypond-user@gnu.org lilypond-user@gnu.org Subject: Running Lilypond from Fraise Message-ID: 5c5b1de6-6212-4321-88bb-92b368b04...@free.fr Content-Type: text/plain; charset=us-ascii Hello, could someone please explain how to run Lilypond from Fraise? In my experience Lilypond does not interact usefully with fruit; so presumably you mean some sort of software product? After this concisely-phrased request of yours, it's entirely possible that you remain the only reader on this list who knows what it is you're talking about. Please elaborate a little on what you're trying to achieve, maybe include a link to user documentation if any is freely available; and then someone might be able to help you figure out the details. As it is I think you'd need to be lucky to get any helpful response. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Jacques Menu Ch. de la Pierre 12 1023 Crissier mailto:jacques.m...@tvtmail.ch ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Jacques Menu jacques.m...@tvtmail.ch writes: Hello, Don't know Fraise, but if that may help : you menu entry should run: /Applications/LilyPond.app/Contents/Resources/bin/lilypond be that textually placed there or in shell script of yours. I neglected this point in my hasty instructions; when you use the terminal command lilypond MyNewPiece.ly , it probably should be /Applications/LilyPond.app/Contents/Resources/bin/lilypond MyNewPiece.ly instead, so that the system can find what you mean by lilypond. -- David R ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Date: Wed, 26 Jun 2013 21:44:38 +0200 From: Philippe de Rochambeau phi...@free.fr To: lilypond-user@gnu.org lilypond-user@gnu.org Subject: Running Lilypond from Fraise Message-ID: 5c5b1de6-6212-4321-88bb-92b368b04...@free.fr Content-Type: text/plain; charset=us-ascii Hello, could someone please explain how to run Lilypond from Fraise? In my experience Lilypond does not interact usefully with fruit; so presumably you mean some sort of software product? After this concisely-phrased request of yours, it's entirely possible that you remain the only reader on this list who knows what it is you're talking about. Please elaborate a little on what you're trying to achieve, maybe include a link to user documentation if any is freely available; and then someone might be able to help you figure out the details. As it is I think you'd need to be lucky to get any helpful response. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
on 2013-06-27 at 11:56 Alexander Deubelbeiss wrote: From: Philippe de Rochambeau phi...@free.fr could someone please explain how to run Lilypond from Fraise? In my experience Lilypond does not interact usefully with fruit; so presumably you mean some sort of software product? i think he might be referring to a fork of Smultron, a text editor for the mac. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
On Jun 27, 2013, at 6:51 AM, luis jure l...@internet.com.uy wrote: on 2013-06-27 at 11:56 Alexander Deubelbeiss wrote: From: Philippe de Rochambeau phi...@free.fr could someone please explain how to run Lilypond from Fraise? In my experience Lilypond does not interact usefully with fruit; so presumably you mean some sort of software product? i think he might be referring to a fork of Smultron, a text editor for the mac. In context that seems correct. Both Smultron and Fraise have a menu where one can create commands and associate them with a keybinding. One can set up a command to send a file to Lily Pond under this menu. IIRC this is in the Commands menu; my recollection is that you write something like a shell script. It's been a couple years since I used it. Fraise is an open source version of Smultron; it was created in 2010 when Smultron fell out of active development for a while. Smultron is now a commercial app available in the Mac app store, I don't know what license the current version is under; Smultron 4 was under the Apache 2.0 license. One can get Fraise from GitHub, although it is not actively being developed since v. 3.7.2 or so. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Philippe de Rochambeau phi...@free.fr writes: Hello, could someone please explain how to run Lilypond from Fraise? I haven't used Fraise. I did use Smultron a little bit a long time ago. There may be an elegant way, eliminating the use of the terminal emulator and making steps 2 through 4 of my description obsolete; there is definitely a non-elegant way that will always work with any text editor, and here it is: 1. Type your Lilypond file in Fraise, or any text editor that saves as plain text. Make sure it is saved with .ly at the end of the name, such as MyNewPiece.ly - also make sure that there are no spaces in the name of your piece, no spaces in the name of the folder it's in, and no spaces in any of the names of any of the folders that contain that folder. If you want the visual effect of spaces, you can always use underscore characters like My_New_Piece.ly . 2. Open Terminal (it's in the Utilities folder, inside of Applications). In your terminal window, type the following and press Enter afterwards: cd ~/Documents/LilypondScores (that is, type cd, then a space, and then the name of whatever folder you have put your piece in - your pieces can go anywhere you like, as long as there are no spaces in any folder names and as long as you can remember what folder they're in. The special character ~ is used in terminal commands as an abbreviation for My own home folder, and folders always have a slash between their names.) 3. Just to make sure you're in the right folder, type the following and press Enter afterwards: ls (This will list everything in the folder - all that matters is that the name of your piece is one of the things in the list) 4. Type the following (using the real name of your piece, obviously) and press Enter afterwards: lilypond MyNewPiece.ly (This command will cause the terminal to display Lilypond's messages, along with any errors that occur. If errors occur, it's either because Lilypond isn't installed correctly or because there was a typing mistake in your piece.) 5. Assuming it worked, there will now be MyNewPiece.pdf in the same folder with MyNewPiece.ly. Go and open that to see the results. ___ The elegant method of using Fraise would be to eliminate my steps 2 through 4, by adding a Lilypond command into Fraise itself so that you don't need to use Terminal. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running Lilypond from Fraise
Hi again Philippe... If (when) Frescobaldi becomes easy to install on a Mac, definitely use it instead of Fraise - because Frescobaldi is made for Lilypond, it provides a lot of nice functions that Fraise will never have. -- David R ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Running Lilypond from Fraise
Hello, could someone please explain how to run Lilypond from Fraise? Many thanks. Philippe ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: running lilypond-book in frescobaldi?
Il 30/08/2012 03:38, MING TSANG ha scritto: Lilypond users: 1. I am running lilypond in frescobaldi. Can I run lilypond-book in frecobaldi as well. 2. How can pass parameter to lilypond and or lilypond-book from frescobaldi? Blessing in+, Ming. Hi Ming, Frescobaldi doesn't support lilypond-book currently, but it's in the TODO list: https://github.com/wbsoft/frescobaldi/blob/master/TODO -- Federico ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: running lilypond-book in frescobaldi?
1. I am running lilypond in frescobaldi. Can I run lilypond-book in frecobaldi as well. I copy-paste from frescobaldi into lyx for that purpose. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
running lilypond-book in frescobaldi?
Lilypond users: 1. I am running lilypond in frescobaldi. Can I run lilypond-book in frecobaldi as well. 2. How can pass parameter to lilypond and or lilypond-book from frescobaldi? Blessing in+, Ming. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Shortest duration is *not* printed when running 'lilypond --verbose'
Sorry to come again with that. Should I request to add an issue to the tracker stating that 'lilypond --verbose' does not print common shortest duration (and should, as it supposedly did before, because it is what is explained in NR 4.5.1 Horizontal spacing overview) ? Cheers, Xavier On 10 December 2011 00:04, Xavier Scheuer x.sche...@gmail.com wrote: Hello, NR 4.5.1 Horizontal spacing overview says The most common shortest duration is determined as follows: in every measure, the shortest duration is determined. The most common shortest duration is taken as the basis for the spacing, with the stipulation that this shortest duration should always be equal to or shorter than an 8th note. The shortest duration is printed when you run lilypond with the ‘--verbose’ option. I did run ’lilypond --verbose’ but I cannot find the shortest duration in the console output. Does that mean it is an 8th note? Or is that part of the documentation outdated? In that case where can I find the most common shortest duration? Thanks in advance. On 10 December 2011 11:50, Xavier Scheuer x.sche...@gmail.com wrote: On 10 December 2011 00:45, Carl Sorensen c_soren...@byu.edu wrote: I cannot display it, either. In scm/define-grobs.scm, the SpacingSpanner grob is set with a base-shortest-duration of 3/16, and shortest-duration-space is set to 2.0 IIUC common-shortest-duration is different from base-shortest-duration. base-shortest-duration is set to a value whereas common-shortest-duration is calculated as explained in NR 4.5.1. IIUC it is common-shortest-duration that should be printed when running 'lilypond --verbose' (and that is not printed, actually). Who is a specialist of horizontal spacing? Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Shortest duration is *not* printed when running 'lilypond --verbose'
I actually _am_ topposting. Go figure. Xavier, your posting is useless. It does not give _any_ information about what input you are using, and what output you expect, and the headers don't actually reference an article where this would be described. Instead of including wagonloads of _unrelevant_ discussion, how about quoting something describing the actual problem? Thanks David Xavier Scheuer x.sche...@gmail.com writes: Sorry to come again with that. Should I request to add an issue to the tracker stating that 'lilypond --verbose' does not print common shortest duration (and should, as it supposedly did before, because it is what is explained in NR 4.5.1 Horizontal spacing overview) ? Cheers, Xavier On 10 December 2011 00:04, Xavier Scheuer x.sche...@gmail.com wrote: Hello, NR 4.5.1 Horizontal spacing overview says The most common shortest duration is determined as follows: in every measure, the shortest duration is determined. The most common shortest duration is taken as the basis for the spacing, with the stipulation that this shortest duration should always be equal to or shorter than an 8th note. The shortest duration is printed when you run lilypond with the ‘--verbose’ option. I did run ’lilypond --verbose’ but I cannot find the shortest duration in the console output. Does that mean it is an 8th note? Or is that part of the documentation outdated? In that case where can I find the most common shortest duration? Thanks in advance. On 10 December 2011 11:50, Xavier Scheuer x.sche...@gmail.com wrote: On 10 December 2011 00:45, Carl Sorensen c_soren...@byu.edu wrote: I cannot display it, either. In scm/define-grobs.scm, the SpacingSpanner grob is set with a base-shortest-duration of 3/16, and shortest-duration-space is set to 2.0 IIUC common-shortest-duration is different from base-shortest-duration. base-shortest-duration is set to a value whereas common-shortest-duration is calculated as explained in NR 4.5.1. IIUC it is common-shortest-duration that should be printed when running 'lilypond --verbose' (and that is not printed, actually). Who is a specialist of horizontal spacing? Cheers, Xavier -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Shortest duration is *not* printed when running ¹lilypond --verbose¹
On 10 December 2011 00:45, Carl Sorensen c_soren...@byu.edu wrote: I cannot display it, either. In scm/define-grobs.scm, the SpacingSpanner grob is set with a base-shortest-duration of 3/16, and shortest-duration-space is set to 2.0 IIUC common-shortest-duration is different from base-shortest-duration. base-shortest-duration is set to a value whereas common-shortest-duration is calculated as explained in NR 4.5.1. IIUC it is common-shortest-duration that should be printed when running 'lilypond --verbose' (and that is not printed, actually). Who is a specialist of horizontal spacing? Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Shortest duration is *not* printed when running ’lilypond --verbose’
Hello, NR 4.5.1 Horizontal spacing overview says The most common shortest duration is determined as follows: in every measure, the shortest duration is determined. The most common shortest duration is taken as the basis for the spacing, with the stipulation that this shortest duration should always be equal to or shorter than an 8th note. The shortest duration is printed when you run lilypond with the ‘--verbose’ option. I did run ’lilypond --verbose’ but I cannot find the shortest duration in the console output. Does that mean it is an 8th note? Or is that part of the documentation outdated? In that case where can I find the most common shortest duration? Thanks in advance. Cheers, Xavier -- Xavier Scheuer x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Shortest duration is *not* printed when running ¹lilypond --verbose¹
On 12/9/11 4:04 PM, Xavier Scheuer x.sche...@gmail.com wrote: Hello, NR 4.5.1 Horizontal spacing overview says The most common shortest duration is determined as follows: in every measure, the shortest duration is determined. The most common shortest duration is taken as the basis for the spacing, with the stipulation that this shortest duration should always be equal to or shorter than an 8th note. The shortest duration is printed when you run lilypond with the Œ--verbose¹ option. I did run ¹lilypond --verbose¹ but I cannot find the shortest duration in the console output. Does that mean it is an 8th note? I cannot display it, either. In scm/define-grobs.scm, the SpacingSpanner grob is set with a base-shortest-duration of 3/16, and shortest-duration-space is set to 2.0 HTH, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
2011/2/14 Father Gordon Gilbert fatherg...@gmail.com: On 13/02/2011, Michael Ellis michael.f.el...@gmail.com wrote: On Sun, Feb 13, 2011 at 6:05 PM, Father Gordon Gilbert fatherg...@gmail.com wrote: /usr/local/bin/python: can't open file '/usr/local/bin/convert-ly.py' Is convert.ly present in /usr/local/bin? The error is claiming otherwise. Cheers, Mike I did which convert.ly with no result, but which convert says /usr/local/bin ... would that be the right answer? 'convert' alone is an image format conversion command from imagemagick, not a part of lilypond. It's not 'convert.ly' but convert-ly.py, note the hyphen for ly and the dot-py for python filename extension. -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
On 14/02/2011, Francisco Vila paconet@gmail.com wrote: 2011/2/14 Father Gordon Gilbert fatherg...@gmail.com: On 13/02/2011, Michael Ellis michael.f.el...@gmail.com wrote: On Sun, Feb 13, 2011 at 6:05 PM, Father Gordon Gilbert fatherg...@gmail.com wrote: /usr/local/bin/python: can't open file '/usr/local/bin/convert-ly.py' Is convert.ly present in /usr/local/bin? The error is claiming otherwise. Cheers, Mike I did which convert.ly with no result, but which convert says /usr/local/bin ... would that be the right answer? 'convert' alone is an image format conversion command from imagemagick, not a part of lilypond. It's not 'convert.ly' but convert-ly.py, note the hyphen for ly and the dot-py for python filename extension. -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com Thank you -- so I did which for both, and with the .py nothing comes up, and without, it shows /usr/local/bin. So how do I get these things working? On this machine, I'll have quite a bit of upgrading, from 2.5.x I believe. Compiling works now, but convert-ly-ing doesn't yet, even though I've got /usr/local/bin in the main path now. Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re:Error in running Lilypond
Thanks, Colin for your help. That turned the tide. Took out the .py and everything worked! (Well, one convert didn't quite complete because of the age, but I can work with that ...) Thanks again. Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
2011/2/14 Father Gordon Gilbert fatherg...@gmail.com: Thank you -- so I did which for both, and with the .py nothing comes up, and without, it shows /usr/local/bin. So how do I get these things working? On this machine, I'll have quite a bit of upgrading, from 2.5.x I believe. Compiling works now, but convert-ly-ing doesn't yet, even though I've got /usr/local/bin in the main path now. I'm glad to see it already works for you. To tell you the truth, convert-ly doesn'n work for me in lilypondTool. The whole concept of the configuration is windows-oriented, that is: set a folder name for the binaries, then set executable names for commands in that folder. In Linux we name commands and they work because they are in the path if they are properly installed. I'd like to summarize the whole set of configs for lilypondtool commands, for Linux. Forwarding to Bertalan (its author) -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
On 14/02/2011, Francisco Vila paconet@gmail.com wrote: 2011/2/14 Father Gordon Gilbert fatherg...@gmail.com: Thank you -- so I did which for both, and with the .py nothing comes up, and without, it shows /usr/local/bin. So how do I get these things working? On this machine, I'll have quite a bit of upgrading, from 2.5.x I believe. Compiling works now, but convert-ly-ing doesn't yet, even though I've got /usr/local/bin in the main path now. I'm glad to see it already works for you. To tell you the truth, convert-ly doesn'n work for me in lilypondTool. The whole concept of the configuration is windows-oriented, that is: set a folder name for the binaries, then set executable names for commands in that folder. In Linux we name commands and they work because they are in the path if they are properly installed. I'd like to summarize the whole set of configs for lilypondtool commands, for Linux. Forwarding to Bertalan (its author) -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com Thanks Francisco. I'm gratified that it now works. I originally began using Lilypond on a FreeBSD machine in about 2002 (on version 2.2.2, iirc) and did a great deal of work on hymns and the like around 2004-5 with version 2.5.x. But in various upgrades, my BSD machine began not to support the various dependencies (or whatever) and I found it easier to use my Windoze machine. But in the presence of my son the computer genius this past weekend, we first got java working, then jEdit/LilypondTool, then Lilypond. With that combination going, I may now try working on Frescobaldi and see how that is. Thanks to all for your help. I love this program! Blessings, Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
To tell you the truth, convert-ly doesn'n work for me in lilypondTool. The whole concept of the configuration is windows-oriented Not works for me also in Windows : % Sourced file: jeditresource:/LilyPondTool.jar!/lilytool/macros/convertToLily.bsh : Error in method invocation: Static method toUnix( java.lang.String ) not found in class'lilytool.LilyToolPlugin' : at Line: 60 : in file: jeditresource:/LilyPondTool.jar!/lilytool/macros/convertToLily.bsh : lilytool .LilyToolPlugin .toUnix ( sourceFile ) % LilypondTools : 2.12.932 lilypond : 2.12 lilypond Path : C:\lilypond Gilles ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
I must admit the convert-ly part is quite unmaintained. The Windows-orientation comes from the fact I have only access to Windows machines. If you send me bug reports at http://sourceforge.net/tracker/?group_id=91119atid=596024 I'll take a look. (Though currently sourceforge seems to be down) On Mon, Feb 14, 2011 at 3:08 PM, Gilles THIBAULT gilles.thiba...@free.frwrote: To tell you the truth, convert-ly doesn'n work for me in lilypondTool. The whole concept of the configuration is windows-oriented Not works for me also in Windows : % Sourced file: jeditresource:/LilyPondTool.jar!/lilytool/macros/convertToLily.bsh : Error in method invocation: Static method toUnix( java.lang.String ) not found in class'lilytool.LilyToolPlugin' : at Line: 60 : in file: jeditresource:/LilyPondTool.jar!/lilytool/macros/convertToLily.bsh : lilytool .LilyToolPlugin .toUnix ( sourceFile ) % LilypondTools : 2.12.932 lilypond : 2.12 lilypond Path : C:\lilypond Gilles ___ 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
Error in running Lilypond
Hi List, I just finally installed Lilypond and jEdit with LilyPondTool on my PC-BSD box, and I'm having a bit of trouble. I downloaded a piece from Mutopia, and when I tried to convert-ly, got the following message: Error running external command. See the activity log about the problem. Cannot run probram/python (in directory ?usr/home/gord/Documents/songs/LilypondSets): java.io.IOException: error=2, No such file or directory Same result when I tried to compile the file. It's probably a path thing, but I'm not a geek, so I don't necessarily know how to fix these things. Help? Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
Hi Father, It certainly looks like a path problem or maybe two problems. /python seems unlikely, as does ?usr/. Try opening up the Jedit Plugins/Plugin Options window and navigate to LilyPondTool Commands. Check the entry for python. If it says /python as shown in your error message, try removing the /. Also check to see if any of the other paths look suspicious. Hope this helps. Cheers, Mike On Sun, Feb 13, 2011 at 8:23 AM, Father Gordon Gilbert fatherg...@gmail.com wrote: Hi List, I just finally installed Lilypond and jEdit with LilyPondTool on my PC-BSD box, and I'm having a bit of trouble. I downloaded a piece from Mutopia, and when I tried to convert-ly, got the following message: Error running external command. See the activity log about the problem. Cannot run probram/python (in directory ?usr/home/gord/Documents/songs/LilypondSets): java.io.IOException: error=2, No such file or directory Same result when I tried to compile the file. It's probably a path thing, but I'm not a geek, so I don't necessarily know how to fix these things. Help? Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ 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: Error in running Lilypond
On 13/02/2011, Michael Ellis michael.f.el...@gmail.com wrote: Hi Father, It certainly looks like a path problem or maybe two problems. /python seems unlikely, as does ?usr/. Try opening up the Jedit Plugins/Plugin Options window and navigate to LilyPondTool Commands. Check the entry for python. If it says /python as shown in your error message, try removing the /. Also check to see if any of the other paths look suspicious. Hope this helps. Cheers, Mike On Sun, Feb 13, 2011 at 8:23 AM, Father Gordon Gilbert fatherg...@gmail.com wrote: Hi List, I just finally installed Lilypond and jEdit with LilyPondTool on my PC-BSD box, and I'm having a bit of trouble. I downloaded a piece from Mutopia, and when I tried to convert-ly, got the following message: Error running external command. See the activity log about the problem. Cannot run probram/python (in directory ?usr/home/gord/Documents/songs/LilypondSets): java.io.IOException: error=2, No such file or directory Same result when I tried to compile the file. It's probably a path thing, but I'm not a geek, so I don't necessarily know how to fix these things. Help? Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Hi Michael, You're a genius! Thankyouthankyou! I now have my computer set up in its native location (on antediluvian dial-up), and tried compiling a file again. This time it said something about /lilypond, so I opened up the plugin dialog, and inserted /usr/local/bin in the top line, and all worked fine! BTW, they ?usr/home/ ... was a typo on my part copying the contents of the dialog into the email (wasn't possible to swipe and paste). So now I can compile .ly files, but when I tried to convert-ly from the icons in jEdit LilypondTool, I got the following: /usr/home/gord/Documents/songs/LilypondSets/brother_james_air.ly /usr/local/bin/python: can't open file '/usr/local/bin/convert-ly.py': [Errno 2] No such file or directory Processing time: 0 seconds Any ideas how to fix that? Thanks, Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
On Sun, Feb 13, 2011 at 6:05 PM, Father Gordon Gilbert fatherg...@gmail.com wrote: /usr/local/bin/python: can't open file '/usr/local/bin/convert-ly.py' Is convert.ly present in /usr/local/bin? The error is claiming otherwise. Cheers, Mike ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
On 13/02/2011, Michael Ellis michael.f.el...@gmail.com wrote: On Sun, Feb 13, 2011 at 6:05 PM, Father Gordon Gilbert fatherg...@gmail.com wrote: /usr/local/bin/python: can't open file '/usr/local/bin/convert-ly.py' Is convert.ly present in /usr/local/bin? The error is claiming otherwise. Cheers, Mike I did which convert.ly with no result, but which convert says /usr/local/bin ... would that be the right answer? Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Error in running Lilypond
On 11-02-13 07:56 PM, Father Gordon Gilbert wrote: On 13/02/2011, Michael Ellismichael.f.el...@gmail.com wrote: On Sun, Feb 13, 2011 at 6:05 PM, Father Gordon Gilbertfatherg...@gmail.com wrote: /usr/local/bin/python: can't open file '/usr/local/bin/convert-ly.py' Is convert.ly present in /usr/local/bin? The error is claiming otherwise. Cheers, Mike I did which convert.ly with no result, but which convert says /usr/local/bin ... would that be the right answer? Gordon+ You might also make sure that the convert-ly command in the LilyPondTool options is named the same as the executable in /usr/local/bin. On my machine, the command doesn't have the .py extension. HTH! Colin -- The test of our progress is not whether we add more to the abundance of those who have much, it is whether we provide enough for those who have too little. -Franklin D. Roosevelt, 32nd US President (1882-1945) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed - missing .pdf file after running lilypond sucessfully.
On 9/26/10 6:49 AM, MING TSANG tsan...@rogers.com wrote: Ian, Thank you. I follow your prescribed steps and my problem is resolved. Thank you. My problem starts when I install multiple versions: v2.13.32 in default and 2.6.5 2.12.3 in its own folders. v2.6.5 is the last install I did. Now my computer is clean up. I have only v2.13.33. I went to lilypond.org and I didn't see v2.13.34 as you suggested to use. As of right now, the following website: http://lilypond.org/web/install/#2.13 list 2.13.34-1 as the current development release. Lilypond users: I want to use mup2ly.py, but it is in v2.6.5 How can I use it with v2.13.33 and up. I don't want go through the problem of installing multi versions of lilypond. Is it possible to include mup2ly.pf with v2.13.33 and up? More questions / help require: (1). How can I increase the fontsize of the numbers in easyHeadOn with numbers. The following .ly produce number too small when in print (hardcopy). I have been trying very hard but in vain. Please generate a small snippet that shows what you have tried. I have sent you a snippet that increases the font size in easy heads. I have tested it and it works. I'll be happy to help you work through these issues, but we should do it on a small snippet, instead of a big file. (2). It seems that I lost tagline on my last page. What happened? (3). Apprceiate snippet for generating midi file for voice part - ie soprano, alto, tenor bass. My intention is to provide voice part for choir member to practice. I think that you can create separate scores with midi blocks for the individual parts. \version 2.13 soprano = \relative c'' { c d e } alto = \relative c'' { a b c } \score { \new Staff { \soprano \alto } \layout {} } \score { \soprano \midi{} } \score { \alto \midi{} } (4). Is it possible to print title on every page? Search the user archives for header on every page. HTH, Carl P.S. Please don't top post on lilypond lists. It's against our list etiquette. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed - missing .pdf file after running lilypond sucessfully.
肅 | 靜 | 阿 | 們 | } %VerseTwo = \lyricmode { voice two } %VerseThree = \lyricmode { } %VerseFour = \lyricmode { | \score { \new GrandStaff = GrandStaff_score \new ChoirStaff \tempo 4 = 90 \set Score.markFormatter = #format-mark-box-numbers \new Staff \override Score.BarNumber #'break-visibility = #'#(#t #t #t) \clef treble \new Voice = Sop { \voiceOne \TimeKey \SopMusic } \new Voice = Alto { \voiceTwo \TimeKey \AltoMusic } \new Lyrics \lyricsto Sop { \VerseOne } %\new Lyrics \lyricsto Sop { \VerseTwo } %\new Lyrics \lyricsto Sop { \VerseThree } %\new Lyrics \lyricsto Sop { \VerseFour } \new Staff \clef bass \new Voice = Tenor { \voiceOne \TimeKey \TenorMusic } \new Voice = Bass { \voiceTwo \BassMusic } %\new PianoStaff % \new Staff = RH { \TimeKey \PianoRHand } % \new Staff = LH { \TimeKey \clef bass \PianoLHand } % \layout { \context { \RemoveEmptyStaffContext \override VerticalAxisGroup #'remove-first = ##t %\Voice \consists \Ez_numbers_engraver } } \midi { } } From: Carl Sorensen c_soren...@byu.edu To: MING TSANG tsan...@rogers.com; Ian Hulin i...@hulin.org.uk Cc: lilypond-user@gnu.org lilypond-user@gnu.org Sent: Sun, September 26, 2010 9:07:32 AM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. On 9/26/10 6:49 AM, MING TSANG tsan...@rogers.com wrote: Ian, Thank you. I follow your prescribed steps and my problem is resolved. Thank you. My problem starts when I install multiple versions: v2.13.32 in default and 2.6.5 2.12.3 in its own folders. v2.6.5 is the last install I did. Now my computer is clean up. I have only v2.13.33. I went to lilypond.org and I didn't see v2.13.34 as you suggested to use. As of right now, the following website: http://lilypond.org/web/install/#2.13 list 2.13.34-1 as the current development release. Lilypond users: I want to use mup2ly.py, but it is in v2.6.5 How can I use it with v2.13.33 and up. I don't want go through the problem of installing multi versions of lilypond. Is it possible to include mup2ly.pf with v2.13.33 and up? More questions / help require: (1). How can I increase the fontsize of the numbers in easyHeadOn with numbers. The following .ly produce number too small when in print (hardcopy). I have been trying very hard but in vain. Please generate a small snippet that shows what you have tried. I have sent you a snippet that increases the font size in easy heads. I have tested it and it works. I'll be happy to help you work through these issues, but we should do it on a small snippet, instead of a big file. (2). It seems that I lost tagline on my last page. What happened? (3). Apprceiate snippet for generating midi file for voice part - ie soprano, alto, tenor bass. My intention is to provide voice part for choir member to practice. I think that you can create separate scores with midi blocks for the individual parts. \version 2.13 soprano = \relative c'' { c d e } alto = \relative c'' { a b c } \score { \new Staff { \soprano \alto } \layout {} } \score { \soprano \midi{} } \score { \alto \midi{} } (4). Is it possible to print title on every page? Search the user archives for header on every page. HTH, Carl P.S. Please don't top post on lilypond lists. It's against our list etiquette.___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed - missing .pdf file after running lilypond sucessfully.
On 9/26/10 12:18 PM, MING TSANG tsan...@rogers.com wrote: Carl, I mess up Mark Polesky and Carl Sorensen as Mark Sorensen. Sorry! No problem! I knew what you meant, and I'm not offended. Now Mark might be offended by having his name associated with mine... (Just kidding). What does it mean top post in lilypond? It means putting your answers at the top of the email to which you are replying, rather that putting the answers inside the original email, as I am doing now. The following code produce large numbers when using noteHeadOn with number. When I copy the same Ez_numbers_engraver and EzNum onto my other .ly file I did not get the larger number effect. I have no idea what's wrong. OK, so the thing to do is to make a simple file to get help. Make a file with one bar of soprano notes. Copy Ez_numbers_engraver and EzNum into that file. See if it gives you large or small note numbers. If you get small note numbers, then you can send the simple file and ask why it doesn't work. If you get large note numbers in the sample file, then you should go back to the file that isn't working. Copy that file, then eliminate all but the the first measure of each voice. Test again, and make sure that it's not working. Then, send us a simple file that doesn't work. At that point it will be easy for us to give you help. The longer the file you send to the list, the less likely you are to get help on it, because it's hard for us to work through a long file. Thanks, Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed - missing .pdf file after running lilypond sucessfully.
Kaz, thank you. I don't know how to run lilypond on CMD EXE. Can you provide some command line script? I try the alternative method as suggested. I got the following message: GS.EXE entry point not found -- the procedure entry point gsapi_delete_insta...@4 could not be located in the dynamic link library gs-8.70.dll For the past few days I have been rebooting window xp several times. Mark Polesky: thank you for pointing me to contact jedit users. I have send them an email and waiting for their response. From: Kaz Kylheku k...@kylheku.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Thu, September 23, 2010 11:02:24 PM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. This mailing list is about Lilypond. What happens if you run just the lilypond executable? In windows you can open a CMD.EXE window on the folder and run lilypond on the file. If the executable is not in your %PATH%, you will have to use the full path. Alternately, you should be able, in Explorer, to right click on the .ly file and invoke the Generate PDF command from the popup menu. Be sure that no program has any of the output files (MIDI, PDF, ...) open, because this may prevent Lilypond from being able to write to the files. (Install a real OS to avoid that problem). If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe the surrounding tools are eating the PDF. Also, when was the last time you rebooted that Windows? At least once every few days is a good idea. On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG tsan...@rogers.com wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf is generated as well. However I find the .ps file but no .pdf file on the folder where the .ly file resides.___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fw: Help needed - missing .pdf file after running lilypond sucessfully.
the following reply all did't go thru. Now I try again, just send ti lilypond users. - Forwarded Message From: MING TSANG tsan...@rogers.com To: Kaz Kylheku k...@kylheku.com Cc: lilypond-user@gnu.org Sent: Fri, September 24, 2010 8:58:11 AM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. Kaz, thank you. I don't know how to run lilypond on CMD EXE. Can you provide some command line script? I try the alternative method as suggested. I got the following message: GS.EXE entry point not found -- the procedure entry point gsapi_delete_insta...@4 could not be located in the dynamic link library gs-8.70.dll For the past few days I have been rebooting window xp several times. Mark Polesky: thank you for pointing me to contact jedit users. I have send them an email and waiting for their response. From: Kaz Kylheku k...@kylheku.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Thu, September 23, 2010 11:02:24 PM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. This mailing list is about Lilypond. What happens if you run just the lilypond executable? In windows you can open a CMD.EXE window on the folder and run lilypond on the file. If the executable is not in your %PATH%, you will have to use the full path. Alternately, you should be able, in Explorer, to right click on the .ly file and invoke the Generate PDF command from the popup menu. Be sure that no program has any of the output files (MIDI, PDF, ...) open, because this may prevent Lilypond from being able to write to the files. (Install a real OS to avoid that problem). If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe the surrounding tools are eating the PDF. Also, when was the last time you rebooted that Windows? At least once every few days is a good idea. On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG tsan...@rogers.com wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf is generated as well. However I find the .ps file but no .pdf file on the folder where the .ly file resides.___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re:Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)
Hi! I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar immediately above the open file has little icons for everything you need. One of them is a tiny sheet of paper representing the PDF option. Do you have that on your version? If so, simply click that (once not twice) and your PDF should appear in a separate window in jEdit's native PDF viewer. Especially if your compilation creates a ./ file name as I see it does. Hope this helps. Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully.
Dear Dr. Tsang You might want to check out lilypond --help Actually, I have met similar, (or more precisely, reverse,) problems when I run 2.13.33 last month. It seems, lilypond have output a pdf file, without a ps file as the ps file was converted to pdf, when I run 2.13.33 last month, as lilypond musicfile.ly (The output files shoud be both ps and pdf, in my expectation.) So, to specifically assign the output to be a ps file, according to the --help, I run lilypond -f --ps musicfile.ly So, you might want to run lilypond -f --pdf musicfile.ly for specifically assign the pdf in your situation. options are -f --ps -f --pdf -f --png good luck ^_^ neuro 黃 neu...@gmail.com === 2010/9/25 MING TSANG tsan...@rogers.com: the following reply all did't go thru. Now I try again, just send ti lilypond users. - Forwarded Message From: MING TSANG tsan...@rogers.com To: Kaz Kylheku k...@kylheku.com Cc: lilypond-user@gnu.org Sent: Fri, September 24, 2010 8:58:11 AM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. Kaz, thank you. I don't know how to run lilypond on CMD EXE. Can you provide some command line script? I try the alternative method as suggested. I got the following message: GS.EXE entry point not found -- the procedure entry point gsapi_delete_insta...@4 could not be located in the dynamic link library gs-8.70.dll For the past few days I have been rebooting window xp several times. Mark Polesky: thank you for pointing me to contact jedit users. I have send them an email and waiting for their response. From: Kaz Kylheku k...@kylheku.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Thu, September 23, 2010 11:02:24 PM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. This mailing list is about Lilypond. What happens if you run just the lilypond executable? In windows you can open a CMD.EXE window on the folder and run lilypond on the file. If the executable is not in your %PATH%, you will have to use the full path. Alternately, you should be able, in Explorer, to right click on the .ly file and invoke the Generate PDF command from the popup menu. Be sure that no program has any of the output files (MIDI, PDF, ...) open, because this may prevent Lilypond from being able to write to the files. (Install a real OS to avoid that problem). If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe the surrounding tools are eating the PDF. Also, when was the last time you rebooted that Windows? At least once every few days is a good idea. On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG tsan...@rogers.com wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf is generated as well. However I find the .ps file but no .pdf file on the folder where the .ly file resides. ___ 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: Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)
Fr. Gordon, The jedit version is 4.3.2; lilypond is v2.13.33. I see the viewer icon. I single click it and it displays nothing. It is because the .pdf file is not created even though the jedit console says it did generate a .pdf file. Ming. From: Father Gordon Gilbert fatherg...@gmail.com To: tsan...@rogers.com; Lilypondusers Group lilypond-user@gnu.org Sent: Fri, September 24, 2010 1:36:56 PM Subject: Re:Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG) Hi! I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar immediately above the open file has little icons for everything you need. One of them is a tiny sheet of paper representing the PDF option. Do you have that on your version? If so, simply click that (once not twice) and your PDF should appear in a separate window in jEdit's native PDF viewer. Especially if your compilation creates a ./ file name as I see it does. Hope this helps. Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully.
Hi, neuro: I think you problem can be resolved. Please refer to vol94 issue 94 message 3 from Phil Holmes. If you are not absolutely need .ps, don't try. My problem is after I added as suggested from Phil Holmes, I got the .ps file and I lost .pdf file. I comment out the line #(ly:set-option 'delete-intermediate-files #f) and re-run lilypond, but I lost both .ps and .pdf since. It has been a couple of days. I have been asking help from lilypond users to resolve. I now wait for help from lily4jedif user. Lilypond users: I run Command line lilypond (CMD.EXE) as c:Documents and Settings\Administrator\Desktop\LILY_PONDlilypond -f --pdf more-love-to-thee.ly and I get the following error message: GNU LilyPond 2.6.5 error: Incorrect lilypond version: 2.13.32 (2.3.22, 2.6.5) Can anyone show me how can I set up CMD to run v2.13.33? I uninstall v2.6.5 and install v3.13.33 - how come I am still running v2.6.5. Thanks everyone, Ming. From: neuro黃學仁 neu...@gmail.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Fri, September 24, 2010 2:09:48 PM Subject: Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully. Dear Dr. Tsang You might want to check out lilypond --help Actually, I have met similar, (or more precisely, reverse,) problems when I run 2.13.33 last month. It seems, lilypond have output a pdf file, without a ps file as the ps file was converted to pdf, when I run 2.13.33 last month, as lilypond musicfile.ly (The output files shoud be both ps and pdf, in my expectation.) So, to specifically assign the output to be a ps file, according to the --help, I run lilypond -f --ps musicfile.ly So, you might want to run lilypond -f --pdf musicfile.ly for specifically assign the pdf in your situation. options are -f --ps -f --pdf -f --png good luck ^_^ neuro 黃 neu...@gmail.com === 2010/9/25 MING TSANG tsan...@rogers.com: the following reply all did't go thru. Now I try again, just send ti lilypond users. - Forwarded Message From: MING TSANG tsan...@rogers.com To: Kaz Kylheku k...@kylheku.com Cc: lilypond-user@gnu.org Sent: Fri, September 24, 2010 8:58:11 AM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. Kaz, thank you. I don't know how to run lilypond on CMD EXE. Can you provide some command line script? I try the alternative method as suggested. I got the following message: GS.EXE entry point not found -- the procedure entry point gsapi_delete_insta...@4 could not be located in the dynamic link library gs-8.70.dll For the past few days I have been rebooting window xp several times. Mark Polesky: thank you for pointing me to contact jedit users. I have send them an email and waiting for their response. From: Kaz Kylheku k...@kylheku.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Thu, September 23, 2010 11:02:24 PM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. This mailing list is about Lilypond. What happens if you run just the lilypond executable? In windows you can open a CMD.EXE window on the folder and run lilypond on the file. If the executable is not in your %PATH%, you will have to use the full path. Alternately, you should be able, in Explorer, to right click on the .ly file and invoke the Generate PDF command from the popup menu. Be sure that no program has any of the output files (MIDI, PDF, ...) open, because this may prevent Lilypond from being able to write to the files. (Install a real OS to avoid that problem). If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe the surrounding tools are eating the PDF. Also, when was the last time you rebooted that Windows? At least once every few days is a good idea. On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG tsan...@rogers.com wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf is generated as well. However I find the .ps file but no .pdf file on the folder where the .ly file resides. ___ 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: Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG)
Ming, First of all see if your lilypond version is OK. Click on the Windows Menu Button and Select the Run option. When the window pops up type in cmd and click OK to start a terminal session. The prompt should tell you you're in the My Documents directory for your account. Enter notepad test.ly and press the enter key. In the notepad editor, type in \version 2,12.0 \relative c' { c1 \bar |.} Now do lilypond test.ly Does this produce test.pdf on the directory? (Do dir test.* to find out. If it does, this shows you Lilypond installation is OK. If it is OK at this stage, fire up jedit and open test.ly. If Lilypondtool is installed correctly you should see the pdf output in the PDF viewer pane. Now try adding another note or something to test.ly e.g. change the \relative block to \relative c' { c1 | d1 \bar |.} and compiling in Lilypondtool. If this fails it may mean there is something wrong with the command Lilypondtool is generating to do the compilation. However, now go back to the cmd window where you compiled test.ly, and change your working directory to the folder with your problem .ly file. Do this by using the cd command cd C:/Documents and Settings/Administrator/Desktop/LILY_POND now use the following command from the command line lilypond --verbose more-love-to-thee.ly What messages do you see? Btw has your Windows user account got write access to the Administrator user's Desktop folder? Also, try doing this in your Jedit session in the Console pane. cd C:/Documents and Settings/Administrator/Desktop/LILY_POND Now try clicking on the LilypondTool compile button in Jedit. Are the results any different? Cheers, Ian Hulin On 24/09/10 19:56, MING TSANG wrote: Fr. Gordon, The jedit version is 4.3.2; lilypond is v2.13.33. I see the viewer icon. I single click it and it displays nothing. It is because the .pdf file is not created even though the jedit console says it did generate a .pdf file. Ming. From: Father Gordon Gilbert fatherg...@gmail.com To: tsan...@rogers.com; Lilypondusers Group lilypond-user@gnu.org Sent: Fri, September 24, 2010 1:36:56 PM Subject: Re:Help needed - missing .pdf file after running lilypond sucessfully. (MING TSANG) Hi! I have used Lilypondtool both on Windoze, and on Ubuntu, and the toolbar immediately above the open file has little icons for everything you need. One of them is a tiny sheet of paper representing the PDF option. Do you have that on your version? If so, simply click that (once not twice) and your PDF should appear in a separate window in jEdit's native PDF viewer. Especially if your compilation creates a ./ file name as I see it does. Hope this helps. Gordon+ ___ 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: Fw: Help needed - missing .pdf file after running lilypond sucessfully.
Ming, On 24/09/10 23:15, MING TSANG wrote: Hi, neuro: I think you problem can be resolved. Please refer to vol94 issue 94 message 3 from Phil Holmes. If you are not absolutely need .ps, don't try. My problem is after I added as suggested from Phil Holmes, I got the .ps file and I lost .pdf file. I comment out the line #(ly:set-option 'delete-intermediate-files #f) and re-run lilypond, but I lost both .ps and .pdf since. It has been a couple of days. I have been asking help from lilypond users to resolve. I now wait for help from lily4jedif user. Lilypond users: I run Command line lilypond (CMD.EXE) as c:Documents and Settings\Administrator\Desktop\LILY_PONDlilypond -f --pdf more-love-to-thee.ly and I get the following error message: GNU LilyPond 2.6.5 This means you have an ancient version of Lilypond installed on your machine, and the \version in your source file specifies a later Lilypond version as the minimum valid version. Make sure you're running in an account with administrator privileges, You need to download the latest LilyPond Version from the website (go for version 2.13.34 if you can, and save it in downloads directory). You should now de-install Lilypond 2.6.5 (there should be an Uninstall option in your Start | All Programs | Lilypond Menu. Once you've uninstalled V2.6.5, run the exe you have downloaded to install Lilypond 2.13.34. Run this command from the cmd window lilypond It should tell you it's running version 2.13.34. Now try your test again. Cheers, Ian error: Incorrect lilypond version: 2.13.32 (2.3.22, 2.6.5) Can anyone show me how can I set up CMD to run v2.13.33? I uninstall v2.6.5 and install v3.13.33 - how come I am still running v2.6.5. Thanks everyone, Ming. From: neuro黃å¸ä» neu...@gmail.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Fri, September 24, 2010 2:09:48 PM Subject: Re: Fw: Help needed - missing .pdf file after running lilypond sucessfully. Dear Dr. Tsang You might want to check out lilypond --help Actually, I have met similar, (or more precisely, reverse,) problems when I run 2.13.33 last month. It seems, lilypond have output a pdf file, without a ps file as the ps file was converted to pdf, when I run 2.13.33 last month, as lilypond musicfile.ly (The output files shoud be both ps and pdf, in my expectation.) So, to specifically assign the output to be a ps file, according to the --help, I run lilypond -f --ps musicfile.ly So, you might want to run lilypond -f --pdf musicfile.ly for specifically assign the pdf in your situation. options are -f --ps -f --pdf -f --png good luck ^_^ neuro 黃 neu...@gmail.com === 2010/9/25 MING TSANG tsan...@rogers.com: the following reply all did't go thru. Now I try again, just send ti lilypond users. - Forwarded Message From: MING TSANG tsan...@rogers.com To: Kaz Kylheku k...@kylheku.com Cc: lilypond-user@gnu.org Sent: Fri, September 24, 2010 8:58:11 AM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. Kaz, thank you. I don't know how to run lilypond on CMD EXE. Can you provide some command line script? I try the alternative method as suggested. I got the following message: GS.EXE entry point not found -- the procedure entry point gsapi_delete_insta...@4 could not be located in the dynamic link library gs-8.70.dll For the past few days I have been rebooting window xp several times. Mark Polesky: thank you for pointing me to contact jedit users. I have send them an email and waiting for their response. From: Kaz Kylheku k...@kylheku.com To: MING TSANG tsan...@rogers.com Cc: lilypond-user@gnu.org Sent: Thu, September 23, 2010 11:02:24 PM Subject: Re: Help needed - missing .pdf file after running lilypond sucessfully. This mailing list is about Lilypond. What happens if you run just the lilypond executable? In windows you can open a CMD.EXE window on the folder and run lilypond on the file. If the executable is not in your %PATH%, you will have to use the full path. Alternately, you should be able, in Explorer, to right click on the .ly file and invoke the Generate PDF command from the popup menu. Be sure that no program has any of the output files (MIDI, PDF, ...) open, because this may prevent Lilypond from being able to write to the files. (Install a real OS to avoid that problem). If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe the surrounding tools are eating the PDF. Also, when was the last time you rebooted that Windows? At least once every few days is a good idea. On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG tsan...@rogers.com wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf
Re: Help needed - missing .pdf file after running lilypond sucessfully.
MING TSANG wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf is generated as well. However I find the .ps file but no .pdf file on the folder where the .ly file resides. It's possible that no one here knows the answer, since this looks like a LilyPondTool issue. Your file compiles fine on my Ubuntu's command line; the pdf shows up as expected. I would try the LilyPondTool user mailing list: lily4jedit-u...@lists.sourceforge.net - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed - missing .pdf file after running lilypond sucessfully.
This mailing list is about Lilypond. What happens if you run just the lilypond executable? In windows you can open a CMD.EXE window on the folder and run lilypond on the file. If the executable is not in your %PATH%, you will have to use the full path. Alternately, you should be able, in Explorer, to right click on the .ly file and invoke the Generate PDF command from the popup menu. Be sure that no program has any of the output files (MIDI, PDF, ...) open, because this may prevent Lilypond from being able to write to the files. (Install a real OS to avoid that problem). If you follow this procedure and get a PDF, there is no Lilypond problem. Maybe the surrounding tools are eating the PDF. Also, when was the last time you rebooted that Windows? At least once every few days is a good idea. On Thu, 23 Sep 2010 15:51:34 -0700 (PDT), MING TSANG wrote: Here below is jedit console message display. According to the message a .ps file is generated and a .pdf is generated as well. However I find the .ps file but no .pdf file on the folder where the .ly file resides. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running LilyPond from a memory stick
I would be interested in such a solution as well, since I just got a new Laptop from my employer with Windows Vista and no administrators rights to install any new programs. Interstingly enough, one exception is MikTeX, which can be installed in the local users directory without any administrators rights. /Mats Valentin Villenave wrote: 2008/4/12 Ben Lewis [EMAIL PROTECTED]: Start Run RegEdit? I know it exists in XP, so that should work. No; the point is, you should have to be able to run LilyPond from the USB stick *without* modifying the registry at all. Some applications (look, for instance, at the portable version of Firefox or GIMP) manage to intercept registry calls and substitute their own parameters; that's what we should try to implement. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) 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: Running LilyPond from a memory stick
I do actually use lilypond casually from the usb stick, but just with the command line interface: I have a batch file calling cmd with the lilypond dir as an addition to the path. The whole thing is an adaptation of the miktex on usb script you can find in the net. The address for that is: ftp://tug.ctan.org/pub/tex-archive/info/MiKTeX+Ghostscript+GSview+USB-drive-HOWTO.txt Here they use indeed regedit to modify the registry -- you just have to redo the changes before finishing the session. Till Valentin Villenave wrote: 2008/4/12 Ben Lewis [EMAIL PROTECTED]: Start Run RegEdit? I know it exists in XP, so that should work. No; the point is, you should have to be able to run LilyPond from the USB stick *without* modifying the registry at all. Some applications (look, for instance, at the portable version of Firefox or GIMP) manage to intercept registry calls and substitute their own parameters; that's what we should try to implement. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user - * * * * * * * * * * * * * * * * * * * * * * * * * LilyPond-Hilfe auch auf deutsch im http://www.lilypondforum.de/index.php LilyPond-Forum . -- View this message in context: http://www.nabble.com/Running-LilyPond-from-a-memory-stick-tp16638329p16660001.html 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: Running LilyPond from a memory stick
2008/4/12 Ben Lewis [EMAIL PROTECTED]: Start Run RegEdit? I know it exists in XP, so that should work. No; the point is, you should have to be able to run LilyPond from the USB stick *without* modifying the registry at all. Some applications (look, for instance, at the portable version of Firefox or GIMP) manage to intercept registry calls and substitute their own parameters; that's what we should try to implement. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Running LilyPond from a memory stick
Greetings - Has anyone been able to run LilyPond from/on a memory stick? I have a 16 Gb stick, and I'd like to run LilyPond from it, but I don't know what problems I'm likely to encounter. The computers I plan to use both run Windows XP SP2. The stick is set up to run programs, but it looks for U3 package files (*.u3p). Has anyone built .u3p files for LilyPond? Alternatively, anyone know what files and/or directories would have to be mounted on the memory stick? Thank you for your time and attention, Ralph + Ralph Palmer, CEM Energy/Administrative Coordinator Keene State College Keene, NH 03435-2502 Phone: 603-358-2230 Cell: 603-209-2903 Fax: 603-358-2456 [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running LilyPond from a memory stick
2008/4/11 Palmer, Ralph [EMAIL PROTECTED]: Has anyone been able to run LilyPond from/on a memory stick? I have a 16 Gb stick, and I'd like to run LilyPond from it, but I don't know what problems I'm likely to encounter. The computers I plan to use both run Windows XP SP2. The stick is set up to run programs, but it looks for U3 package files (*.u3p). Has anyone built .u3p files for LilyPond? Alternatively, anyone know what files and/or directories would have to be mounted on the memory stick? That was one of the features I was planning to implement with the EasyLilyPond installer. If I were you, I'd forget about .u3p packages. You can simply copy LilyPond binary files (as found in Program Files\LilyPond) on your key; then the only problem is that LilyPond needs some environment variables to work. There's a program that hooks into the Windows registry and modifies it on the fly, but I can't remember how it's called (I vaguely remember some icon that looked like coffee (?) but...). My best guess is that we'd only need to make such a trick. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Running LilyPond from a memory stick
Start Run RegEdit? I know it exists in XP, so that should work. On Friday 11 April 2008 16:25:14 Valentin Villenave wrote: 2008/4/11 Palmer, Ralph [EMAIL PROTECTED]: Has anyone been able to run LilyPond from/on a memory stick? I have a 16 Gb stick, and I'd like to run LilyPond from it, but I don't know what problems I'm likely to encounter. The computers I plan to use both run Windows XP SP2. The stick is set up to run programs, but it looks for U3 package files (*.u3p). Has anyone built .u3p files for LilyPond? Alternatively, anyone know what files and/or directories would have to be mounted on the memory stick? That was one of the features I was planning to implement with the EasyLilyPond installer. If I were you, I'd forget about .u3p packages. You can simply copy LilyPond binary files (as found in Program Files\LilyPond) on your key; then the only problem is that LilyPond needs some environment variables to work. There's a program that hooks into the Windows registry and modifies it on the fly, but I can't remember how it's called (I vaguely remember some icon that looked like coffee (?) but...). My best guess is that we'd only need to make such a trick. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- My PGP key (can be found on the Ubuntu Keyserver) Fingerprint is: 74D9 E4BE 2F95 3806 E2FA 7E04 8A71 5831 0E8B CAA1 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
Trouble running LilyPond under OS X (10.5.1 aka Leopard)
I have downloaded both LilyPond v2.10.33-1 and v2.11.36-1 and have tried running them without success under Leopard (10.5.1). When launching LilyPond for the first time, the application loads and the default introduction page is displayed. However, the only menu item is LilyPond yet there are no sub-menu items to be found. I must perform a Force Quit in order to terminate LilyPond. If anyone has any experience running LilyPond under Leopard, I'd be interested in hearing about it. Thank you. Caine [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Trouble running LilyPond under OS X (10.5.1 aka Leopard)
See the report on the bug list; I believe it's number 504 or 506. Cheers, - Graham On Sun, 16 Dec 2007 08:12:38 + (UTC) Caine [EMAIL PROTECTED] wrote: I have downloaded both LilyPond v2.10.33-1 and v2.11.36-1 and have tried running them without success under Leopard (10.5.1). When launching LilyPond for the first time, the application loads and the default introduction page is displayed. However, the only menu item is LilyPond yet there are no sub-menu items to be found. I must perform a Force Quit in order to terminate LilyPond. If anyone has any experience running LilyPond under Leopard, I'd be interested in hearing about it. Thank you. Caine [EMAIL PROTECTED] ___ 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