On 07/02/2016 15:26, David Kastrup wrote:
Dave Plater <dplater.l...@gmail.com> writes:
On 07/02/2016 14:16, Simon Albrecht wrote:
This would rather be a case for the bug list.
-------- Forwarded Message --------
Subject: lilypond-book/pdflatex: LaTeX Error: Environment
lilypond undefined.
Date: Sun, 7 Feb 2016 11:58:51 +0200
From: Dave Plater <dplater.l...@gmail.com>
To: lilypond-devel@gnu.org
Hi, I maintain lilypond in openSUSE and while I'm good at building and
packaging I'm far from competent as a lilypond user. A user has filed a
bug with the title listed in this messages subject. Could somebody
please have a quick look and maybe offer a hint as to what is causing
it. See :
https://bugzilla.opensuse.org/show_bug.cgi?id=964357
Unfortunately I'm only subscribed to this list and just wondered if
somebody could tell me if this is actually a bug or the wrong usage of
lilypond-book. Lilypond-2.18.2 being very mature I would have expected
there to have been a bug report already but I can't find any.
That looks like LilyPond-book being only half-functional, assuming that
the given lilybook.lytex file is well-formed (not exactly a given
either). In that case, I would suspect the culprit to be the wrong
Python version: LilyPond's Python scripts require Python 2 to be run.
I don't know how typical packagers may ensure that this is the case.
All our python3 is suffixed 3 so lilypond can only run with python-2x
which in the case of the reporter is python-2.7.8
The reporter uploaded the file he has problems with but failed to upload
file2.ly which is mentioned in testbook.lytex, this file looks well
written to me. I can't even get to his failure point on my system yet.
Is there a complete .lytex file somewhere that I can use without copying
text from the documentation and I also don't understand his comment that
lilypond-book succeeds "If you place the contents inline, it doesn't
work; if you include the contents, it works."
Thanks
Dave Plater
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel