Re: barline question

2005-04-03 Thread Maurits Lamers
Hi :)
In case you didn't read my original post:
I am creating a score for a piece of H. Schütz with Lilypond 2.2.5 
(with Fink on Mac). When setting this old kind of music it is often 
better to not use a standard Choirstaff, but to use the bar lines only 
between the bars. As far as I know this is quite common in late 
renaissance and early baroque vocal music.

So I used a StaffGroup and set the Staff.BarLine #'transparent = ##t.
Since I needed repeat signs, I had to be able to put the transparency 
off to avoid losing the repeat signs themselves.
The result: I have a part that shows the bar lines between the staves 
only, except for the repeat signs.
One detail: for the repeat signs I used \bar :| instead of \repeat 
volta. It doesn't seem to make a difference for this problem though.

One problem remains: the lyrics are running into the bar lines. In the 
documentation I found that adding the Bar_engraver to the Lyrics 
context would avoid this. This works, but it adds barlines below the 
last staff and prints the repeat sign : -- : on the Lyrics height. 
Trying to avoid that, I used \override BarLine #'transparent = ##t, but 
this leaves a hole in the vertical repeat bar line.

Any idea how to be able to avoid lyric-bar line-collisions without 
having to nudge each lyric into the right position?

Thanks in advance :)
greets
Maurits
Op 2-apr-05 om 20:20 heeft Graham Percival het volgende geschreven:
On 31-Mar-05, at 3:19 AM, Maurits Lamers wrote:
Hi all,
Still one question though.
I tried Score.BarLine #'transparent = ##t, but that worked too well.
The repeat sign I wanted to show, didn't show, even when I set it to 
false before \bar.

So I changed it into Staff.BarLine and disabled it just before the 
repeat sign and enabling it afterwards.
Worked perfectly.

Since I am making a choir piece for 5 voices I wanted to add the 
Bar_engraver to the Lyric context so that the bar lines between the 
staves didn't collide with the lyrics. But that didn't worked out the 
way I intended, because the repeat sign now showed both in the bar 
and the lyric line. Setting the bar lines to transparent in the lyric 
context only created a blank in the thick bar between the staves.
I even tried to add the Span_bar_engraver instead, but that didn't do 
anything.

Anyone an idea how to keep the bar lines and lyrics from colliding 
while keeping the normal repeat signs in the part ?
I don't understand -- if you use a ChoirStaff, then bar lines aren't 
drawn where the lyrics
are printed.  Why play all the games with invisible bar lines and 
moving engravers around?

\version 2.5.17
\score{
  \new ChoirStaff 
\new Staff { c'4 d' e' f' g' a' b' c'}
\addlyrics {foo foo foo foo bar }
\new Staff { c'4 d' e' f' g' a' b' c'}
\addlyrics {foo foo foo foo bar }

}

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


how to resolve note collisons ?

2005-04-03 Thread MX
Gilles Harfang a écrit : 

Modify the basse \context, as follows:
%-
  \context Staff = basse 
\global
\clef bass
\context Voice = basse { \voiceTwo \basse }
\context Voice = choral { \voiceOne \choraltheme }
  
%-


I tried to use the following instruction  to push a note :
\once \override NoteColumn  #'force-hshift = #10
with no result.
 

With the above, it won't be necessary to try and move that note.
Ma réponse :
Thank you for your answer.
But this did not help me. The problem remains (with 2.4.2 version) 
exactly the same.  I have the very same warning message during 
compilation (translated from french) :

Warning : too much column-note collisions. Will be ignored.
MX


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


Re: how to resolve note collisons ?

2005-04-03 Thread Gilles
Hello.
 
 But this did not help me. The problem remains (with 2.4.2 version) 
 exactly the same.  I have the very same warning message during 
 compilation (translated from french) :
 
 Warning : too much column-note collisions. Will be ignored.

I would guess that this warning comes from something else, as it 
doesn't show up when I compile your test case (see the attached
file test.ly).  Here I get on stdout:

GNU LilyPond 2.4.2
Processing `test.ly'
Parsing...
Interpreting music... [3]
Preprocessing graphical objects...
Calculating line breaks...
Interpreting music...
MIDI output to `test.midi'...
Track...
Layout output to `test.tex'...
Converting to `test.dvi'...
Converting to `test.ps'...
Converting to `test.pdf'...


Best regards,
Gilles
\version 2.4.2

global = {
 \time 4/4
 \key c \major
}

dessus = \relative c' {
 r4 g'4 fis4 g4
 % 35 :
 d4 g4. f8 [ e8 d8 ]
}

basse = \relative c {
 \stemDown
 fis4 g4 d4 g4 ~
 % 35 :
 g8 [ f8 e8 d8 ] c2
}

choraltheme = \relative c {
 d'1
 % 35 :
 % the following instruction does nothing ; why ?
 g,1
}
\score {
   {
 \context PianoStaff 
   \context Staff = dessus 
 \global
 \clef violin
 \dessus
   
   \context Staff = basse 
 \global
 \clef bass
 \context Voice = basse { \voiceTwo \basse }
 \context Voice = choral { \voiceOne \choraltheme }
   
 

 \bar |.
   }
   \layout {}
   \midi{ \tempo 4 = 100  }

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


[ debian woody ] little problem with text fonts in pdf files

2005-04-03 Thread Tanguy Léost
Hello,
I run lilypond on a debian woody. I am very pleased with this software (big
thanks to all the people involved in this project, it's *great* :-)
It seems i have a problem with the font in the pdf files: everything 
looks fine, except
for the letter 'u' in the titles, which looks weird.
This appears only in the pdf file, the ps file looks very nice.
I tried to use the same source file with lilypond-snapshot on a debian 
sid, and
the result is perfect in the pdf file.
I tried to upgrade my debian woody but the site seems to be down...
(http://afavant.elte.hu/~wferi/debian ... has it moved somewhere else?)

any idea to fix this on the debian stable?
--
Unix IS user friendly , it is just selective about who his friends are
JID: [EMAIL PROTECTED]
http://tleost.chez.tiscali.fr

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


Re: barline question

2005-04-03 Thread Karl Hammar
 Hi :)
 
 In case you didn't read my original post:
 
 I am creating a score for a piece of H. Schütz with Lilypond 2.2.5 
 (with Fink on Mac). When setting this old kind of music it is often 
 better to not use a standard Choirstaff, but to use the bar lines only 
 between the bars. As far as I know this is quite common in late 
 renaissance and early baroque vocal music.
 
 So I used a StaffGroup and set the Staff.BarLine #'transparent = ##t.
 Since I needed repeat signs, I had to be able to put the transparency 
 off to avoid losing the repeat signs themselves.
 The result: I have a part that shows the bar lines between the staves 
 only, except for the repeat signs.
 One detail: for the repeat signs I used \bar :| instead of \repeat 
 volta. It doesn't seem to make a difference for this problem though.
 
 One problem remains: the lyrics are running into the bar lines. In the 
 documentation I found that adding the Bar_engraver to the Lyrics 
 context would avoid this. This works, but it adds barlines below the 
 last staff and prints the repeat sign : -- : on the Lyrics height. 
 Trying to avoid that, I used \override BarLine #'transparent = ##t, but 
 this leaves a hole in the vertical repeat bar line.
 
 Any idea how to be able to avoid lyric-bar line-collisions without 
 having to nudge each lyric into the right position?
 
 Thanks in advance :)
 
 greets
 
 Maurits

If you use

 \set Score.defaultBarType = 

as in the attached example you don't need to do all the

 \once \override Staff.BarLine #'transparent = ##t

And if you add the 

 \override SpanBar #'glyph = #|

you don't get the |: in the span bar.

I have no solution for the lyrics problem.
How do you nudge the lyrics?

===

My personal preference is to use GroupStaff and no bar lines alt.

 \set Score.defaultBarType = :

I find the span bar / mensurstrich ugly and of not that much help
since a \breve etc. can span over the span bar and in that way the
singer is fooled by the span bar. And it gets in the way of the
lyrics.

Regards,
/Karl

\version 2.4.2
#(set-global-staff-size 15)
sca = {
  \override Score.BarNumber  #'padding = #2
%  \set Score.defaultBarType = :
  \set Score.defaultBarType = 
  \override Score.RehearsalMark  #'print-function = #(make-stencil-boxer 0.15 
0.3 0.3 Text_interface::print)
%  \set Score.markFormatter = #format-mark-letters
  \set Score.markFormatter = #format-mark-numbers
  \override Score.TimeSignature #'style = #'()
%  \set Score.skipBars = ##t
}

%pipeSymbol = \bar :

sta = {
%  \override Staff.BarLine #'transparent = ##t
}

clefcs = { \clef treble }
clefca = { \clef treble }
clefct = { \clef treble_8 }
clefcb = { \clef bass }

keyBG = {
 \key bes \major
 \time 2/2
 \mark #33
 \set Score.currentBarNumber = #1
}

% Choir, soprano
csBG = \relative c'' {
 d4 d d8( es) f4 |
 d2 r4 d |
\bar |: 
 d4 d d e |
 f4 f2 f4 |
\bar :|: 
 g4 g g8( d) d4 |
 es2 r4 d8( es) |
 f4 es8( d) d4. c8 |
 c4 c2 r4 |
 r2 r4 f8( es) |
 d8( c) bes( a) g4 g'8( f) |
 \bar :| 
}
BGb = \lyricmode {
 E -- lis -- sa dies to -- night,
 And Car -- thage flames to -- mor -- row!
}
BGa = \lyricmode {
% De -- 
 struc -- tion's our de -- light,
 De -- ligth our great -- est sor -- row;
 \BGb
}
lcsBG = \lyricmode {
 \BGa
 Ho ho ho ho!
 ho
}
% Choir, alto
caBG = \relative g'  {
 bes4 bes bes a |
 bes2 r4 bes |
 bes4 bes bes bes |
 a4 a2 f4 |
 f4 d g g |
 g2 r4 g |
 as4 as g4. g8 |
 es4 c2 es8( d) |
 c8( bes) a( g) f f( g a) |
 bes2 r8 g( a bes) |
}
lcaBG = \lyricmode {
 \BGa
 Ho ho ho ho ho ho!
 ho
}
% Choir, tenor
ctBG = \relative c'  {
 f4 f f f |
 f2 r4 f |
 f f g g |
 f4 f2 d4 |
 d4 d es8( b) b4 |
 c2 r4 g |
 c4 c b4. c8 |
 c4 c2 r4 |
 r2 r4 d8( c) |
 bes8( a) g( f) es4 es'8( d) |
}
lctBG = \lyricmode {
 \BGa
 Ho ho ho ho!
 ho
}
% Choir, bass
cbBG = \relative f   {
 bes4 bes bes f |
 bes2 r4 bes |
 bes4 bes g g |
 d'4 d2 d4 |
 b4 b g g |
 c2 r4 bes |
 as4 f g4. g8 |
 c,4 c2 c'8( bes) |
 a8( g) f( es) d2 |
 r8 bes8( c d) es2 |
}
lcbBG = \lyricmode {
 \BGa
 Ho ho ho ho!
 ho ho!
}

\score {
  
\sca
\new StaffGroup
%\new ChoirStaff
\with {
%  \override BarLine #'glyph = #
  \override SpanBar #'glyph = #|
}

  \new Staff \context Voice = vcsBG {
\sta
{ \keyBG \clefcs \csBG }
  }
  \new Lyrics \lyricsto vcsBG \lcsBG

  \new Staff \context Voice = vcaBG {
\sta
{ \keyBG \clefca \caBG }
  }
  \new Lyrics \lyricsto vcaBG \lcaBG

  \new Staff \context Voice = vctBG {
\sta
{ \keyBG \clefct \ctBG }
  }
  \new Lyrics \lyricsto vctBG \lctBG

  \new Staff \context Voice = vcbBG {
\sta
%   \override Staff.SpanBar #'transparent = ##t
{ \keyBG \clefcb \cbBG }
  }
  \new Lyrics \lyricsto vcbBG {
%   \override BarLine #'transparent = ##t
\lcbBG }

  
  \layout  {
raggedright = ##t
%\context {
%  \Staff
%  \override BarLine #'glyph = #:
%}
%\context {
%  \Lyrics
%