Re: lyric hyphen goes outside staff limits at line break

2012-03-12 Thread Zsolt Cselényi
 I've no solution but some observations:
 \remove Bar_engraver causes some problems, \override SpacingSpanner
 #'packed-spacing = ##t from gregorian.ly, too.
 But it is possible to provoke the problem even without them. -
 attached png (The last LyricHyphen of the line collides with the
 BarLine.)
 
 My attempt to alter the 'X-extent of the last stem of a line from
 inside a LyricHyphen-override failed. And I don't know why. I can
 change the color of the stem but not the 'X-extent! Overriding it
 directly in the Voice works.
 


Harm,
Thanks for your efforts. The callback solution may fail exactly because it's a
callback _after_ the line already has been broken and thus changing the X-extent
of the last stem has no further bearing on the appearance of the end of the
staff or the location of the break. LilyPond should somehow take into
consideration the lyric hyphens _during_ the determination of line breaks. So
perhaps it really cannot be solved without changing the layout system...
Zsolt




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


Re: lyric hyphen goes outside staff limits at line break

2012-03-11 Thread Zsolt Cselényi
David Nalesnik david.nalesnik at gmail.com writes:

 
 
 Hi Zsolt,
 On Sat, Mar 10, 2012 at 4:43 PM, -Eluze eluzew at gmail.com wrote:
 
 
 Zsolt Cselényi wrote:
 
 
 
 
  For the above the first line is broken after three bla-s and the hyphen
  of the
  last bla sticks out completely on the right.
 
 hi
 I think the paper-width is very short, too - is that your intention? did you
 mean \cm
 
 
 Sorry, I can't reproduce this.  The notes are so close together the hyphens
are suppressed when I run this with 2.14.2.
 
 -David 
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user at gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 
Hi, of course in the _tiny_ example I used narrow paper (yes, 2.8 cm) to bring
out the error. However, it also happens in case of normal paper size: every now
and then when working with longer chants where syllables have to be broken at
the end of line, the hyphen connecting the last syllable on the line to the one
on the next sticks out.
I don't get it why you can't reproduce it. Yes, hyphens are suppressed mid-line
but the one at the end should not be: that's the one sticking out off-staff.
Should I post another example with bigger paper  longer music? How can I share
a print-out to show it looks at my end?
Thanks!
Zsolt




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


lyric hyphen goes outside staff limits at line break

2012-03-10 Thread Zsolt Cselényi
Hi!

  I am working with music (chant) using the modern transcription of ancient
music as recommended. I noticed that the line breaks, which can occur between
any two words or even between syllables in a single word, do not take into
consideration the lyric hyphens so they many times end up going outside the
right end of the staff.
  This is really annoying and I tried many many tricks and workarounds to no
avail. So I give up and ask for help from you. Is it possible in any way to keep
the hyphens within limits?
Thanks for any advice!

Zsolt


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


Re: lyric hyphen goes outside staff limits at line break

2012-03-10 Thread Zsolt Cselényi
Phil Holmes mail at philholmes.net writes:

 
 - Original Message - 
 From: Zsolt Cselényi zsolt.cselenyi at gmail.com
 To: lilypond-user at gnu.org
 Sent: Saturday, March 10, 2012 12:16 PM
 Subject: lyric hyphen goes outside staff limits at line break
 
  Hi!
 
   I am working with music (chant) using the modern transcription of ancient
  music as recommended. I noticed that the line breaks, which can occur 
  between
  any two words or even between syllables in a single word, do not take into
  consideration the lyric hyphens so they many times end up going outside 
  the
  right end of the staff.
   This is really annoying and I tried many many tricks and workarounds to 
  no
  avail. So I give up and ask for help from you. Is it possible in any way 
  to keep
  the hyphens within limits?
  Thanks for any advice!
 
  Zsolt
 
 Please provide a tiny example which illustrates your difficulty. 
 http://lilypond.org/tiny-examples.html
 
 --
 Phil Holmes
 

Here is an example, as short as I could make it:

\version 2.14.2
\include gregorian.ly
\paper {
  paper-width = 28\mm
  left-margin = 0\mm
  right-margin = 0\mm
}
chant = { f' f' f' f' f' \finalis }
verba = \lyricmode { bla -- bla -- bla -- bla -- bla }
\score {
  \new Staff 
\new Voice = melody \chant
\new Lyrics = one \lyricsto melody \verba
  
  \layout {
\context {
  \Staff
  \remove Bar_engraver
  \remove Time_signature_engraver
}
  }
}

For the above the first line is broken after three bla-s and the hyphen of the
last bla sticks out completely on the right.




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