Discussion:
Missing package lilypond-book->latex
Maurits Lamers
2013-12-06 13:42:28 UTC
Permalink
Hi all,

I am trying to get the LilypondBook module to work under Mac OSX Mountain Lion (10.8), but it complains about not being able to find a package named lilypond-book->latex.
I used the Tex Live Utility to find a package with that name, but haven't been able to find it, and anything else lilypond-related is already installed.

The Lyx log says:

14:28:45.466: (dialog-show document)Warning: 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. LaTeX output may not be possible.
Missing prerequisites:
lilypond-book->latex
See section 3.1.2.3 (Modules) of the User's Guide for more information.

I have tried to put lilypond-book and lilypond in the PATH, checked on permissions, but nothing seems to make a conversion to PDF available in the Edit menu.
Running TexLive 2013, Lyx 2.0.6, Lilypond 2.16.1.

Anyone a clue on how to fix it?
Thanks in advance!

cheers

Maurits
Julien Rioux
2013-12-06 14:31:00 UTC
Permalink
Post by Maurits Lamers
Hi all,
I am trying to get the LilypondBook module to work under Mac OSX Mountain Lion (10.8), but it complains about not being able to find a package named lilypond-book->latex.
I used the Tex Live Utility to find a package with that name, but haven't been able to find it, and anything else lilypond-related is already installed.
14:28:45.466: (dialog-show document)Warning: 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. LaTeX output may not be possible.
lilypond-book->latex
See section 3.1.2.3 (Modules) of the User's Guide for more information.
It's missing the converter from the lilypond format to the latex format.
This converter is a python script called lilypond-book (it might have a
.py extension or not, depending on the OS) and it comes installed with
lilypond.
Post by Maurits Lamers
I have tried to put lilypond-book and lilypond in the PATH, checked on permissions, but nothing seems to make a conversion to PDF available in the Edit menu.
Running TexLive 2013, Lyx 2.0.6, Lilypond 2.16.1.
First thought: Did you reconfigure LyX? (menu Tools > Reconfigure)

Cheers,
Julien
Maurits Lamers
2013-12-06 17:00:23 UTC
Permalink
Hi,

Thanks for replying so quickly!
It's missing the converter from the lilypond format to the latex format. This converter is a python script called lilypond-book (it might have a .py extension or not, depending on the OS) and it comes installed with lilypond.
I know lilypond-book, I have used it manually for years, and didn't know that there was a LyX module for it, so I decided to try it out.
It would be very helpful though if the error message was more clear by telling me there was something wrong with lilypond-book. To me a package is a TeX thing, such as styles and document classes, not a lilypond script, so it is a bit cryptic :)
A small entry on the wiki might also be helpful.
Post by Maurits Lamers
I have tried to put lilypond-book and lilypond in the PATH, checked on permissions, but nothing seems to make a conversion to PDF available in the Edit menu.
Running TexLive 2013, Lyx 2.0.6, Lilypond 2.16.1.
First thought: Did you reconfigure LyX? (menu Tools > Reconfigure)
Yes, over 10 times already since this morning, but for some reason it still seemed unable to find lilypond-book. I didn't understand why it was there, it was in the path and everything, until I decided to try to run it.

Lilypond has instructions on how to make the commands available on the command line, which consist of creating new executable bash scripts which point at the actual Lilypond scripts. I didn't understand why to make scripts when there is also something like symbolic links, of which I (incorrectly) assumed would amount to the same.
Running the script manually gave back an error of not finding some libraries, which explain perfectly why the module didn't want to load.

After creating the actual script to point to lilypond-book and reconfiguring LyX, suddenly things worked.
Thanks again for replying!

cheers

Maurits
Tommy
2014-10-23 18:56:04 UTC
Permalink
Post by Maurits Lamers
Hi,
Thanks for replying so quickly!
Op 6 dec. 2013, om 15:31 heeft Julien Rioux <jrioux <at> lyx.org> het
Post by Julien Rioux
It's missing the converter from the lilypond format to the latex format.
This converter is a python script
Post by Maurits Lamers
called lilypond-book (it might have a .py extension or not, depending on
the OS) and it comes installed
Post by Maurits Lamers
with lilypond.
I know lilypond-book, I have used it manually for years, and didn't know
that there was a LyX module for it, so
Post by Maurits Lamers
I decided to try it out.
It would be very helpful though if the error message was more clear by
telling me there was something wrong
Post by Maurits Lamers
with lilypond-book. To me a package is a TeX thing, such as styles and
document classes, not a lilypond
Post by Maurits Lamers
script, so it is a bit cryptic :)
A small entry on the wiki might also be helpful.
Post by Julien Rioux
Post by Maurits Lamers
I have tried to put lilypond-book and lilypond in the PATH, checked on
permissions, but nothing seems to
Post by Maurits Lamers
make a conversion to PDF available in the Edit menu.
Post by Julien Rioux
Post by Maurits Lamers
Running TexLive 2013, Lyx 2.0.6, Lilypond 2.16.1.
First thought: Did you reconfigure LyX? (menu Tools > Reconfigure)
Yes, over 10 times already since this morning, but for some reason it
still seemed unable to find
Post by Maurits Lamers
lilypond-book. I didn't understand why it was there, it was in the path
and everything, until I decided to
Post by Maurits Lamers
try to run it.
Lilypond has instructions on how to make the commands available on the
command line, which consist of
Post by Maurits Lamers
creating new executable bash scripts which point at the actual Lilypond
scripts. I didn't understand why
Post by Maurits Lamers
to make scripts when there is also something like symbolic links, of which
I (incorrectly) assumed would
Post by Maurits Lamers
amount to the same.
Running the script manually gave back an error of not finding some
libraries, which explain perfectly why
Post by Maurits Lamers
the module didn't want to load.
After creating the actual script to point to lilypond-book and
reconfiguring LyX, suddenly things worked.
Post by Maurits Lamers
Thanks again for replying!
cheers
Maurits
I am having the same problem.
Could you explain where I can find these scripts please? or how I can make
them?
Many thanks,
Tommy

Loading...