bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undef


From: Dave Plater
Subject: Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.
Date: Sun, 7 Feb 2016 18:08:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0



On 07/02/2016 15:26, David Kastrup wrote:
Dave Plater <address@hidden> 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 <address@hidden>
To:     address@hidden



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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]