Re: What's causing this extra bar line and empty bar?

2023-11-20 Thread David Wright
On Mon 20 Nov 2023 at 00:23:45 (+), Robert Hickman wrote:
> Good point. I'm using 2.18.2 which is what's in the repo for debian 10.

On Mon 20 Nov 2023 at 00:43:59 (+), Robert Hickman wrote:
> Updating to the latest version fixed the issue, and also the unwanted
> extra space. Problem was just Debian shipping a very old version for
> some reason.

LilyPond 2.18.2 had a very long lifetime as 'stable', lasting nearly
six years from 2014-03-17. Debian included it in three releases,
8 (jessie), 9 (stretch), and 10 (buster), which was released
2019-07-06. As LilyPond 2.18.2's successor, 2.20.0, was released
2020-03-01, there's no possibility that Debian 10 could include it.

The current, stable Debian, 12 (bookworm), was released 2023-06-10,
and it includes LP version 2.24.1 (released 2023-02-12), but missed
out on 2.24.2 (2023-08-12) and, of course, 2.24.3 (yesterday).

As you're running Debian 10, note that it hasn't had any security
updates from Debian itself for over a year (since 2022-06-30).
It's up to the companies and volunteers providing Long Term Support
(LTS, until 2024-06-30) as to which packages they care to maintain.

Cheers,
David.



Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread Robert Hickman
Updating to the latest version fixed the issue, and also the unwanted
extra space. Problem was just Debian shipping a very old version for
some reason.

Thank you for your help.

On Mon, 20 Nov 2023 at 00:12, William Rehwinkel
 wrote:
>
> Dear Robert,
>
> in the future, please take care that the minimal working example does
> not contain any undefined symbols that cause errors. Here, simply adding
> "strike = \fermata" at the beginning of the file alleviated all these
> errors, however.
>
> After using convert-ly and rendering (using version 2.25.7) this extra
> barline doesn't appear. Can you try updating to the most recent version
> of lilypond (.24 or .25), and see if that helps?
>
> Thanks,
> -William
>
> On 11/19/23 19:00, Robert Hickman wrote:
> > Hi people. I'm trying to reproduce the formatting from a tune that
> > started out in ABC notation, which is formatted with line breaks
> > around phrases instead of bars. It is working as intended, except for
> > an empty bar that's showing up after the first repeat sign, and I have
> > no idea what's causing it. Also there's extra space being added before
> > the other line breaks as well:
> >
> > https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > The following is how it should be formatted (generated by ABCM2PS).
> >
> > https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > And here's the code, without the definition of the \strike articulation 
> > symbol.
> >
> > \version "2.18.2"
> >
> > \header {tagline = ""}
> > {
> >  \numericTimeSignature
> >  \time 4/4
> >  \key f \major
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
> > d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
> > d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
> > d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
> > d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
> > }
> >
>
> --
> William Rehwinkel - Oberlin College and Conservatory '24
>
> will...@williamrehwinkel.net
>
> PGP key: https://ftp.williamrehwinkel.net/pubkey.txt



Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread Robert Hickman
On Mon, 20 Nov 2023 at 00:12, William Rehwinkel
 wrote:
>
> Dear Robert,
>
> in the future, please take care that the minimal working example does
> not contain any undefined symbols that cause errors. Here, simply adding
> "strike = \fermata" at the beginning of the file alleviated all these
> errors, however.
>
> After using convert-ly and rendering (using version 2.25.7) this extra
> barline doesn't appear. Can you try updating to the most recent version
> of lilypond (.24 or .25), and see if that helps?
>
> Thanks,
> -William
>
> On 11/19/23 19:00, Robert Hickman wrote:
> > Hi people. I'm trying to reproduce the formatting from a tune that
> > started out in ABC notation, which is formatted with line breaks
> > around phrases instead of bars. It is working as intended, except for
> > an empty bar that's showing up after the first repeat sign, and I have
> > no idea what's causing it. Also there's extra space being added before
> > the other line breaks as well:
> >
> > https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > The following is how it should be formatted (generated by ABCM2PS).
> >
> > https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png
> >
> > And here's the code, without the definition of the \strike articulation 
> > symbol.
> >
> > \version "2.18.2"
> >
> > \header {tagline = ""}
> > {
> >  \numericTimeSignature
> >  \time 4/4
> >  \key f \major
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
> > d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
> > d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
> >  \repeat volta 2 {
> >  \partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
> > d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
> > \allowBreak \break
> >  \partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
> > d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
> > }
> >
>
> --
> William Rehwinkel - Oberlin College and Conservatory '24
>
> will...@williamrehwinkel.net
>
> PGP key: https://ftp.williamrehwinkel.net/pubkey.txt

Good point. I'm using 2.18.2 which is what's in the repo for debian 10.



Re: What's causing this extra bar line and empty bar?

2023-11-19 Thread William Rehwinkel via LilyPond user discussion

Dear Robert,

in the future, please take care that the minimal working example does 
not contain any undefined symbols that cause errors. Here, simply adding 
"strike = \fermata" at the beginning of the file alleviated all these 
errors, however.


After using convert-ly and rendering (using version 2.25.7) this extra 
barline doesn't appear. Can you try updating to the most recent version 
of lilypond (.24 or .25), and see if that helps?


Thanks,
-William

On 11/19/23 19:00, Robert Hickman wrote:

Hi people. I'm trying to reproduce the formatting from a tune that
started out in ABC notation, which is formatted with line breaks
around phrases instead of bars. It is working as intended, except for
an empty bar that's showing up after the first repeat sign, and I have
no idea what's causing it. Also there's extra space being added before
the other line breaks as well:

https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

The following is how it should be formatted (generated by ABCM2PS).

https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

And here's the code, without the definition of the \strike articulation symbol.

\version "2.18.2"

\header {tagline = ""}
{
 \numericTimeSignature
 \time 4/4
 \key f \major
 \repeat volta 2 {
 \partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
\allowBreak \break
 \partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
 \repeat volta 2 {
 \partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
\allowBreak \break
 \partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
}



--
William Rehwinkel - Oberlin College and Conservatory '24

will...@williamrehwinkel.net

PGP key: https://ftp.williamrehwinkel.net/pubkey.txt


OpenPGP_signature.asc
Description: OpenPGP digital signature


What's causing this extra bar line and empty bar?

2023-11-19 Thread Robert Hickman
Hi people. I'm trying to reproduce the formatting from a tune that
started out in ABC notation, which is formatted with line breaks
around phrases instead of bars. It is working as intended, except for
an empty bar that's showing up after the first repeat sign, and I have
no idea what's causing it. Also there's extra space being added before
the other line breaks as well:

https://pureocarinas.com/res/lilypond/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

The following is how it should be formatted (generated by ABCM2PS).

https://pureocarinas.com/res/abc_converter/aikendrumnotation_0c01fcb19c471b86d2ab94badb4b7de55b3660f2.png

And here's the code, without the definition of the \strike articulation symbol.

\version "2.18.2"

\header {tagline = ""}
{
\numericTimeSignature
\time 4/4
\key f \major
\repeat volta 2 {
\partial 4 f'8g'8 | a'4(  a'4 \strike) bes'8(a'8 g'8\strike f'8) |
d'2 f'4. d'8 \strike | c'4 c'4( d'4f'4) | a'4( g'4 g'4 \strike)
\allowBreak \break
\partial 4 f'8g'8 | a'4(a'4 \strike) bes'8(a'8g'8 \strike f'8) |
d'2 f'4.( d'8 \strike) | c'4c'4d'(e'4) | f'2. \allowBreak \break }
\repeat volta 2 {
\partial 4 f'8g'8 | a'4( a'4\strike a'4\strike) g'8f'8 | bes'2
d''4.( bes'8\strike) | a'4c''4( a'4\strike) f'4 | a'4g'4( g'4\strike)
\allowBreak \break
\partial 4 f'8g'8 | a'4(a'4\strike) bes'8( a'8 g'8\strike  f'8) |
d'2 f'4.(d'8\strike) | c'4(c'4\strike) d'4 e'4 | f'4. }
}



RE: Extra Bar

2013-10-26 Thread Mark Stephen Mrotek
Mr. Morley,

Thank you for your reply and the instructions. They work. And I know what
they do. Yet I do not know why they would be necessary since both of the
alternative endings are complete, i.e., have the correct mensuration to
match either the measure repeated to and the measure that follows.

Mark

-Original Message-
From: Thomas Morley [mailto:thomasmorle...@gmail.com] 
Sent: Friday, October 25, 2013 4:15 PM
To: Mark Stephen Mrotek
Cc: lilypond-user
Subject: Re: Extra Bar

2013/10/26 Mark Stephen Mrotek carsonm...@ca.rr.com:
 Hello,



 What should be done to get rid of the unnecessary bar in the second
ending?



 Thank you.



 Mark

Hi,

not sure whether it's the best way, though, changing 'right' to the code
below seems to work:

right = \relative c'' {
  \global

  \repeat volta 2 {
  \partial 16*5 ees16 ees8. ees16 |
  \times 2/3 {
  bes'8 c bes aes g f ees-2 [ d f ] } | }
  \alternative { { \set Timing.measureLength = #(ly:make-moment 7/16) ees4
r8. }
 { \set Timing.measureLength = #(ly:make-moment 3/8) ees4 r8
} }


  \repeat volta 2 {
  \key ees \minor
  bes8^\markup { \large \bold { Trio } } ( [ ges ees ] ) |
  d4 ( ees8 ) bes' ( ges ees-2 ) |


}


Cheers,
  Harm


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


Extra Bar

2013-10-25 Thread Mark Stephen Mrotek
Hello,

 

What should be done to get rid of the unnecessary bar in the second ending?

 

Thank you.

 

Mark

\version 2.16.2

global = {
  \key es \major
  \numericTimeSignature
  \time 3/4
  \override TupletBracket #'bracket-visibility = ##f
  \override TupletNumber #'stencil = ##f
}

right = \relative c'' {
  \global
  
  \repeat volta 2 {
  \partial 16*5 ees16 ees8. ees16 |
  \times 2/3 {
  bes'8 c bes aes g f ees-2 [ d f ] } | } 
  \alternative { { ees4 r8. }
 { ees4 r8 } } 
  
 
  \repeat volta 2 {
  \set Timing.measurePosition = #(ly:make-moment -3/8)
  \key ees \minor
  bes8^\markup { \large \bold { Trio } } ( [ ges ees ] ) |
  d4 ( ees8 ) bes' ( ges ees-2 ) |

  
}

}

left = \relative c' {
  \global
  
  s16 s8. s16 |
  g4\staccatissimo r \clef treble  bes aes'-1  ( |
   ees g  ) \clef bass ees,8.  
  \once \override Score.BreakAlignment
  #'break-align-orders = #(make-vector 3 '( staff-bar
  clef staff-bar ))

  \clef treble  ees' g 4 \clef bass ees,8
 
  \key ees \minor
  r8 r4 | r8  f_4 aes (  ges bes 4 ) r |

  
}

\score {
  \new PianoStaff 
\new Staff = right \right
\new Staff = left { \clef bass \left }
  
  \layout { }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Bar

2013-10-25 Thread Thomas Morley
2013/10/26 Mark Stephen Mrotek carsonm...@ca.rr.com:
 Hello,



 What should be done to get rid of the unnecessary bar in the second ending?



 Thank you.



 Mark

Hi,

not sure whether it's the best way, though, changing 'right' to the
code below seems to work:

right = \relative c'' {
  \global

  \repeat volta 2 {
  \partial 16*5 ees16 ees8. ees16 |
  \times 2/3 {
  bes'8 c bes aes g f ees-2 [ d f ] } | }
  \alternative { { \set Timing.measureLength = #(ly:make-moment 7/16) ees4 r8. }
 { \set Timing.measureLength = #(ly:make-moment 3/8) ees4 r8 } }


  \repeat volta 2 {
  \key ees \minor
  bes8^\markup { \large \bold { Trio } } ( [ ges ees ] ) |
  d4 ( ees8 ) bes' ( ges ees-2 ) |


}


Cheers,
  Harm

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


Extra Bar

2013-09-08 Thread Mark Stephen Mrotek
Hello:

 

At the end of the second alternative ending in the attached snippet an
unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not
remove the extra bar.

 

What other method should I try?

 

Thank you for your kind attention.

 

Mark

\version 2.16.2

\relative c'' {
  
  
  \time 3/4
  
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  \repeat volra 2 {
  e16 e8. e16 | e4 e e }
  \alternative {{ e4 r8. }{ e4 r8 }}
  \set Timing.measurePosition = #(ly:make-moment 3/8)
  \key ees \minor
  bes8 [ ges ees ] | d4 d d |
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Extra Bar

2013-09-08 Thread Simon Bailey
hi,

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek carsonm...@ca.rr.comwrote:

 At the end of the second alternative ending in the attached snippet an
 unwanted bar appears and disrupts the meter.

 **

 I have experimented with placing

 \set Timing.measurePosition = #(ly:make-moment 3/8)
 after the second alternative. Using it restores the meter. It does not
 remove the extra bar.

 ** **

 What other method should I try?


you have two possibilities:

first:
you have a partial upbeat, so you also have a partial first repeat bar. use
the \set Timing.measurePosition in the first alternative like this:


\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  \repeat volta 2 {
  e16 e8. e16 | e4 e e }
  \alternative {
{
  \set Timing.measurePosition = #(ly:make-moment -7/16)
  e4 r8.
}
{
  e4 r8
  \key ees \minor
  bes8 [ ges ees ] |
}
  }
   d4 d d |
}


however, you then have a key change in the middle of the second
alternative. this is ugly. a more correct way of notating your example,
avoiding partial bars after the first bar:


\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  e16 e8. e16 |
  \repeat volta 2 {
e4 e e
  }
  \alternative {
{ e4 r8. e16 e8. e16 | }
{ e4 r8 }
  }
  bes8 [ ges ees ] |
  \key ees \minor
  d4 d d |
}


regards,
sb
-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


RE: Extra Bar

2013-09-08 Thread Mark Stephen Mrotek
Mr. Bailey,

 

Thank you for your reply and the detailed corrections. I will study both of
them to increase my knowledge.

 

Mark

 

From: bina...@gmail.com [mailto:bina...@gmail.com] On Behalf Of Simon Bailey
Sent: Sunday, September 08, 2013 11:30 AM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: Extra Bar

 

hi,

 

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek carsonm...@ca.rr.com
wrote:

At the end of the second alternative ending in the attached snippet an
unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not
remove the extra bar.

 

What other method should I try?

 

you have two possibilities:

 

first:

you have a partial upbeat, so you also have a partial first repeat bar. use
the \set Timing.measurePosition in the first alternative like this:

 

 

\relative c'' {

  \time 3/4 

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  \repeat volta 2 {

  e16 e8. e16 | e4 e e }

  \alternative {

{ 

  \set Timing.measurePosition = #(ly:make-moment -7/16)

  e4 r8. 

}

{ 

  e4 r8 

  \key ees \minor

  bes8 [ ges ees ] |

}

  }

   d4 d d |

}

 

 

however, you then have a key change in the middle of the second alternative.
this is ugly. a more correct way of notating your example, avoiding
partial bars after the first bar:

 

 

\relative c'' {

  \time 3/4

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  e16 e8. e16 |

  \repeat volta 2 {

e4 e e 

  }

  \alternative {

{ e4 r8. e16 e8. e16 | }

{ e4 r8 }

  }

  bes8 [ ges ees ] | 

  \key ees \minor

  d4 d d |

}

  

 

regards,

sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger. 

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


RE: Extra Bar

2013-09-08 Thread Mark Stephen Mrotek
Mr. Bailey,

 

Again thank you for your detailed suggestions. I opened both of them and
the second appeared closer to what I want. In addition your
commentary/explanation got me to ask What if? So I tried a few other
things and came up with the attached snippet.

 

As a teacher I appreciate what you have done to help me, a learner.

 

Mark

 

From: bina...@gmail.com [mailto:bina...@gmail.com] On Behalf Of Simon Bailey
Sent: Sunday, September 08, 2013 11:30 AM
To: Mark Stephen Mrotek
Cc: lilypond-user Mailinglist
Subject: Re: Extra Bar

 

hi,

 

On Sun, Sep 8, 2013 at 8:11 PM, Mark Stephen Mrotek carsonm...@ca.rr.com
wrote:

At the end of the second alternative ending in the attached snippet an
unwanted bar appears and disrupts the meter.

I have experimented with placing

\set Timing.measurePosition = #(ly:make-moment 3/8)
after the second alternative. Using it restores the meter. It does not
remove the extra bar.

 

What other method should I try?

 

you have two possibilities:

 

first:

you have a partial upbeat, so you also have a partial first repeat bar. use
the \set Timing.measurePosition in the first alternative like this:

 

 

\relative c'' {

  \time 3/4 

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  \repeat volta 2 {

  e16 e8. e16 | e4 e e }

  \alternative {

{ 

  \set Timing.measurePosition = #(ly:make-moment -7/16)

  e4 r8. 

}

{ 

  e4 r8 

  \key ees \minor

  bes8 [ ges ees ] |

}

  }

   d4 d d |

}

 

 

however, you then have a key change in the middle of the second alternative.
this is ugly. a more correct way of notating your example, avoiding
partial bars after the first bar:

 

 

\relative c'' {

  \time 3/4

  \set Timing.measurePosition = #(ly:make-moment -5/16)

  e16 e8. e16 |

  \repeat volta 2 {

e4 e e 

  }

  \alternative {

{ e4 r8. e16 e8. e16 | }

{ e4 r8 }

  }

  bes8 [ ges ees ] | 

  \key ees \minor

  d4 d d |

}

  

 

regards,

sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and quick
to anger. 

\relative c'' {
  \time 3/4
  \set Timing.measurePosition = #(ly:make-moment -5/16)
  e16^\markup { \bold Minuetto } e8. e16 |
  \repeat volta 2 {
e4 e e 
  }
  \alternative {
{ e4 r8. e16 e8. e16 | }
{ e4 r8 }
  }
  \repeat volta 2 {
  \key ees \minor
  bes8^\markup { \bold Trio } [ ges ees ] | 
  
  d4 d d }
}
  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


grace notes cause extra bar to contain them

2009-01-31 Thread Rob Canning

hi,
not sure whats going on here...
if i isolate and render only one of the two staves then everything is 
fine but if i parse the .ly that contains two staves an extra bar gets 
created that contains the grace notes.

i cant figure out why...
here is the .ly
http://pastebin.com/m672b44fd
see first set of grace notes in the upper part.

any ideas why this is happening?
thanks
rob


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


Re: grace notes cause extra bar to contain them

2009-01-31 Thread Daniel Hulme
On Sat, Jan 31, 2009 at 04:26:25PM +, Rob Canning wrote:
 hi,
 not sure whats going on here...
 if i isolate and render only one of the two staves then everything is  
 fine but if i parse the .ly that contains two staves an extra bar gets  
 created that contains the grace notes.
It's not the grace notes that are causing the extra bar, it's the fact
you have manual barlines in different places in each voice. If you
comment out all the \bar dashed from your voiceF the superfluous
barlines will disappear.

 any ideas why this is happening?
Although grace notes don't take up the 'regular' time of the bar, they
need to take up special 'grace time' so they can be correctly beamed and
spaced within each group of grace notes. This means that the \bar in
voiceE, which is after the grace notes, is at a different time to the
corresponding \bar in voiceF, which is before the grace notes.

-- 
Always crash crash crashWell come on and let me know
You're happy when I'm running bash   Should I play or should I code?
One test is fine, next is black(with apologies to The Clash)
So if you want a dodgy hack  worse at http://surreal.istic.org/songs


signature.asc
Description: Digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: extra bar

2005-12-26 Thread Graham Percival
Please keep lilypond traffic on the mailist.  \cadenzaOn controls a 
score property, so if you add it to one staff (any staff), it will 
apply to all of them.


- Graham

On 25-Dec-05, at 7:18 PM, Jay Hamilton, Sound and Silence wrote:


My question - re; these responses.
can I add /cadenzaOn to just 'any' staff and suddenly none of my 
staves will have the default

or
do I need to add it to the 'top' staff
or
to all the staves that this requires. Which for my new composition is 
all of them.


The barline default, I'm finding confusing as I would expect (just 
like you have to bes for all bes's even though the key is f major) all 
the staves to need the same instructions in the same places.  But this 
is clearly not the case but I've yet to come up with a rationale to 
explain what the default it.

Jay

Graham Percival wrote:



On 2-Nov-05, at 1:36 AM, Mats Bengtsson wrote:


Actually, \cadenzaOn is just a shorthand for
\set Timing.timing = ##f
Arthur's code would probably work as expected if changed
score.timing into Score.timing or Timing.Timing (the latter
is recommended) or the shorthand \cadenzaOn.



This is why I always use those shorthands if they're available.  It 
doesn't matter if the underlying lilypond syntax changes from 
Score.timing to Timing.Timing or Bars.Times or Foo.Buzzle ; as long 
as the lilypond devel team updates the definition of \cadenzaOn, all 
will be well.


Cheers,
- Graham



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




--
Childhood is a Journey not a race- Emma Sadinsky aged 8
Jay Hamilton
Sound and Silence
206-328-7694
www.soundand.com





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


Re: extra bar

2005-11-02 Thread Edward Neeman
If you don't want barlines (except where you specify
them explicitly) add /cadenzaOn to any of the parts. 
Otherwise it will add bars in 4/4 (default) time.

Cheers,
Edward Neeman
--- Arthur Dyck [EMAIL PROTECTED] wrote:

 Can anyone tell me why I have an extra bar before
 the double bar?  I don't 
 want it.
 
 \version 2.6.0
 global = 
 {
 \key g \major
 \set score.timing = ##f
 \set Staff.autoBeaming = ##f
 }
 \layout {
 raggedright = ##t
 }
 \header {   
 title = 
 subtitle = 
 tagline =
 poet = 
 composer =
 }
 
 #(set-global-staff-size 15)
 
 upperOne = 
 \relative c''{
 \voiceOne
 \key g \major
 a2 b1 \bar |.
 }
 
 upperTwo =  
 \relative c'{
 \voiceTwo
 fis2 g1
 }
 
 lowerOne =  
 \relative c' {
 \key g \major
 \voiceOne
 d2 d1
 } 
 
 lowerTwo =   
 \relative c {
 \voiceTwo
 d2 g1
 }
 
 firstverse = \lyricmode {
 A -- men
  }
 
 
 \score{ 
 \context StaffGroup
 \context Staff = upper 
 
 
 \clef treble
 \context Voice = one
 \upperOne
 \context Voice = two
 \upperTwo 
 
 
 \lyricsto one \new Lyrics {
 \firstverse 
 }
 
 
 \context Staff = lower 
 
 \clef bass
 \context
 Voice = one \lowerOne
 \context
 Voice = two \lowerTwo
 
 
 
 \layout {
 
 \context{\Staff
 \remove
 Time_signature_engraver
 }
 \context{\StaffGroup
 }
 
 \context{\Score
 barNumberVisibility = #all-invisible
 }
 }
 
 
 \midi { }   
 }
 \paper {
 
 topmargin = .0\in
 leftmargin = .1\in
 linewidth = 5\in 
 indent = 0
 pagenumber = no
 }
 
 Thanks.
 
 Arthur
  ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 




 
Do you Yahoo!? 
The New Yahoo! Movies: Check out the Latest Trailers,
Premiere Photos 
and full Actor Database. 
http://au.movies.yahoo.com






 
Do you Yahoo!? 
Yahoo! Photos: Now with unlimited storage 
http://au.photos.yahoo.com


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


Re: extra bar

2005-11-02 Thread Mats Bengtsson

Actually, \cadenzaOn is just a shorthand for
\set Timing.timing = ##f
Arthur's code would probably work as expected if changed
score.timing into Score.timing or Timing.Timing (the latter
is recommended) or the shorthand \cadenzaOn.
Note that LilyPond is sensitive about uppercase/lowercase!

  /Mats

Edward Neeman wrote:


If you don't want barlines (except where you specify
them explicitly) add /cadenzaOn to any of the parts. 
Otherwise it will add bars in 4/4 (default) time.


Cheers,
Edward Neeman
--- Arthur Dyck [EMAIL PROTECTED] wrote:

 


Can anyone tell me why I have an extra bar before
the double bar?  I don't 
want it.


\version 2.6.0
global = 
{

   \key g \major
   \set score.timing = ##f
   \set Staff.autoBeaming = ##f
}
\layout {
   raggedright = ##t
}
\header {   
   title = 

   subtitle = 
   tagline =
   poet = 
   composer =
}


#(set-global-staff-size 15)

upperOne = 
   \relative c''{

   \voiceOne
   \key g \major
   a2 b1 \bar |.
   }
   
upperTwo =  
   \relative c'{

   \voiceTwo
   fis2 g1
}

lowerOne =  
   \relative c' {

   \key g \major
   \voiceOne
   d2 d1
} 

lowerTwo =   
   \relative c {

   \voiceTwo
   d2 g1
}

firstverse = \lyricmode {
   A -- men
}


\score{ 
   \context StaffGroup
   \context Staff = upper 
   
   

   \clef treble
   \context Voice = one
\upperOne
   \context Voice = two
\upperTwo 
   
   
   \lyricsto one \new Lyrics {
   \firstverse 
   }


   
   \context Staff = lower 
   
   \clef bass

   \context
Voice = one \lowerOne
   \context
Voice = two \lowerTwo
   
   

\layout {
   
   \context{\Staff

   \remove
Time_signature_engraver
   }
   \context{\StaffGroup
   }

   \context{\Score
   barNumberVisibility = #all-invisible
   }
   }


\midi { }   
}

\paper {

   topmargin = .0\in
   leftmargin = .1\in
   linewidth = 5\in 
   indent = 0

   pagenumber = no
   }

Thanks.

Arthur
   


___
 


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

   






 
Do you Yahoo!? 
The New Yahoo! Movies: Check out the Latest Trailers,
Premiere Photos 
and full Actor Database. 
http://au.movies.yahoo.com







 
Do you Yahoo!? 
Yahoo! Photos: Now with unlimited storage 
http://au.photos.yahoo.com



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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: extra bar

2005-11-02 Thread Arthur Dyck
Thank you both for your suggestions.  They are very helpful.

Arthur

On Wednesday 02 November 2005 04:36 am, Mats Bengtsson wrote:
 Actually, \cadenzaOn is just a shorthand for
 \set Timing.timing = ##f
 Arthur's code would probably work as expected if changed
 score.timing into Score.timing or Timing.Timing (the latter
 is recommended) or the shorthand \cadenzaOn.
 Note that LilyPond is sensitive about uppercase/lowercase!

/Mats

 Edward Neeman wrote:
 If you don't want barlines (except where you specify
 them explicitly) add /cadenzaOn to any of the parts.
 Otherwise it will add bars in 4/4 (default) time.
 
 Cheers,
 Edward Neeman
 
 --- Arthur Dyck [EMAIL PROTECTED] wrote:
 Can anyone tell me why I have an extra bar before
 the double bar?  I don't
 want it.
 
 \version 2.6.0
 global =
 {
 \key g \major
 \set score.timing = ##f
 \set Staff.autoBeaming = ##f
 }
 \layout {
 raggedright = ##t
 }
 \header {
 title = 
 subtitle = 
 tagline = 
 poet = 
 composer = 
 }
 
 #(set-global-staff-size 15)
 
 upperOne =
 \relative c''{
 \voiceOne
 \key g \major
 a2 b1 \bar |.
 }
 
 upperTwo =
 \relative c'{
 \voiceTwo
 fis2 g1
 }
 
 lowerOne =
 \relative c' {
 \key g \major
 \voiceOne
 d2 d1
 }
 
 lowerTwo =
 \relative c {
 \voiceTwo
 d2 g1
 }
 
 firstverse = \lyricmode {
 A -- men
  }
 
 
 \score{
 \context StaffGroup
 \context Staff = upper
 
 
 \clef treble
 \context Voice = one
 \upperOne
 \context Voice = two
 \upperTwo
 
 
 \lyricsto one \new Lyrics {
 \firstverse
 }
 
 
 \context Staff = lower 
 
 \clef bass
 \context
 Voice = one \lowerOne
 \context
 Voice = two \lowerTwo
 
 
 
 \layout {
 
 \context{\Staff
 \remove
 Time_signature_engraver
 }
 \context{\StaffGroup
 }
 
 \context{\Score
 barNumberVisibility = #all-invisible
 }
 }
 
 
 \midi { }
 }
 \paper {
 
 topmargin = .0\in
 leftmargin = .1\in
 linewidth = 5\in
 indent = 0
 pagenumber = no
 }
 
 Thanks.
 
 Arthur
 
 ___
 
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 Do you Yahoo!?
 The New Yahoo! Movies: Check out the Latest Trailers,
 Premiere Photos
 and full Actor Database.
 http://au.movies.yahoo.com
 
 
 
 
 
 
 
 Do you Yahoo!?
 Yahoo! Photos: Now with unlimited storage
 http://au.photos.yahoo.com
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: extra bar

2005-11-02 Thread Graham Percival


On 2-Nov-05, at 1:36 AM, Mats Bengtsson wrote:


Actually, \cadenzaOn is just a shorthand for
\set Timing.timing = ##f
Arthur's code would probably work as expected if changed
score.timing into Score.timing or Timing.Timing (the latter
is recommended) or the shorthand \cadenzaOn.


This is why I always use those shorthands if they're available.  It 
doesn't matter if the underlying lilypond syntax changes from 
Score.timing to Timing.Timing or Bars.Times or Foo.Buzzle ; as long as 
the lilypond devel team updates the definition of \cadenzaOn, all will 
be well.


Cheers,
- Graham



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


Re: Extra bar at the end.

2005-01-20 Thread Mats Bengtsson
Did you check the duration of the final notes?
The final note of \bass is a dotted half note, whereas that
of the other parts is just a half note.
   /Mats
Gordon Gilbert wrote:
Hi!
What am I missing here?  Using 2.2.2, the PDF output has an extra bar at 
the very end of the bass clef (but not in the treble clef).  I've 
checked all my notes and words, and everything seems correct, but there 
is that strange extra empty bar.

Blessings,
Gordon Gilbert
+=+
| Angels' Roost Farm  |
|   Rev. Dn. Gordon Gilbert  Susan Gilbert   |
|   705-549-5056  |
|[EMAIL PROTECTED]  |
|[EMAIL PROTECTED] |
+=+

\header {
filename = TurnYourEyesUponJesus.ly
enteredby = Gordon Gilbert
composer = Helen H. Lemmel
poet = Helen H. Lemmel
date=1922
title = Turn Your Eyes Upon Jesus
metre = Lemmel 98. 98. and Refrain
meter = \metre
copyright = Singspriation Inc
style = Hymn
mutopiacomposer = \composer
mutopiapoet=\poet
maintainer = Gordon Gilbert
maintainerEmail = [EMAIL PROTECTED]
lastupdated = 2005/Jan/17
}
\version 2.2.2
%shorthand for Skip Lyric
sl = \notes { \skip 4 }
global=\notes {
	\set Staff.minimumVerticalExtent = #'(-4 . 4)
\time 3/4 \key f \major
\partial 4
\skip 2.*17 \bar ||
\skip 2.*15 \bar ||

}

sop = \context Voice = sop \notes  {
\voiceOne
a'4 |
a' gis' a' |
c'' bes' a' |
a'2. |
g'2 d'4 |
f' e' f' |
a' g' c' |
a'2. ~ |
a'2 a'8( a') |
a'4 gis' a' |
d'' c'' a' |
a'2. |
g'2 g'4 |
a' b' c'' |
e' f' d' |
c'2. ~ c'
% chorus
a'2^\markup{ \large Refrain } a'4 |
c''4. a'8 g'4 |
f'2. |
f'2 f'4 |
bes' bes' bes' |
d'' bes' a' |
g'2. ~ |
g'2 a'8 bes'
c''2 c''4 |
c'' a' g' |
f'2 f'4 |
f'2 f'8 g' |
a'4. g'8 a'4 |
bes' a' g' |
f'2. ~ |
f'2
}
alto=\context Voice = alto \notes  {
	\voiceTwo
	f'4 |
	f' f' f' |
	f' f' ees' |
	d'2. |
	d'2 d'4 |
	c' c' c' |
	e' e' c' |
	c'2. ~ |
	c'2 f'8( f') |
	f'4 f' f' |
	f' f' f' |
	d'2. |
	g'2 e'4 |
	f' c' dis' |
	e' d' b |
	c'2. ~ |
	c' 
	
	%chorus
	c'2 c'4 |
	e'4. e'8 e'4 |
	f'2. |
	ees'2 ees'4 |
	d'4 d' d' |
	d' d' d' |
	e' c' d' |
	e'2 f'8 f' |
	f'2 e'4 |
	f'4 f' e' |
	f'2 ees'4 |
	d'2 d'8 d' |
	c'4. e'8 f'4 |
	e' e' e' |
	f'2. ~ |
	f'2
}	
	
tenor = \context Voice = tenor \notes  {
	\voiceOne
	c'4 |
	c' b c' |
	a f f |
	f2( fis4) |
	g2 bes4 |
	a g a |
	c' bes e |
	f2. ~ |
	f2 c'8( c') |
	c'4 b c' |
	bes a c' |
	b2. |
	c'2 c'4
	c' g a |
	c' b g8 f |
	e2. ~ e

%chorus
f2 f4 |
g4. c'8 bes4 |
a2. |
a2 a4 |
bes a g |
f g f |
e2( f4 |
g2) f8 g |
a2 bes4 |
c' c' bes |
a2 a4 |
bes2 a8 bes |
f4. c'8 c'4 |
d' c' bes |
a2. ~ |
a2
}

bass = \context Voice = bass \notes  {
\voiceTwo
f4 f f f |
f d c |
bes,2. |
bes,2 bes4 |
c c c |
c c c |
f,2. ~ |
f,2 f8( f) |
f4 f f |
f f f |
f2. |
e2 c4 |
f f fis |
g g g, |
c2. ~ c

%chorus
f2 f4 |
c4. c8 c4 |
d2. |
c2 f4 |
bes, bes, bes, |
bes, bes, b, |
c2. ~ |
c2 f8 f |
f2 g4 |
a f cis |
d2 c4 |
bes,2 d8 bes, |
c4. c8 c4 |
c c c |
f,2. ~ |
f,
}
accomp=\chords {

}

stanzaa = \lyrics {
O soul, are you wea -- ry and troub -- led?
No light in the dark -- ness you see?
There's light for a look at the Sav -- iour,
And life more a -- bun -- dant and free!
%Refrain
Turn your eyes u -- pon Je -- sus,
Look full in His won -- der -- ful face;
And the things of earth will grow strange -- ly dim
In the light of His glo -- ry and grace.
}
stanzab = \lyrics {
Through death in -- to life ev -- er -- last -- ing
He passed, and we fol -- low Him there;
O-ver us sin no more hath do -- min -- ion
For more __ \sl than con -- qu'rors we are!
}
stanzac = \lyrics {
His word shall not fail you, He pro -- mised;
Be -- lieve Him and all will be well:
Then go to a world that is dy -- ing,
His per -- fect sal -- va -- tion to tell!
}

\score {
	\notes \transpose f ees  \context ChoirStaff 
	   \context ChordNames \accomp

Extra bar at the end.

2005-01-17 Thread Gordon Gilbert
Hi!
What am I missing here?  Using 2.2.2, the PDF output has an extra bar at 
the very end of the bass clef (but not in the treble clef).  I've checked 
all my notes and words, and everything seems correct, but there is that 
strange extra empty bar.

Blessings,
Gordon Gilbert
+=+
| Angels' Roost Farm  |
|   Rev. Dn. Gordon Gilbert  Susan Gilbert   |
|   705-549-5056  |
|[EMAIL PROTECTED]  |
|[EMAIL PROTECTED] |
+=+\header {
filename = TurnYourEyesUponJesus.ly
enteredby = Gordon Gilbert
composer = Helen H. Lemmel
poet = Helen H. Lemmel
date=1922
title = Turn Your Eyes Upon Jesus
metre = Lemmel 98. 98. and Refrain
meter = \metre
copyright = Singspriation Inc
style = Hymn
mutopiacomposer = \composer
mutopiapoet=\poet
maintainer = Gordon Gilbert
maintainerEmail = [EMAIL PROTECTED]
lastupdated = 2005/Jan/17
}

\version 2.2.2
%shorthand for Skip Lyric
sl = \notes { \skip 4 }

global=\notes {
\set Staff.minimumVerticalExtent = #'(-4 . 4)
\time 3/4 \key f \major
\partial 4
\skip 2.*17 \bar ||
\skip 2.*15 \bar ||

}

sop = \context Voice = sop \notes  {
\voiceOne
a'4 |
a' gis' a' |
c'' bes' a' |
a'2. |
g'2 d'4 |
f' e' f' |
a' g' c' |
a'2. ~ |
a'2 a'8( a') |
a'4 gis' a' |
d'' c'' a' |
a'2. |
g'2 g'4 |
a' b' c'' |
e' f' d' |
c'2. ~ c'

% chorus
a'2^\markup{ \large Refrain } a'4 |
c''4. a'8 g'4 |
f'2. |
f'2 f'4 |
bes' bes' bes' |
d'' bes' a' |
g'2. ~ |
g'2 a'8 bes'
c''2 c''4 |
c'' a' g' |
f'2 f'4 |
f'2 f'8 g' |
a'4. g'8 a'4 |
bes' a' g' |
f'2. ~ |
f'2
}

alto=\context Voice = alto \notes  {
\voiceTwo
f'4 |
f' f' f' |
f' f' ees' |
d'2. |
d'2 d'4 |
c' c' c' |
e' e' c' |
c'2. ~ |
c'2 f'8( f') |
f'4 f' f' |
f' f' f' |
d'2. |
g'2 e'4 |
f' c' dis' |
e' d' b |
c'2. ~ |
c' 

%chorus
c'2 c'4 |
e'4. e'8 e'4 |
f'2. |
ees'2 ees'4 |
d'4 d' d' |
d' d' d' |
e' c' d' |
e'2 f'8 f' |
f'2 e'4 |
f'4 f' e' |
f'2 ees'4 |
d'2 d'8 d' |
c'4. e'8 f'4 |
e' e' e' |
f'2. ~ |
f'2
}   

tenor = \context Voice = tenor \notes  {
\voiceOne
c'4 |
c' b c' |
a f f |
f2( fis4) |
g2 bes4 |
a g a |
c' bes e |
f2. ~ |
f2 c'8( c') |
c'4 b c' |
bes a c' |
b2. |
c'2 c'4
c' g a |
c' b g8 f |
e2. ~ e

%chorus
f2 f4 |
g4. c'8 bes4 |
a2. |
a2 a4 |
bes a g |
f g f |
e2( f4 |
g2) f8 g |
a2 bes4 |
c' c' bes |
a2 a4 |
bes2 a8 bes |
f4. c'8 c'4 |
d' c' bes |
a2. ~ |
a2
}

bass = \context Voice = bass \notes  {
\voiceTwo
f4 f f f |
f d c |
bes,2. |
bes,2 bes4 |
c c c |
c c c |
f,2. ~ |
f,2 f8( f) |
f4 f f |
f f f |
f2. |
e2 c4 |
f f fis |
g g g, |
c2. ~ c

%chorus
f2 f4 |
c4. c8 c4 |
d2. |
c2 f4 |
bes, bes, bes, |
bes, bes, b, |
c2. ~ |
c2 f8 f |
f2 g4 |
a f cis |
d2 c4 |
bes,2 d8 bes, |
c4. c8 c4 |
c c c |
f,2. ~ |
f,
}

accomp=\chords {

}



stanzaa = \lyrics {
O soul, are you wea -- ry and troub -- led?
No light in the dark -- ness you see?
There's light for a look at the Sav -- iour,
And life more a -- bun -- dant and free!
%Refrain
Turn your eyes u -- pon Je -- sus,
Look full in His won -- der -- ful face;
And the things of earth will grow strange -- ly dim
In the light of His glo -- ry and grace.
}

stanzab = \lyrics {
Through death in -- to life ev -- er -- last -- ing
He passed, and we fol -- low Him there;
O-ver us sin no more hath do -- min -- ion
For more __ \sl than con -- qu'rors we are!
}

stanzac = \lyrics {
His word shall not fail you, He pro -- mised;
Be -- lieve Him and all will be well:
Then go

Re: Extra bar at the end.

2005-01-17 Thread Benjamin Esham
On Jan 17, 2005, at 9:29 PM, Gordon Gilbert wrote:
Hi!
What am I missing here?  Using 2.2.2, the PDF output has an extra bar 
at
the very end of the bass clef (but not in the treble clef).  I've 
checked all
my notes and words, and everything seems correct, but there is that 
strange
extra empty bar.
Take a look at the tenor part, line 125:
123:  c'2 c'4
124:  c' g a |
125:  c' b g8 f | % this bar
126:  e2. ~ e
That f should be an f4, I think (right now it's an eighth note, but a 
quarter
and three eights is not a complete measure).  I just skimmed the rest 
of the
file, but I think this might be your problem.

Also, a semi-related tip: one thing I find helpful is to put an 
explicit duration
on the first note of every new line (which is also every new measure, 
if you
write one measure per line). Trying to remember which duration a note 
should
be is just too error-prone, IMO.

HTH,
--
Benjamin D. Esham{http://bdesham.net
[EMAIL PROTECTED]}AIM: bdesham 1 2 8
Six Gmail invites -- e-mail me if you're interested.

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