lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Dave Plater
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
Thanks
Dave Plater

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Simon Albrecht

This would rather be a case for the bug list.

Best, Simon


 Forwarded Message 
Subject: 	lilypond-book/pdflatex: LaTeX Error: Environment lilypond 
undefined.

Date:   Sun, 7 Feb 2016 11:58:51 +0200
From:   Dave Plater 
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
Thanks
Dave Plater

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel




___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Dave Plater
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.

Thanks
Dave Plater

On 07/02/2016 14:16, Simon Albrecht wrote:

This would rather be a case for the bug list.

Best, Simon


 Forwarded Message 
Subject: lilypond-book/pdflatex: LaTeX Error: Environment lilypond 
undefined.

Date: Sun, 7 Feb 2016 11:58:51 +0200
From: Dave Plater 
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
Thanks
Dave Plater

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel






___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread David Kastrup
Dave Plater  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 
>>> 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.

-- 
David Kastrup

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Noeck
Both the test file and the issue text show wrong syntax like
\end\lilypond} or \end{lilypond\ and the test file includes a file2
which we do not have. If I correct that it works for me (Ubuntu).

So in order to make this reproducible and trace it down, complete and
correct files would be good to have, to make sure such typos are not the
reason for it.

Cheers,
Joram

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Super and sub

2016-02-07 Thread Noeck
Hi,

to follow the instructions given on
http://lilypond.org/doc/v2.19/Documentation/contributor/git_002dcl I
need a Rietveld account. I have a sourceforge account for
testlilyissues, is that equivalent to an Allura account? Do I need
someting more to use git-cl correctly?

Best,
Joram

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Super and sub

2016-02-07 Thread Simon Albrecht

On 07.02.2016 15:07, Noeck wrote:

to follow the instructions given on
http://lilypond.org/doc/v2.19/Documentation/contributor/git_002dcl  I
need a Rietveld account.


To login on Rietveld, you need any Google account, like you might use 
for Gmail, YouTube, or have been using for Google Code.



  I have a sourceforge account for
testlilyissues, is that equivalent to an Allura account?


Yes, Allura is the OS/tracker software used by sourceforge.

Best, Simon

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Super and sub

2016-02-07 Thread Noeck
> To login on Rietveld ...

Perhaps I should rather ask: where is Rietveld? I found this
https://codereview.appspot.com/search?base=http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
and tried to sign in. But Google wants my phone number, I guess I am out :(

Best,
Joram


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Add \with-dimensions-from markup command (issue 281710043 by simon.albre...@mail.de)

2016-02-07 Thread simon . albrecht

Reviewers: ,

Message:
Please review.

Description:
Add \with-dimensions-from markup command

This command acts as a front-end to \with-dimensions,
taking the new dimensions from a markup object instead of
having them explicitly given.
Also provides a Changes entry.
I didn’t think a regtest was necessary, since the functionality
isn’t new.

Please review this at https://codereview.appspot.com/281710043/

Affected files (+28, -0 lines):
  M Documentation/changes.tely
  M scm/define-markup-commands.scm


Index: Documentation/changes.tely
diff --git a/Documentation/changes.tely b/Documentation/changes.tely
index  
00e53b5e88ff347ea84ea001846164f9f7feae4a..cdefa6e5fe1bc6316f07f9973afb81a41a766c0c  
100644

--- a/Documentation/changes.tely
+++ b/Documentation/changes.tely
@@ -62,6 +62,24 @@ which scares away people.
 @end ignore

 @item
+A new markup-command, @code{\with-dimensions-from}, makes
+@code{\with-dimensions} easier to use by taking the new
+dimensions from a markup object, given as first argument.
+@lilypond[quote,verbatim]
+\markup {
+  \pattern #5 #Y #0 "x"
+  \pattern #5 #Y #0 \with-dimensions-from "x" "f"
+  \pattern #5 #Y #0 \with-dimensions-from "x" "g"
+  \override #'(baseline-skip . 2)
+  \column {
+\pattern #5 #X #0 "n"
+\pattern #5 #X #0 \with-dimensions-from "n" "m"
+\pattern #5 #X #0 \with-dimensions-from "n" "!"
+  }
+}
+@end lilypond
+
+@item
 A new page breaking function @code{ly:one-line-auto-height-breaking}
 places a whole score on a single line and changes the page width
 to match, just like @code{ly:one-line-breaking}.  The difference is that
Index: scm/define-markup-commands.scm
diff --git a/scm/define-markup-commands.scm b/scm/define-markup-commands.scm
index  
edd70f216dc8eaf448987f2e9f81836a4b3f7bd3..e2346c9f64431021470893375975d4c1b185bf55  
100644

--- a/scm/define-markup-commands.scm
+++ b/scm/define-markup-commands.scm
@@ -2251,6 +2251,16 @@ Set the dimensions of @var{arg} to @var{x}  
and@tie{}@var{y}."

   `(delay-stencil-evaluation ,(delay expr))
   x y

+(define-markup-command (with-dimensions-from layout props arg1 arg2)
+  (markup? markup?)
+  #:category other
+  "
+Print @var{arg2} with the dimensions of @var{arg1}."
+  (let* ((stil1 (interpret-markup layout props arg1))
+ (x (ly:stencil-extent stil1 0))
+ (y (ly:stencil-extent stil1 1)))
+(interpret-markup layout props (markup #:with-dimensions x y arg2
+
 (define-markup-command (pad-around layout props amount arg)
   (number? markup?)
   #:category align


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Super and sub

2016-02-07 Thread Thomas Morley
2016-02-07 15:21 GMT+01:00 Noeck :
>> To login on Rietveld ...
>
> Perhaps I should rather ask: where is Rietveld? I found this
> https://codereview.appspot.com/search?base=http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
> and tried to sign in. But Google wants my phone number, I guess I am out :(

Well, google is pretty annoying ...
Though, I just created a new account without giving them my
phone-number or any reference e-mail-account.
I know from other google-accts, Google will keep trying to get it ...
Though it seems there is no need to give it.

Cheers,
  Harm

>
> Best,
> Joram
>
>
> ___
> lilypond-devel mailing list
> lilypond-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-devel

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Dave Plater



On 07/02/2016 15:26, David Kastrup wrote:

Dave Plater  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 
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


Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Dave Plater



On 07/02/2016 15:40, Noeck wrote:

Both the test file and the issue text show wrong syntax like
\end\lilypond} or \end{lilypond\ and the test file includes a file2
which we do not have. If I correct that it works for me (Ubuntu).

So in order to make this reproducible and trace it down, complete and
correct files would be good to have, to make sure such typos are not the
reason for it.

Cheers,
Joram
Could you send me a corrected file, I think that this bug is actually 
about the wording in the documentation.

Thanks
Dave P

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Fwd: lilypond-book/pdflatex: LaTeX Error: Environment lilypond undefined.

2016-02-07 Thread Noeck
Here is the corrected input file.

I ran
lilypond-book testbook.lytex
pdflatex testbook.tex

without errors which produces a correct (though strangely aligned) pdf file.

Cheers,
Joram
% test
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
%
\begin{document}
\begin{center}
\begin{LARGE}
\textbf{Test}
\vspace{1em}
\end{LARGE}
\end{center}

\noindent
Das ist der Text...
\begin{lilypond}
\version "2.18.2"
\include "deutsch.ly"

\header {
title = "La Paloma"
poet = "Helmut Käutner"
composer = \markup \center-align {"Werner Eisbrenner"
  \small "nach"
  "Sebastian Yradier"
  \small "(1809 - 1865)"}
enteredby = "Ulrich Windl"
}

papersize = "a4"

melody = \context Voice = "melodie" \relative c' {
\clef violin
\key a \major
\time 2/4 
\repeat "volta" 2 {
r4. e8 | e2 ( |
\times 2/3 { e8 ) cis d } e fis |
\times 2/3 { gis a fis } gis e |
d2 |
r4. e8 |
b'2 ( |
\times 2/3 { b8 ) cis a } b gis |
\times 2/3 { a gis fis } e8. d16 |
cis2 
}

\repeat "volta" 2 {
\times 2/3 { a'8 a a } a gis |
\times 2/3 { b b a } gis fis |
fis e4. ( | e2 ) |
\times 2/3 { gis8 gis gis } gis fis |
\times 2/3 { fis e e } e8. fis16 |
e d cis4. ( |
cis2 ) 
}

\repeat "volta" 2 {
\times 2/3 { r8 e e } \times 2/3 { e fis dis! } |
e2 |
\times 2/3 { r8 e e } \times 2/3 { e e fis } |
gis4 b ( |
\times 2/3 { b8 ) cis a } \times 2/3 { b gis a } |
\times 2/3 { fis gis a }  \times 2/3 { cis4 b8 } |
\times 2/3 { b, cis d } \times 2/3 { fis4 e8 } |
}
\alternative { {cis2} {a2} }
}

harmony = \chords {
\germanChords
\repeat "volta" 2 {
r2 a r r e r e:7 r r a
}
\repeat "volta" 2 {
r r e r r e:7 a r
}
\repeat "volta" 2 {
r r r e:7 r r h4 e:7 a2
}

}

textA = \lyricmode {
 Ein Wind weht von Süd und zieht mich hi- naus auf See.
 Mein Kind, sei nicht trau- rig, tut auch der Ab- schied weh!
 Mich trägt die Sehn- sucht fort in die blau- e Fer- ne,
 un- ter mir Meer, und ü- ber mir Nacht und Ster- _ ne,
 Auf, Ma- tro- sen, oh- é! Ein- mal muß es vor- bei sein.
 Nur Er- inn'- rung an Stun- den der Lie- be bleibt noch an
 Land zu- rück.
}

textB = \lyricmode {
 Mein Herz geht an Bord, und fort muß die Rei- se gehn,
 dein Schmerz wird ver- gehn, und schön wird das Wie- der- sehn.
 Vor mir die Welt. So treibt mich der Wind des Le- bens.
 Wein' nicht, mein Kind, die Trä- nen, sie sind ver- ge- _ bens!
 See- manns Braut ist die See, und nur ihr kann er treu sein.
 Wenn der Sturm- wind sein Lied singt, dann winkt mir der gro- ßen
 Frei- heit _ Glück.
}

\book {
\score {
<<
\new ChordNames {
\harmony
}
\new Voice {
\autoBeamOff
\melody
}
\new Lyrics \lyricsto "melodie" \textA
\new Lyrics \lyricsto "melodie" \textB
>>
\header {}
\layout {}

\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 60 4)
}
}
}
\markup {
\column {
\line{Wie blau ist das Meer, wie groß kann der Himmel sein?}
\line{Ich schau' hoch vom Mastkorb weit in die Welt hinein.} 
\line{Nach vorn geht mein Blick, zurück darf kein Seemann
schaun.}
\line{Kap Horn liegt auf Lee, jetzt heißt es auf Gott
vertrau'n.}
}
}
}
\end{lilypond}
Mehr Text
%\lilypondfile[quote,noindent]{file2.ly}
Das war's.
\end{document}
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: Web: Review GSoC page (issue 285400043 by g...@ursliska.de)

2016-02-07 Thread git


https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi
File Documentation/web/community.itexi (right):

https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi#newcode909
Documentation/web/community.itexi:909: anyone who is interested in
developing LilyPond.
On 2016/02/06 20:53:30, pwm wrote:

Why don't we just shorten this paragraph to:



Below is a list of suggested projects for GSoC or for anyone who is

interested

in developing LilyPond.  (Last updated: February 2016)


Done.

https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi#newcode916
Documentation/web/community.itexi:916: you're welcome to suggest it.
On 2016/02/06 20:53:31, pwm wrote:

How about simplifying this paragraph to:



If you have ideas for a GSoC project that is not listed below, please

send us an

email on our developer mailing list (see @ref{Contact}).  There are a

number of

areas where LilyPond could be improved, and our development team is

always

willing to help those who would like to tackle a project like those

listed

below.


Done.

https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi#newcode925
Documentation/web/community.itexi:925: case.
On 2016/02/06 20:53:30, pwm wrote:

This should come before the text about the sourceforge list, otherwise

which

list does it refer to?  It would probably go best before the text

about other

projects that are not on the project list.  I would suggest rewording

it as

follows:



Mentor availability varies from project to project and from year to

year.  Send

us an email on our developer mailing list (see @ref{Contact}), and we

will help

you find a mentor for a project that fits your interests and skills.



Done with some adjustments.

https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi#newcode1088
Documentation/web/community.itexi:1088: project from 2015.
On 2016/02/06 20:53:32, pwm wrote:

I would shorten to:



There are several possibilities for this project, including building

upon the

MusicXML export project from GSoC 2015.


Done.

https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi#newcode1091
Documentation/web/community.itexi:1091: @strong{Requirements:} MusicXML,
Python, (Scheme), basic LilyPond knowledge
On 2016/02/06 20:53:32, pwm wrote:

(Scheme) --> Scheme


Done.

https://codereview.appspot.com/285400043/diff/1/Documentation/web/community.itexi#newcode1107
Documentation/web/community.itexi:1107: achievements with regard to
LilyPond's default output quality.
On 2016/02/06 20:53:30, pwm wrote:

I don't think this is needed.  It breaks out of the pattern of just

describing

the project and gets into editorializing about its comparative worth

relative to

other projects, or even how rewarding it would be.  Maybe someone

would find

another project more rewarding?  Seems like this is better suited for

a

conversation with a student.


Hm, my intention was to draw the attention to the fact that this project
relates to actual engraving quality. But I've taken your suggestion.

https://codereview.appspot.com/285400043/

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel