lilypond-book download
I already have lilypond in my Ubuntu. What must I download so that I can use lilypond-book? -- View this message in context: http://old.nabble.com/lilypond-book-download-tp32359182p32359182.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book download
Thanks! I'm having trouble understanding something. In Item 4 of "GNU Lilypond – Application Usage", under the heading "Integrating Text and Music", it explicitly says this "lilypond-book provides a way to automate this process: This program extracts snippets of music from your document, runs lilypond on them, and outputs the document with pictures substituted for the music." According to this, LilypondBook is a "program". I'm new to command-line usage, so that might be why this confuses me. Is it not a stadalone program? I wish the Lilypond site had complete examples to study from, rather than just specific examples meant to be understood only by experienced command-line users who would know where to apply them. I have TeXMaker, TeXWorks, TeXLive, eMacs, GNUTeXmacs, have tried to get a pdf file with text and music from all of them without success. I've no idea, for instance, how to make TeXMaker understand a Lilypond command; or what program to use TexXInfo on, or even whether TeXInfo is itself a program. Could you tell me whether there are complete examples somewhere which I could study from? Thanks again! Reinhold Kainhofer wrote: > > Am Dienstag, 30. August 2011, 16:01:01 schrieb Dmytro O. Redchuk: >> On Mon 29 Aug 2011, 11:43 Pablo Zumarán wrote: >> > I already have lilypond in my Ubuntu. What must I download so that I >> can >> > use lilypond-book? >> >> You need to have latex (texlive-latex-base at least) installed. > > Only if you want to process latex files with lilypond-book. If you want to > process html files, you don't need anything else. If you want to process > texinfo files, apparently you need texinfo (which in turn depends on > latex). > > Cheers, > Reinhold > -- > -- > Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ > * Financial & Actuarial Math., Vienna Univ. of Technology, Austria > * http://www.fam.tuwien.ac.at/, DVR: 0005886 > * LilyPond, Music typesetting, http://www.lilypond.org > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/lilypond-book-download-tp32359182p3235.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book download
Thank you very much for that tip. Following your advice, I've installed Lyx in my Ubuntu. In the included documentation, I've found only one reference to Lilypond (to use Insert>File>External Material>Lilypond file). When I do this (ie, insert a .ly file) all I get is a field saying "Lilypond typeset music". Then, when I do Insert>Custom Insets>Lilypond, I get an inset where I can type in lilypond code. BUT I haven't been able to see the actual music, nor to export the LyX file as a pdf. If it's not asking too much, how do you do that? I'm most grateful to you and of course to the LyX people. I'm about to end a two-year search (from zero) for a program that lets me do just that. bart.deruyter wrote: > > I had the same 'problem'.. It is indeed not that easy. That's why I now > tried the latest Lyx version, which includes the possibility to include > lilypond code, and it uses, as far as I know, lilypond-book as backend, > but > it is hidden, so no command line is needed. Perhaps you could give that a > try.. > grtz, > Bart > > http://www.bartart3d.be/ > > > 2011/8/30 Pablo Zumarán > >> >> Thanks! >> >> I'm having trouble understanding something. In Item 4 of "GNU Lilypond – >> Application Usage", under the heading "Integrating Text and Music", it >> explicitly says this "lilypond-book provides a way to automate this >> process: >> This program extracts snippets of music from your document, runs lilypond >> on >> them, and outputs the document with pictures substituted for the music." >> According to this, LilypondBook is a "program". I'm new to command-line >> usage, so that might be why this confuses me. Is it not a stadalone >> program? >> >> I wish the Lilypond site had complete examples to study from, rather than >> just specific examples meant to be understood only by experienced >> command-line users who would know where to apply them. I have TeXMaker, >> TeXWorks, TeXLive, eMacs, GNUTeXmacs, have tried to get a pdf file with >> text >> and music from all of them without success. I've no idea, for instance, >> how >> to make TeXMaker understand a Lilypond command; or what program to use >> TexXInfo on, or even whether TeXInfo is itself a program. >> >> Could you tell me whether there are complete examples somewhere which I >> could study from? >> >> Thanks again! >> >> >> Reinhold Kainhofer wrote: >> > >> > Am Dienstag, 30. August 2011, 16:01:01 schrieb Dmytro O. Redchuk: >> >> On Mon 29 Aug 2011, 11:43 Pablo Zumarán wrote: >> >> > I already have lilypond in my Ubuntu. What must I download so that I >> >> can >> >> > use lilypond-book? >> >> >> >> You need to have latex (texlive-latex-base at least) installed. >> > >> > Only if you want to process latex files with lilypond-book. If you want >> to >> > process html files, you don't need anything else. If you want to >> process >> > texinfo files, apparently you need texinfo (which in turn depends on >> > latex). >> > >> > Cheers, >> > Reinhold >> > -- >> > -- >> > Reinhold Kainhofer, reinh...@kainhofer.com, >> http://reinhold.kainhofer.com/ >> > * Financial & Actuarial Math., Vienna Univ. of Technology, Austria >> > * http://www.fam.tuwien.ac.at/, DVR: 0005886 >> > * LilyPond, Music typesetting, http://www.lilypond.org >> > >> > >> > ___ >> > lilypond-user mailing list >> > lilypond-user@gnu.org >> > https://lists.gnu.org/mailman/listinfo/lilypond-user >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/lilypond-book-download-tp32359182p3235.html >> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. >> >> >> ___ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/lilypond-book-download-tp32359182p32367974.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lyx usage [WAS: Re: lilypond-book download]
Thank you very much for the tip! Now I can see the music on LyX and view the pdf file. This is exactly the sort of program I was looking for, and now I can get down to work on my book. Who must I thank? Federico Bruni-5 wrote: > > Il 30/08/2011 23:42, Pablo Zumarán ha scritto: >> Thank you very much for that tip. Following your advice, I've installed >> Lyx >> in my Ubuntu. In the included documentation, I've found only one >> reference >> to Lilypond (to use Insert>File>External Material>Lilypond file). When I >> do >> this (ie, insert a .ly file) all I get is a field saying "Lilypond >> typeset >> music". Then, when I do Insert>Custom Insets>Lilypond, I get an inset >> where >> I can type in lilypond code. BUT I haven't been able to see the actual >> music, nor to export the LyX file as a pdf. If it's not asking too much, >> how >> do you do that? > > Click on the first icon in the icon bar (the two eyes) or type "Ctrl + R". > You should see the PDF file in your external pdf viewer. > > Otherwise you can see the output inside Lyx, if you enable the instant > preview: > http://wiki.lyx.org/LyX/InstantPreview > > HTH, > Federico > > PS (just a memo for me) > The custom insets for Lilypond must be enabled in > Document>Settings>Modules (add lilypond book). > The instant preview doesn't show the image generated by the code in the > inset, you can see it only in the external pdf. > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/lilypond-book-download-tp32359182p32368844.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book download
Thank you! I'll go through it with a magnifying glass... pkx166h-2 wrote: > > Pablo, > > On 8/30/11, Pablo Zumarán wrote: >> >> Thank you very much for that tip. Following your advice, I've installed >> Lyx >> in my Ubuntu. In the included documentation, I've found only one >> reference >> to Lilypond (to use Insert>File>External Material>Lilypond file). When I >> do >> this (ie, insert a .ly file) all I get is a field saying "Lilypond >> typeset >> music". Then, when I do Insert>Custom Insets>Lilypond, I get an inset >> where >> I can type in lilypond code. BUT I haven't been able to see the actual >> music, nor to export the LyX file as a pdf. If it's not asking too much, >> how >> do you do that? >> >> I'm most grateful to you and of course to the LyX people. I'm about to >> end a >> two-year search (from zero) for a program that lets me do just that. >> > > Also see > > http://music2.louisiana.edu/Gratis/ > > This is one user who has done what I think you are trying to do here > (sorry if I am wrong) this has all the source files and I am sure that > Jonathan Kulp would help if you had any queries on how he did what he > did. > > James > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/lilypond-book-download-tp32359182p32368848.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book download
Wow, that's a lot of good stuff. Thank you! Graham Breed wrote: > > Pablo Zumarán wrote: > >> I'm having trouble understanding something. In Item 4 of >> "GNU Lilypond – Application Usage", under the heading >> "Integrating Text and Music", it explicitly says this >> "lilypond-book provides a way to automate this process: >> This program extracts snippets of music from your >> document, runs lilypond on them, and outputs the document >> with pictures substituted for the music." According to >> this, LilypondBook is a "program". I'm new to >> command-line usage, so that might be why this confuses >> me. Is it not a stadalone program? > > Yes, lilypond-book is a program. If you have it, it will > be in /usr/bin/lilypond-book > >> I wish the Lilypond site had complete examples to study >> from, rather than just specific examples meant to be >> understood only by experienced command-line users who >> would know where to apply them. I have TeXMaker, >> TeXWorks, TeXLive, eMacs, GNUTeXmacs, have tried to get a >> pdf file with text and music from all of them without >> success. I've no idea, for instance, how to make TeXMaker >> understand a Lilypond command; or what program to use >> TexXInfo on, or even whether TeXInfo is itself a program. > > If you're working with LaTeX, you need to run pdflatex on > the file that lilypond-book produces. In Ubuntu, pdflatex > should come with TeXLive and be in /usr/bin/pdflatex > > For Lilypond 2.12 (the one that comes with Ubuntu LTS) full > instructions are in the documentation. The first example, > under Application Usage is in "4.1 An example of a > musicological document". If you don't have xpdf, replace > it with evince to view the resulting file. If you don't > have lilypond-book or pdflatex, Ubuntu will tell you how to > install them. > > If you aren't familiar with the command line, you'll need a > tutorial on that. This is the first one that comes up with > Google: > > http://www.ee.surrey.ac.uk/Teaching/Unix/ > > By the end of Tutorial Three, you should know what you need > to follow the Lilypond documentation. > > > Graham > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/lilypond-book-download-tp32359182p32368853.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
ubuntu lyx lilypond latex
I need some basic help will lilypond-latex installation. I want to use Ubuntu exclusively to write a musicological book with lilypond+LyX. To get rid of some rubbish that was stalling my system, I reinstalled Ubuntu from zero; then I installed LyX and "A decent selection of the TeX Live packages". I also have lilypond in my usr/bin. In LyX, when I go to Document>Settings>Modules and try to insert the lilypond-book module, I get a message saying: "Package not available: The module lilypond requires a package that is not available in your LaTeX installation, or a converter that you have not installed. (...) Missing prerequisites: lilypond-book->latex." What do I have to install now? Where do I get it? Thank you. -- View this message in context: http://old.nabble.com/ubuntu-lyx-lilypond-latex-tp32452039p32452039.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ubuntu lyx lilypond latex
Thanks. I'm a newcomer to command-line. I've tried emacs and other editors, but LyX is closer to the way I'm used to doing things. I may end up doing just what you recommend, but for the moment I'd just like to know what a "lilypond book latex package" IS and how to get it. I'm lost. Ben Luo-3 wrote: > > On 13/09/2011 07:02, Pablo Zumarán wrote: >> I need some basic help will lilypond-latex installation. >> >> I want to use Ubuntu exclusively to write a musicological book with >> lilypond+LyX. >> >> To get rid of some rubbish that was stalling my system, I reinstalled >> Ubuntu >> from zero; then I installed LyX and "A decent selection of the TeX Live >> packages". I also have lilypond in my usr/bin. >> >> In LyX, when I go to Document>Settings>Modules and try to insert the >> lilypond-book module, I get a message saying: >> >> "Package not available: The module lilypond requires a package that is >> not >> available in your LaTeX installation, or a converter that you have not >> installed. (...) Missing prerequisites: lilypond-book->latex." >> >> What do I have to install now? Where do I get it? >> >> Thank you. >> > I don't think LyX is a good choice. Just learn a very little about TeX, > you will finish your work with any editor. For me, it's emacs. > > TeX is for what you think is what you get. NOT what you look is what you > get. LyX is a wrong direction from my point of view. > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/ubuntu-lyx-lilypond-latex-tp32452039p32457229.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ubuntu lyx lilypond latex
I have v2.0.0. From what you've said in response to my query, I gather that v2.0.1 already has a lilypond-book latex package. If that's not so, do you know where I can find it? Thanks! Nick Payne-3 wrote: > > On 13/09/11 09:02, Pablo Zumarán wrote: >> I need some basic help will lilypond-latex installation. >> >> I want to use Ubuntu exclusively to write a musicological book with >> lilypond+LyX. >> >> To get rid of some rubbish that was stalling my system, I reinstalled >> Ubuntu >> from zero; then I installed LyX and "A decent selection of the TeX Live >> packages". I also have lilypond in my usr/bin. >> >> In LyX, when I go to Document>Settings>Modules and try to insert the >> lilypond-book module, I get a message saying: >> >> "Package not available: The module lilypond requires a package that is >> not >> available in your LaTeX installation, or a converter that you have not >> installed. (...) Missing prerequisites: lilypond-book->latex." >> >> What do I have to install now? Where do I get it? > Which version of LyX do you have installed. I think you need a minimum > of v2.0. The latest stable version from ftp.lyx.org is 2.0.1 - see > ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/. You will need to download the > source (lyx-2.0.1.tar.gz) and follow the instructions in the INSTALL > file to build and install it. It's not very difficult. > > Nick > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/ubuntu-lyx-lilypond-latex-tp32452039p32457251.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ubuntu lyx lilypond latex
Thank you! I've got it running now! There's only a little snag, though. Some times, the preview doesn't work; it just shows the code in the default document font (not the code font). However, all I have to do is select Tools>Reconfigure again and restart. It's not much bother, and I wouldn't have mention it if you hadn't asked for feedback some time ago. Thanks again! Julien Rioux-2 wrote: > > On 13/09/2011 7:43 PM, Josiah Boothby wrote: >> When I experimented with this, it seemed that LyX required a >> sufficiently recent minimum version of Lilypond. If the version of >> Ubuntu you're using has an outdated version of Lilypond, LyX won't use >> it. >> >> Make sure you have lilypond version 2.14.x or greater as well as Lyx >> 2.0.x. >> >> --Josiah >> > > That's right, you will need version 2.14 of lilypond. Once you have it > installed, run LyX and select the menu Tools > Reconfigure, then restart > LyX. > > Also have a look at the example file lilypond.lyx in the menu File > > Open, click the Examples button, and you will see the file lilypond.lyx > among other example files. Open it and see. Do File > Save as... and > then do some modifications if you would like. > > Cheers, > Julien > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/ubuntu-lyx-lilypond-latex-tp32452039p32458911.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ubuntu lyx lilypond latex
I have some further feedback to give you. Indeed, there's no need to reconfigure, as you've said. However, I notice this: Each time I open a document with lilypond code in it which has previously previewed well, I get the code in document font. There's nothing wrong with the code, since it worked previously AND can outputs correctly as PDF. But if I then change something -- e.g. pressing ENTER at the end, or by adding a blank space there, or by flattening a note, &c -- the code previews correctly. If I then change it back to what it was before, the preview doesn't work again. Now, if I SAVE the file with the code that previews correctly, then open it again, the previews don't work again, so I have to make new changes to make it work. So the gist seems to be this: whatever is in the file, or whatever is some background memory does not preview. Only new changes preview. Now here's something interesting: If I just open a file with code and wait for the preview, I get the code in document font. HOWEVER, if I open the same file and immediately Alt-Tab into another program previously opened (such as Firefox, &c) and THEN Alt-Tab back to Lyx, the previews come up instantly and perfectly. I have absolutely no idea why all of this consistently happen, but I hope this feedback is useful. Julien Rioux-2 wrote: > > On 13/09/2011 10:38 PM, Pablo Zumarán wrote: >> >> Thank you! I've got it running now! >> >> There's only a little snag, though. Some times, the preview doesn't work; >> it >> just shows the code in the default document font (not the code font). >> However, all I have to do is select Tools>Reconfigure again and restart. >> It's not much bother, and I wouldn't have mention it if you hadn't asked >> for >> feedback some time ago. >> >> Thanks again! >> >> >> Julien Rioux-2 wrote: >>> >>> On 13/09/2011 7:43 PM, Josiah Boothby wrote: >>>> When I experimented with this, it seemed that LyX required a >>>> sufficiently recent minimum version of Lilypond. If the version of >>>> Ubuntu you're using has an outdated version of Lilypond, LyX won't use >>>> it. >>>> >>>> Make sure you have lilypond version 2.14.x or greater as well as Lyx >>>> 2.0.x. >>>> >>>> --Josiah >>>> >>> >>> That's right, you will need version 2.14 of lilypond. Once you have it >>> installed, run LyX and select the menu Tools> Reconfigure, then restart >>> LyX. >>> >>> Also have a look at the example file lilypond.lyx in the menu File> >>> Open, click the Examples button, and you will see the file lilypond.lyx >>> among other example files. Open it and see. Do File> Save as... and >>> then do some modifications if you would like. >>> >>> Cheers, >>> Julien >>> >>> >>> ___ >>> lilypond-user mailing list >>> lilypond-user@gnu.org >>> https://lists.gnu.org/mailman/listinfo/lilypond-user >>> >>> >> > > You won't need to do Tools>Reconfigure each time. This is only when you > install a new external tool, and you want LyX to detect it. As in: after > installing a newer version of lilypond. > > When playing around with lilypond in LyX, I also sometimes got previews > showing the code in the document font. This occurred each time I had > made a mistake in the lilypond code. The bad code is then not replaced > by an image, since lilypond failed to produce any image. Instead the > code is interpreted as text by latex. I hope it is not too much of a > bother. I though we were already catching lilypond errors and > interrupting the preview process in such case, but it seems not. > > Anyway, good luck with your book project. > > Cheers, > Julien > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > > -- View this message in context: http://old.nabble.com/ubuntu-lyx-lilypond-latex-tp32452039p32473789.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user