Re: Barline at beginning of lines of music.

2014-07-17 Thread Marc Hohl

Am 16.07.2014 11:15, schrieb Richard Shann:

On Wed, 2014-07-16 at 08:38 +0200, Marc Hohl wrote:

Am 15.07.2014 16:14, schrieb Richard Shann:

Well, I'm not sure I follow the distinction between defined bar-types
and not, this code

\version 2.18.0
\defineBarLine : #'(: : :)
\defineBarLine | #'(: : :)
\score {

  \new PianoStaff 
  \new Staff = RH  
   \new Voice  {
   c''  c'' c'' c'' c'' c''  }
  
  \new Staff = LH  
   \new Voice  {
c''  c'' c'' c'' c'' c''  }
  
  
}

gives no warning but prints the double dots above instead of below the
top staff.
But perhaps that is a separate bug.


IIRC, it is not possible to use the repeat colons as span bars, they are
placed above the first system and not repeated even if you use more than
two staves (and therefore more than one instance of a span bar).


well, we are back to the question of what should the docs say, IIRC
here refers to ...?


'IIRC' refers to me having rewritten the bar line interface with *a lot 
of* code and good ideas from Thomas Morley, but barely having touched 
the code base since then. I'm not fully into the details yet and it's 
sometimes hard to remember what we have done two years ago ;-)




Do you have a real-world example where this would be of some use?



Not at all - the bug would just be that there is no warning, and strange
output (I take it there is no real-world use for the repeat dots
hovering in the air above the top staff?).


I think so.

Marc

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


Re: How to avoid key change with \transpose ?

2014-07-17 Thread David Kastrup
Robert Schmaus robert.schm...@web.de writes:

 If you're interested in keeping C major: if you don't supply a key at
 all, the key will be C major before and after transposition. I'm no
 sure this can be done with any other key ...

If there is no \key in the transposed part, the previous key will be
retained.  It's up to you which key that would be.

-- 
David Kastrup

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


Re: LilyPond meeting 2014?

2014-07-17 Thread Jan-Peter Voigt
Hi all,

I'd also like to join the party, but I am quite busy in the next time. I
would like to join in for a session via skype or google-hang-out or
similar - I could talk about and discuss the edition-engraver.
Online-participation might be an option for users outside europe?

Cheers, Jan-Peter

On 12.07.2014 21:50, Janek Warchoł wrote:
 Hi all,

 2014-07-12 20:53 GMT+02:00 David Kastrup d...@gnu.org:
 I could offer one week earlier (full date range Aug 21st to Aug 26th),
 but that would still be mostly incompatible with Urs.

 Earlier than that collides with my own and Conny's plannings.  One week
 later (Sep 4th to Sep 9th) may also an option, but it can affect outdoor
 weather.
 I think it's time to get the numbers organized.  Please mark when
 you're available in this poll:
 https://dudle.inf.tu-dresden.de/privacy/lilypond-meeting-2014/

 cheers,
 Janek

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


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


[openlilylib] generated docs, HTML/CSS help desired

2014-07-17 Thread Urs Liska

Hi,

to give you quick access and a first impression on what I've done on the 
openlilylib documentation you can have a look at


http://openlilylib.org/demo-oll/git-commands.html

There are three pages so far, and the snippets aren't properly updated 
yet, but one can already see how nice this will be.


The generated pages aren't as beautiful as they should be, and I would 
be very happy if someone could chime in with me and help me with it. 
First thing would be to create a _proper_ CSS for it and possibly make 
suggestions regarding the generated HTML structure.


Any other support for this project would be appreciated too, no matter 
how. Please contact me on- or off-list.


Best
Urs

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


Re: [openlilylib] generated docs, HTML/CSS help desired

2014-07-17 Thread Jan-Peter Voigt
Hi Urs,

this looks very nice indeed! I am working my blog-posts and will likely
not be able to provide much help on this (right now) - the scheme-part
of snippet reorganization is also waiting ...
But I will see, what I can do.
Just one thought, jQuery(-ui/-mobile) might be a good tool to make use
of tabs, lists and such. And the generated html-structure is almost
prepared for that.

Best, Jan-Peter

Am 17.07.2014 11:05, schrieb Urs Liska:
 Hi,
 
 to give you quick access and a first impression on what I've done on the
 openlilylib documentation you can have a look at
 
 http://openlilylib.org/demo-oll/git-commands.html
 
 There are three pages so far, and the snippets aren't properly updated
 yet, but one can already see how nice this will be.
 
 The generated pages aren't as beautiful as they should be, and I would
 be very happy if someone could chime in with me and help me with it.
 First thing would be to create a _proper_ CSS for it and possibly make
 suggestions regarding the generated HTML structure.
 
 Any other support for this project would be appreciated too, no matter
 how. Please contact me on- or off-list.
 
 Best
 Urs
 
 ___
 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


Re: [openlilylib] generated docs, HTML/CSS help desired

2014-07-17 Thread Urs Liska

Am 17.07.2014 11:05, schrieb Urs Liska:

Hi,

to give you quick access and a first impression on what I've done on the
openlilylib documentation you can have a look at

http://openlilylib.org/demo-oll/git-commands.html




Updated, now with syntax highlighting! :-)

Thank you, Wilbert, for making python-ly available to us that way.

###

For lilypond-devel: We had talked about this option for the LilyPond 
manuals. Having had my first experience I think we should give that 
another thought. Have a look at the commit

https://github.com/openlilylib/openlilylib/commit/568c3ef1c70dfa5619ae3a5c20ff78e1cc5a6eb2
to see how much code was necessary to achieve that.

I don't know the documentation build process, so I don't know where one 
could put that step in. What's necessary is to run python code to 
convert simple pre/pre content to styled HTML (as in the referenced 
commit).
Additionally it's necessary to have Frescobaldi's python-ly installed on 
the machine, so that would be an additional (weak) requirement for the 
build system's configuration. (A developer would _not_ be forced to 
install it, but without he would simply get plaintext output).

And it's necessary to add a CSS file to the distribution.

Best
Urs

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


Updating a score from version 1.4

2014-07-17 Thread Larry Kent
This issue comes up from time to time for me, and I hope someone can help.
Occasionally I need to make minor revisions to a score that was engraved
with LilyPond version 1.4.12.  That version was long before I started
trying to use the program, so I don't have that version.  Anyway, every
time I try to revise the source so that it will compile in v. 2.16 or 2.18,
I screw up something and it makes a mess and pretty soon I'm frustrated and
move on to something more productive.

So my question is:   Is there any way I can get any of the very early
versions so that I can make a couple of minor tweaks and compile these
scores?  Or is there some other solution that doesn't involve recodiing
everything?

Thanks in advance for any advice.

Larry Kent
Tampa, FL
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Updating a score from version 1.4

2014-07-17 Thread Hwaen Ch'uqi
Greetings Larry,
  Are you familiar with the convert-ly command? From the terminal,
you should be able to type convert-ly -e FILENAME, substituting the
last portion with the name of your file. Then your code should be
updated to the version which you are currently using. I hope this
helps.
Hwaen Ch'uqi


On 7/17/14, Larry Kent kentla...@gmail.com wrote:
 This issue comes up from time to time for me, and I hope someone can help.
 Occasionally I need to make minor revisions to a score that was engraved
 with LilyPond version 1.4.12.  That version was long before I started
 trying to use the program, so I don't have that version.  Anyway, every
 time I try to revise the source so that it will compile in v. 2.16 or 2.18,
 I screw up something and it makes a mess and pretty soon I'm frustrated and
 move on to something more productive.

 So my question is:   Is there any way I can get any of the very early
 versions so that I can make a couple of minor tweaks and compile these
 scores?  Or is there some other solution that doesn't involve recodiing
 everything?

 Thanks in advance for any advice.

 Larry Kent
 Tampa, FL


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


Re: Updating a score from version 1.4

2014-07-17 Thread James

On 17/07/14 16:46, Larry Kent wrote:
This issue comes up from time to time for me, and I hope someone can 
help.  Occasionally I need to make minor revisions to a score that was 
engraved with LilyPond version 1.4.12.  That version was long before I 
started trying to use the program, so I don't have that version.  
Anyway, every time I try to revise the source so that it will compile 
in v. 2.16 or 2.18, I screw up something and it makes a mess and 
pretty soon I'm frustrated and move on to something more productive.


So my question is:   Is there any way I can get any of the very early 
versions so that I can make a couple of minor tweaks and compile these 
scores?  Or is there some other solution that doesn't involve 
recodiing everything?


Thanks in advance for any advice.

Larry Kent
Tampa, FL


http://lilypond.org/doc/v2.18/Documentation/usage/updating-files-with-convert_002dly

I hope this helps.

James

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


Re: Updating a score from version 1.4

2014-07-17 Thread David Kastrup
Larry Kent kentla...@gmail.com writes:

 This issue comes up from time to time for me, and I hope someone can help.
 Occasionally I need to make minor revisions to a score that was engraved
 with LilyPond version 1.4.12.  That version was long before I started
 trying to use the program, so I don't have that version.

Downloads on the website start with
URL:http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
for Linux.  No idea whether the runtime will work fine on current
systems.

 Anyway, every time I try to revise the source so that it will compile
 in v. 2.16 or 2.18, I screw up something and it makes a mess and
 pretty soon I'm frustrated and move on to something more productive.

You know about convert-ly for converting to newer versions?  1.4 is
probably too old to be reliably converted, but with some luck at least
some of the conversion work will be done for you.

-- 
David Kastrup

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


Re: Updating a score from version 1.4

2014-07-17 Thread Larry Kent
Thanks, James, David, and Hwaen.  Convert-ly doesn't handle version 1.4
very well, not surprising.  The current project I'm working on is a very
short piece, so I may just start over with this one.  Long-term, however,
it would be nice to find somewhere that a user can grab an old version,
install it in a separate folder and work on an old edition.

Thanks again.
Larry


On Thu, Jul 17, 2014 at 12:42 PM, James pkx1...@gmail.com wrote:

 On 17/07/14 16:46, Larry Kent wrote:

 This issue comes up from time to time for me, and I hope someone can
 help.  Occasionally I need to make minor revisions to a score that was
 engraved with LilyPond version 1.4.12.  That version was long before I
 started trying to use the program, so I don't have that version.  Anyway,
 every time I try to revise the source so that it will compile in v. 2.16 or
 2.18, I screw up something and it makes a mess and pretty soon I'm
 frustrated and move on to something more productive.

 So my question is:   Is there any way I can get any of the very early
 versions so that I can make a couple of minor tweaks and compile these
 scores?  Or is there some other solution that doesn't involve recodiing
 everything?

 Thanks in advance for any advice.

 Larry Kent
 Tampa, FL

  http://lilypond.org/doc/v2.18/Documentation/usage/updating-
 files-with-convert_002dly

 I hope this helps.

 James

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


referencing and merging on the fly created staffs

2014-07-17 Thread Orm Finnendahl
Hi,

 in the following example, an extra staff is created on the fly at two
non-adjacent times. Unfortunately the extra staffs are at different
vertical positions as they are considered different by lilypond. Is it
possible to reference the first extra staff by the second? I'm aware
that I could use stopStaff and startStaff but unfortunately the parts
are defined in different files and it would make the handling very
awkward.

--
Orm

\version 2.19.5

music={\relative c' {c4 d e f }}


\score {
  
\new Staff = violineeins
{
  
\music \\
\new Staff=newstaff \with  { alignBelowContext = violineeins }
{ \music }

R1 R1
  
\music \\
\new Staff=newstaff \with  { alignBelowContext = violineeins }
{ \music }

}
  
  
\layout {}
%\midi {}
}

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


Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line

2014-07-17 Thread John McWilliam
I am deeply grateful for sorting out these problems associated with the
bagpipe tune format and in particular those associated with repeats. I have
another irritating glitch in the same grain. A measure can have two
alternative structures depending on whether it is played the first or second
time. This is illustrated in the following snippet. My approach to this
works, however, i get a warning: already have a volta spanner, ending that
one prematurely and the second spanner remains open to the right. Any
suggestions will be most welcome.  

\version 2.18.0  
  
music = \relative c''' {
\key c \major
\time 2/4
\bar .|:

\set Score.repeatCommands = #'(start-repeat)
\partial 8 g8
a16. [g32 a16. f32] e8 [c32 a16.]
a8 a'16. [e32 f16. e32] c32 a16.
a'16. [g32 a16. e32] c32 [e16. a,16. e'32]
c8 b b[ g']
\break 

\set Score.measureLength = #(ly:make-moment 5 8)
a16. g32 a16. f32 e8 
\set Score.repeatCommands = #'((volta 1.)) c32 [ a16.]
\set Score.repeatCommands = #'((volta #f))
\set Score.repeatCommands = #'((volta 2.)) c32 [e16.]
\set Score.repeatCommands = #'((volta #f))
\set Score.measureLength = #(ly:make-moment 4/8)
a,8 a'16. e32 f16. e32 c32 a16.
b16.[ c32 d16. e32] f32 [ a16. e16. b32]
c8 [a] a 
\set Score.repeatCommands = #'(end-repeat)
\break 
} % end relative

\score {
   \new Staff \music
}




-
John McWilliam
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeat-volta-not-at-beginning-of-piece-doesn-t-get-initial-repeat-bar-line-tp163676p164563.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Updating a score from version 1.4

2014-07-17 Thread Colin Campbell

On 14-07-17 10:52 AM, Larry Kent wrote:
Thanks, James, David, and Hwaen.  Convert-ly doesn't handle version 
1.4 very well, not surprising.  The current project I'm working on is 
a very short piece, so I may just start over with this one.  
Long-term, however, it would be nice to find somewhere that a user can 
grab an old version, install it in a separate folder and work on an 
old edition.



Would it work if you were to install an intermediate version of 
LilyPond, perhaps 2.8.0  and use the convert-ly from that version to get 
you part way, then run convert-ly from your current version to finish 
the job?  This is untested, but may be a more general solution than 
simply recoding from scratch. In principle, it's nearly always worth the 
effort to bring an old score up to current levels when you are revising 
it, although as you imply, it may not be useful for a minor revision or two.


Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands. You need to be able to throw something back.
-Maya Angelou, poet (1928- )


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


Re: Refrain and Verse SATB - Bug?

2014-07-17 Thread Jan-Peter Voigt

Hi Chris,

its actually not a bug. You create new Lyrics contexts in the middle of 
the piece. They are place below all other contexts, if you don't set the 
alignment:

-

\new Staff \with {

instrumentName = Soprano

} \new Voice = soprano {

\SopranoNotes

}
% give the first verse-context an id

\new Lyrics = Soprano \with {

\override VerticalAxisGroup #'staff-affinity = #CENTER

}

\lyricsto soprano {

\Refrain



\VerseOne

\new Lyrics \with {
% align the new lyrics below the first verse

alignBelowContext = Soprano

} {

\set associatedVoice = soprano

\VerseTwo

}



}

-
HTH
Jan-Peter





Am 17.07.14 21:13, schrieb Chris Trahan:
I submitted a bug report on this issue but the person replying stated 
that it's not a bug but it's working as designed. I don't see how. 
Maybe someone would enlighten me.


I've attached my code and a screen shot of the results.



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


Re: Updating a score from version 1.4

2014-07-17 Thread Larry Kent
Thanks for the suggestion.  I can't find version 2.8 to download either,
but that's quite a ways from 1.4, so I'm not sure if it would work.  I
think I'll let this thread hang out there for another day or so, and then
start from scratch.  Thanks again!

Best,
LK




On Thu, Jul 17, 2014 at 1:38 PM, Colin Campbell c...@shaw.ca wrote:

 On 14-07-17 10:52 AM, Larry Kent wrote:

 Thanks, James, David, and Hwaen.  Convert-ly doesn't handle version 1.4
 very well, not surprising.  The current project I'm working on is a very
 short piece, so I may just start over with this one.  Long-term, however,
 it would be nice to find somewhere that a user can grab an old version,
 install it in a separate folder and work on an old edition.



 Would it work if you were to install an intermediate version of LilyPond,
 perhaps 2.8.0  and use the convert-ly from that version to get you part
 way, then run convert-ly from your current version to finish the job?  This
 is untested, but may be a more general solution than simply recoding from
 scratch. In principle, it's nearly always worth the effort to bring an old
 score up to current levels when you are revising it, although as you imply,
 it may not be useful for a minor revision or two.

 Cheers,
 Colin

 --
 I've learned that you shouldn't go through life with a catcher's mitt on
 both hands. You need to be able to throw something back.
 -Maya Angelou, poet (1928- )


 ___
 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


Re: Refrain and Verse SATB - Bug?

2014-07-17 Thread David Kastrup
Chris Trahan trahan.ch...@gmail.com writes:

 I submitted a bug report on this issue but the person replying stated that
 it's not a bug but it's working as designed. I don't see how. Maybe someone
 would enlighten me.

 I've attached my code and a screen shot of the results.

 This is the technique that I'm using, which I found online. I'm yusing
 LilyPond 2.18.2.1 on a Windows 7 Pro machine.

 ~
 Refrain = \lyricmode {Not re -- peat -- ed.}
 VerseOne = \lyricmode { The first time words. }
 VerseTwo = \lyricmode {Sec -- ond time words.}

 \score {
   
 \new Staff {
   \new Voice = melody {
 \relative c'' {
   a4 a a a
   \repeat volta 2 { b4 b b b }
 }
   }
 }
 \new Lyrics \lyricsto melody {
   \Refrain
   
 \set stanza = #1.
 \VerseOne
 \new Lyrics {
  \set associatedVoice = melody
  \set stanza = #2.
  \VerseTwo
 }
   
 }
   
 }

It is not clear to me what you mean with technique that I am using
when you are appending something quite different.  For example, you
fiddle with staff-affinity without that being overly consistent.  I try
centering the lyrics between soprano and alto, but for bass there is
nothing to center.

It also might be worth considering using different contexts for refrain
and both stanzas in order to get a visual like

 1. first stanza
this is the refrain
 2. second stanza

instead of

this is the refrain  1. first stanza

 2. second stanza

At any rate, new contexts are usually aligned below all existing
contexts.  Without trying to do anything about second stanza alignment,
I get

\language english
\version 2.18.2
\paper {
  top-margin = 1\in
  system-system-spacing.minimum-distance = #17
}
\header {
  title = Le voici l‘Agneau si doux
  composer = Maurice Kaltnecker
  tagline =  % No LilyPond tagline
}

global = {
  \key g \major
  \numericTimeSignature
  \time 6/8
}

SopranoNotes = \relative c'' {
  \global
  \repeat volta 2 {
d4 e8 d4 b8 g4 b8 d4 r8 c4 a8 fs4 e'8 d4. b4 r8 d4 e8 d4 b8 \break
g4 b8 d4 r8 c4 a8 fs4 a8 g4.~ g4^Fine r8 \bar || a4 d8 d4 c8b4. g4 r8 \break
a4 gs8 a4 b8 a4.~ a4 r8 a4 a8 d4 c8 b4. g4 r8 a4 gs8 a4 b8 a4.( d)
  }
}

AltoNotes = \relative c'' {
  \global
  \repeat volta 2 {
b4 c8 b4 g8 d4 fs8 b4 r8 a4 fs8 a4 c8 b4. g4 r8 b4 c8 b4 g8 \break
d4 g8 b4 r8 a4 fs8 d4 fs8 g4.~ g4 r8 \bar || fs4 fs8 a4 a8 g4. d4 r8 \break
fs4 f8fs4 g8 fs4.~ fs4 r8 fs4 fs8 a4 a8 g4. d4 r8 fs4 f8fs4 g8 fs4.( c')
  }
}

TenorNotes = \relative c' {
  \global
  \repeat volta 2 {
g4 g8 g4 d8 a'4 d8 g,4 r8 fs4 d8 a'4 fs8 g4. d4 r8 g4 g8 g4 d8 \break
b'4 d8 g,4 r8 fs4 d8 a'4 d,8 g4.~ g4 r8 \bar || d'4 d8 d4 d8 d4. b4 r8 \break
d4 d8 d4 d8 d4.~ d4 r8 d4 d8 c4 d8 d4. b4 r8 d4 d8 d4 d8 d4.( a)
  }
}

BassNotes = \relative c {
  \global
  \repeat volta 2 {
g4 b8 g4 d'8 g,4 g8 g4 r8 d'4 d8 a4 d8 g4. g,4 r8 g4 b8 g4 d'8 \break
g,4 g8 g4 r8 d'4 d8 c4 d8 g,4.~ g4 r8 \bar || d'4 a'8 d,4 a'8 a4. a4 r8 \break
d,4 d8 a4 g8 d'4.( a4) r8 d4 a'8 d,4 a'8 g4. g4 r8 d4 d8 a4 g8 d'4.~ d
  }
}

Refrain = \lyricmode {
  Le voi -- ci, l'Ag -- neau si doux.
  Le  vrai pain des an -- ges.
  Il des -- cend du ciel pour nous.
  A -- do -- rons -- le tous. __
}

VerseOne = \lyricmode {
  \set stanza = # 1.
  C'est un ten -- dre Pè -- re
  C'est le Bon Pas -- teur __
  En lui seul j'es -- pè -- re
  C'est mon bien -- fai -- teur. __
}

VerseTwo = \lyricmode {
  \set stanza = # 2.
  Par toi saint Mys -- tè -- re
  Ob -- jet de ma foi __
  Je crois, je ré -- vè -- re
  Mon Maître et mon Roi. __
}

\score {
  \new ChoirStaff 
\new Staff \with {
  instrumentName = Soprano
} \new Voice = soprano {
  \SopranoNotes
}
\new Lyrics = sopranolyrics \with {
  \override VerticalAxisGroup.staff-affinity = #CENTER
}
\lyricsto soprano {
  \Refrain
  
\VerseOne
\new Lyrics \with {
	  \override VerticalAxisGroup.staff-affinity = #CENTER
	  alignBelowContext = sopranolyrics
	}
	{
  \set associatedVoice = soprano
  \VerseTwo
}
  
}
\new Staff \with {
  instrumentName = Alto
} \new Voice = alto {
  \AltoNotes
}
\new Staff \with {
  instrumentName = Tenor
}
{
  \clef bass
  \new Voice = tenor
  \TenorNotes
}
\new Staff \with {
  instrumentName = Bass
}
{
  \clef bass
  \new Voice = bass
  \BassNotes
}
\new Lyrics = basslyrics
\lyricsto bass {
  \Refrain
  
\VerseOne
\new Lyrics \with {
  associatedVoice = bass
	  alignBelowContext = basslyrics
	} \VerseTwo
  
}
  
}

-- 
David Kastrup
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Updating a score from version 1.4

2014-07-17 Thread David Kastrup
Larry Kent kentla...@gmail.com writes:

 Thanks for the suggestion.  I can't find version 2.8 to download either,
 but that's quite a ways from 1.4, so I'm not sure if it would work.

Look, I gave you a full download link to 1.4.15, so what do you mean
with you can't find version 2.8 to download either?

Can you please at least mention what problem you have using the link?

-- 
David Kastrup

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


Adding right side to volta bracket spanner

2014-07-17 Thread Guido
Hi,

I’ve been transcribing a modern partiture in Lilypond. I’ve come quite far but 
some details are missing. For one thing in particular I have not been able to 
find a solution. The composer used volta bracket spanners to indicate that a 
group of notes should be played the second time only. To have an accurate 
transcription I would like to show the right vertical line of the  volta 
bracket spanner. How can I trigger that line to be drawn?



\version 2.18.2 

voltaText = \markup { \text  {2x only} }

Alower = \relative c {

\clef bass
\set Staff.keySignature = #`(((-2 . 6) . , FLAT))
\override Staff.TimeSignature #`transparent = ##t
\set Timing.measureLength = #(ly:make-moment 4/4)

\cadenzaOn 

r8. 

\override Score.VoltaBracketSpanner.no-alignment = ##f

\set Score.repeatCommands = #(list(list 'volta voltaText) 'start-repeat)

r16 bes'8[ e,16] g,4

\set Score.repeatCommands = #'((volta #f) end-repeat)

% Should the vertical line be triggered here? How?

r8. r16 bes'8[\( e,16]( e[) g,8\) bes'16\( f8]( f16[) e g,8]\) r16  
\bar :|.

\cadenzaOff
}

\layout {   
  \context {
\Score   
\remove Timing_translator
\remove Default_bar_line_engraver
\remove Bar_number_engraver
\remove Volta_engraver 
 }
  
  \context {
\Staff
\consists Timing_translator
\consists Default_bar_line_engraver 
  }
} 

\score {

\new Staff \with {
\consists Volta_engraver
}
{
\Alower
}
 }


 
Best regards,

Guido


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


Re: Refrain and Verse SATB - Bug?

2014-07-17 Thread Thomas Morley
2014-07-17 21:13 GMT+02:00 Chris Trahan trahan.ch...@gmail.com:
 I submitted a bug report on this issue

No, you opened a tracker issue.

 but the person replying stated that
 it's not a bug but it's working as designed.

Was me, and setting status of the tracker item to 'invalid'

 I don't see how.

One could discuss, if another method would be better.
If the discussion results to yes, an enhancement request, sent to
the buglist, would be appropiate.
Don't open a tracker issue yourself, it's our bugsquads duty.

 Maybe someone
 would enlighten me.

Now you're on the correct list, you've got the correct answer in 18 min. ;)

 I've attached my code and a screen shot of the results.

 This is the technique that I'm using, which I found online.

Where?

 I'm yusing
 LilyPond 2.18.2.1 on a Windows 7 Pro machine.

Cheers,
  Harm

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


Re: Updating a score from version 1.4

2014-07-17 Thread Larry Kent
David,

You sent me this link:

URL:http://download.lin
http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
uxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh


The problem I have using the link is that my computer doesn't know what to
do with thatno application on my computers (Windows 8.1) to handle
files with that extension.

LK




On Thu, Jul 17, 2014 at 3:49 PM, David Kastrup d...@gnu.org wrote:

 Larry Kent kentla...@gmail.com writes:

  Thanks for the suggestion.  I can't find version 2.8 to download either,
  but that's quite a ways from 1.4, so I'm not sure if it would work.

 Look, I gave you a full download link to 1.4.15, so what do you mean
 with you can't find version 2.8 to download either?

 Can you please at least mention what problem you have using the link?

 --
 David Kastrup

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


Re: Updating a score from version 1.4

2014-07-17 Thread Malte Meyn


On 17.07.2014 21:56, Larry Kent wrote:

David,

You sent me this link:

URL:http://download.lin
http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
uxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh




The problem I have using the link is that my computer doesn't know what to
do with thatno application on my computers (Windows 8.1) to handle
files with that extension.

That is because it’s a shell script for Linux (as the name suggests). If 
I remember correctly, there was no 1.4 for Windows.


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


Re: Updating a score from version 1.4

2014-07-17 Thread David Kastrup
Larry Kent kentla...@gmail.com writes:

 David,

 You sent me this link:

 URL:http://download.lin
 http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
 uxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh
 http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh


 The problem I have using the link is that my computer doesn't know what to
 do with thatno application on my computers (Windows 8.1) to handle
 files with that extension.

You did not previously mention your operating system.  Most definitely
LilyPond 1.4 did not run under Windows 8.1.  I actually doubt that it
was easy to get to compile/run under _any_ version of Windows.  The
earliest version on the download site for Windows is 2.6.0.

However, I expect the hassle to get this to run nicely under Windows
likely worse than the headache convert-ly will provide for converting
from 2.6.0 to current versions.

If you want to give the Linux binary a try, there is a Linux VM running
under Windows for/with LilyPond somewhere on the website.  It might
possibly work wit the ancient installer.

But you'll probably have less of a hassle and more of an improvement by
converting the source code.

-- 
David Kastrup

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


Re: Updating a score from version 1.4

2014-07-17 Thread Colin Campbell

On 14-07-17 02:00 PM, Malte Meyn wrote:


On 17.07.2014 21:56, Larry Kent wrote:

David,

You sent me this link:

URL:http://download.lin
http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh 

uxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh 

http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-ancient-1.4.15-1.linux-x86.sh 





The problem I have using the link is that my computer doesn't know 
what to

do with thatno application on my computers (Windows 8.1) to handle
files with that extension.

That is because it’s a shell script for Linux (as the name suggests). 
If I remember correctly, there was no 1.4 for Windows.


___



This link:
http://download.linuxaudio.org/lilypond/binaries/mingw/
looks as though it will take you to 2.6.0 and later builds, reachable by 
following the Old Downloads link from the lilypond.org website.


Good luck with it, Larry, and let us know how it works!

Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )


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


Re: Updating a score from version 1.4

2014-07-17 Thread PMA

I'm thinking this implies that convert-ly is best used
incrementally by LP version, with no intermediate
upgrading omitted.  So, with original code at Ver 'A'
and my destination Ver 'E', then for best results I'd
install Versions B, C, D and run all four convert-ly's
(A-B; B-C; C-D; D-E)?

Is this right -- that convert-ly is meant to be applied
cumulatively?

Regards,
Pete


Colin Campbell wrote:

On 14-07-17 10:52 AM, Larry Kent wrote:

Thanks, James, David, and Hwaen. Convert-ly doesn't handle version 1.4
very well, not surprising. The current project I'm working on is a
very short piece, so I may just start over with this one. Long-term,
however, it would be nice to find somewhere that a user can grab an
old version, install it in a separate folder and work on an old edition.



Would it work if you were to install an intermediate version of
LilyPond, perhaps 2.8.0 and use the convert-ly from that version to get
you part way, then run convert-ly from your current version to finish
the job? This is untested, but may be a more general solution than
simply recoding from scratch. In principle, it's nearly always worth the
effort to bring an old score up to current levels when you are revising
it, although as you imply, it may not be useful for a minor revision or
two.

Cheers,
Colin




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


Re: Adding right side to volta bracket spanner

2014-07-17 Thread Thomas Morley
2014-07-17 21:51 GMT+02:00 Guido gu...@spaanbroek.nl:
 Hi,

 I’ve been transcribing a modern partiture in Lilypond. I’ve come quite far 
 but some details are missing. For one thing in particular I have not been 
 able to find a solution. The composer used volta bracket spanners to indicate 
 that a group of notes should be played the second time only. To have an 
 accurate transcription I would like to show the right vertical line of the  
 volta bracket spanner. How can I trigger that line to be drawn?

 

 \version 2.18.2

 voltaText = \markup { \text  {2x only} }

 Alower = \relative c {

 \clef bass
 \set Staff.keySignature = #`(((-2 . 6) . , FLAT))
 \override Staff.TimeSignature #`transparent = ##t
 \set Timing.measureLength = #(ly:make-moment 4/4)

 \cadenzaOn

 r8.

 \override Score.VoltaBracketSpanner.no-alignment = ##f

 \set Score.repeatCommands = #(list(list 'volta voltaText) 
 'start-repeat)

 r16 bes'8[ e,16] g,4

 \set Score.repeatCommands = #'((volta #f) end-repeat)

 % Should the vertical line be triggered here? How?

 r8. r16 bes'8[\( e,16]( e[) g,8\) bes'16\( f8]( f16[) e g,8]\) r16  
 \bar :|.

 \cadenzaOff
 }

 \layout {
   \context {
 \Score
 \remove Timing_translator
 \remove Default_bar_line_engraver
 \remove Bar_number_engraver
 \remove Volta_engraver
  }

   \context {
 \Staff
 \consists Timing_translator
 \consists Default_bar_line_engraver
   }
 }

 \score {

 \new Staff \with {
 \consists Volta_engraver
 }
 {
 \Alower
 }
  }

 

 Best regards,

 Guido


Hi,

the so called 'volta-hook' is allowed only for certain types of BarLines.
You can watch them by compiling the following code in a .ly file:

#(use-modules (ice-9 pretty-print))
#(pretty-print (@@ (lily) volta-bracket-allow-volta-hook-list))

You  can use one of them and make the stencil invisible. Would result to:

voltaText = \markup { \text  { 2x only } }

\relative c {
\clef bass
\cadenzaOn
r8
\set Score.repeatCommands = #(list(list 'volta voltaText))
r16 bes'8[ e,16] g,4
\once \override Staff.BarLine.stencil = #point-stencil
\set Score.repeatCommands = #'((volta #f) end-repeat)
r8.
\cadenzaOff
}

Or you can append  to the 'volta-bracket-allow-volta-hook-list':

#(allow-volta-hook )

voltaText = \markup { \text  { 2x only } }

\relative c {
\clef bass
\cadenzaOn
r8
\set Score.repeatCommands = #(list(list 'volta voltaText))
r16 bes'8[ e,16] g,4
\set Score.repeatCommands = #'((volta #f) end-repeat)
\bar 
r8.
\cadenzaOff
}

Using this method will result to _every_ volta-hook is allowed at this
bar-line in the whole file.

Though,
'allow-volta-hook' isn't mentioned in the docs, afaik.
Additionally, I think one should make it a context-property, with the
possibility to set _and_ unset or to use \once.

I'll file a bugreport for a documentation and enhancement, if I don't forget.

Cheers,
  Harm

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


Re: Updating a score from version 1.4

2014-07-17 Thread David Kastrup
PMA peterarmstr...@aya.yale.edu writes:

 I'm thinking this implies that convert-ly is best used
 incrementally by LP version, with no intermediate
 upgrading omitted.  So, with original code at Ver 'A'
 and my destination Ver 'E', then for best results I'd
 install Versions B, C, D and run all four convert-ly's
 (A-B; B-C; C-D; D-E)?

 Is this right -- that convert-ly is meant to be applied
 cumulatively?

No. convert-ly is an application that has rules for each conversion, and
while newer versions tend to add just rules at the end, there have been
several instances where old rules have been corrected.  So you never
have anything to gain from running older versions of convert-ly.

However, if you have some older version of LilyPond around, it may make
the conversion easier by using a current convert-ly but telling it to
stop at your older version of LilyPond.  Then you fix stuff manually
until everything works again (the old rules are really spotty, and there
were some rather drastic syntax changes in those times), and then
continue converting to the current version.  In case the old rules
messed stuff up, cleaning up before applying the next batch of
conversions might conceivably result in less work and/or fewer followup
errors, or at least better manageable work.

So there may be some point in not converting all-in-one-go.  But even if
you stop in the middle, there is no point in doing it with any but the
newest convert-ly.

-- 
David Kastrup

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


Re: Updating a score from version 1.4

2014-07-17 Thread Thomas Morley
2014-07-17 22:48 GMT+02:00 PMA peterarmstr...@aya.yale.edu:
 I'm thinking this implies that convert-ly is best used
 incrementally by LP version, with no intermediate
 upgrading omitted.  So, with original code at Ver 'A'
 and my destination Ver 'E', then for best results I'd
 install Versions B, C, D and run all four convert-ly's
 (A-B; B-C; C-D; D-E)?

 Is this right -- that convert-ly is meant to be applied
 cumulatively?

 Regards,
 Pete


convert-ly contains converting-rules from _all_ versions.
Therefore I'd use the _newest_ convert-ly to update an old file.

Nevertheless, there are quite often issues like:
not smart enough to ...

But there's the option to convert to a certain lily-version:
convert-ly --to=2.14.1 myfile.ly

see:
http://www.lilypond.org/doc/v2.19/Documentation/usage-big-page#command-line-options-for-convert_002dly

Maybe I'd convert carefully from one version to the next and fix all
occuring problems manually.

Cheers,
  Harm

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


Re: Articles on church music on Github in LilyPond format

2014-07-17 Thread Conor Cook
This is fascinating.  I am really unfamiliar with GitHub beyond having 
downloaded the software, but this should give me more incentive to explore it.  
It's a neat perk of Lilypond and Gregorio that they are just text files.  Never 
thought of that.

Best,

Conor Cook
Music Director
LaSalle Catholic Parishes
LaSalle, IL 61301

 On Jul 16, 2014, at 10:01 PM, Paul Morris p...@paulwmorris.com wrote:
 
 I came across a couple of articles on church music on Github in LilyPond
 format.  (Organ accompaniments for Gregorian Chant, a LilyPond transcription
 of the Nova Organi Harmonia.)
 
 http://createdigitalmusic.com/2014/07/fork-chant-github-goes-gregorian-open-source-notation/
 
 http://www.wired.com/2013/05/gregorian_github/
 
 Does this qualifies for a ponding?  In any case I thought it might be of
 interest.  Too bad the Wired article doesn't mention that it's LilyPond file
 format...
 
 -Paul
 
 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Articles-on-church-music-on-Github-in-LilyPond-format-tp164530.html
 Sent from the User mailing list archive at Nabble.com.
 
 

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


Re: Updating a score from version 1.4

2014-07-17 Thread Flaming Hakama by Elaine
I have used Lilypond on windows.
The trick is to run in within a Unix shell, like https://www.cygwin.com/
If I am not mistaken, there is a lilypond package within the cygwin
distribution you can choose when installing.

I have no experience with running convert-ly, or in particular these
ancient scripts.
But you certainly can execute .sh files on the cygwin command line in
windows.


David Elaine Alt
415 . 341 .4954   *Confusion is
highly underrated*
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Updating a score from version 1.4

2014-07-17 Thread PMA

David  Harm,

Thank you!  I let my unresolved fuzziness on this issue
(and a memory of messy cumulative system upgrades)
keep me from attempting a 'convert-ly' _EVER_.

Now I stand -- well, sit -- corrected, and am ready to at
least _try_.

Pete


David Kastrup wrote:

PMApeterarmstr...@aya.yale.edu  writes:


I'm thinking this implies that convert-ly is best used
incrementally by LP version, with no intermediate
upgrading omitted.  So, with original code at Ver 'A'
and my destination Ver 'E', then for best results I'd
install Versions B, C, D and run all four convert-ly's
(A-B; B-C; C-D; D-E)?

Is this right -- that convert-ly is meant to be applied
cumulatively?


No. convert-ly is an application that has rules for each conversion, and
while newer versions tend to add just rules at the end, there have been
several instances where old rules have been corrected.  So you never
have anything to gain from running older versions of convert-ly.

However, if you have some older version of LilyPond around, it may make
the conversion easier by using a current convert-ly but telling it to
stop at your older version of LilyPond.  Then you fix stuff manually
until everything works again (the old rules are really spotty, and there
were some rather drastic syntax changes in those times), and then
continue converting to the current version.  In case the old rules
messed stuff up, cleaning up before applying the next batch of
conversions might conceivably result in less work and/or fewer followup
errors, or at least better manageable work.

So there may be some point in not converting all-in-one-go.  But even if
you stop in the middle, there is no point in doing it with any but the
newest convert-ly.




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


Re: Updating a score from version 1.4

2014-07-17 Thread David Kastrup
Flaming Hakama by Elaine ela...@flaminghakama.com writes:

 I have used Lilypond on windows.
 The trick is to run in within a Unix shell, like https://www.cygwin.com/
 If I am not mistaken, there is a lilypond package within the cygwin
 distribution you can choose when installing.

 I have no experience with running convert-ly, or in particular these
 ancient scripts.
 But you certainly can execute .sh files on the cygwin command line in
 windows.

Well, but an installation script for GNU/Linux, while it may conceivably
actually execute under Cygwin, will not install a version of LilyPond
actually running under Windows.

-- 
David Kastrup

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