How can i do this?

2007-08-07 Thread Peter Terpstra
version "2.10.25"
\new Staff 
\time 3/4
\relative c'' << {\key g \major
\override Staff.NoteCollision #'merge-differently-headed = ##t
  a'4  b,8  g'^( fis)[ g ]  |
} \\ { s4 2   } >>

~ End snippet

I would like to have a dot for the a4 without shifting the other notes.

Is this possible?

Kind Regards,

   Peter

-- 
mailto:[EMAIL PROTECTED]



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


RE: Freehand fonts unavailable

2007-08-07 Thread Carl D. Sorensen
 

> -Original Message-
> From: Ricardo Climent [mailto:[EMAIL PROTECTED] 
> 
> A couple of questions from a lylipond newbie (my apologies if 
> this is not the right list)

Ricardo,

I've copied this to the user list, which is the right place for this
type of question.


> a) I am willing to open a pdf score generated via Lilypond on 
> to Freehand MX but I have a couple of fonts missing 
> (CenturySchL, Emmentaler) which I have been unable to 
> download and install - I had a look at ghostscript -. Any hints?

Have you installed Lilypond?  If you do, the fonts should be installed
with it.

> 
> b) do you know of any script or software/language to generate 
> lilypond text-based scores? I guess Lisp based (or Scheme) or 
> something able to deal with lists.

What do you mean by "generate lilypond text-based scores"?  Lilypond
scores do not have Scheme syntax, although Scheme syntax is used in
modifying display properties.  In the past, people have used Scheme
(inside a Lilypond input file) and Python (to create a Lilypond input
file) as tools for creating random music for guitar practice.

See http://article.gmane.org/gmane.comp.gnu.lilypond.general/29854  and
following links for how both python and scheme were used.

If this is not what you're thinking of, try to explain a bit more, and
I'm sure somebody on -user will help.

Carl Sorensen



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


RE: text in chord lines

2007-08-07 Thread Fairchild
Victor -

Thanks for the challenge.

A clean way to do this eludes me.  It seems that markup in \chords { . . . }
is not accepted.  A feature request?

See http://lsr.dsi.unimi.it/LSR/Item?id=209 where the answer may reside, but
it's messy.

You can use \markup in the notes, but matching the font and positioning is
also messy.

Others - Guidance please.

 - Bruce

-Original Message-
From: Victor Eijkhout [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 06, 2007 11:22 PM
To: Fairchild
Subject: Re: text in chord lines


Hi,

thanks for responding. I'm using lily 2.11-something, and I wanted to  
annotate something in a \chords part. Here is the relevant bit. If  
you remove the comment character to get the "tacet" in, lily gives an  
error message.

Victor.

\header {
title = "Fredo's Chanson"
subtitle = "For Alto and Guitar (version in A)"
composer = "Victor Eijkhout"
copyright = "C Victor Eijkhout, 2007"
}

\paper {
 ragged-bottom = ##t
 print-page-number = ##t
 % head-separation = 2\mm
 foot-separation = 2\mm
% #(set-paper-size "letter" 'landscape)
}

alto = \relative { \time 4/4 \clef treble \key a \minor
\relative c'' {
c'8 b a gis a4 b8 c | b8 c16 b a8 gis a4 e8 f |
d4 c8 d e4 e | a,2. s4 \bar ".|."
}
}

thechords = {
\chords {
a2:m a:m/c | b4:dim/d e a2:m |
s1%^"tacet"
| a:m
}
}

<<
{ \thechords }
{ \alto }
 >>

\version "2.10.0"  % necessary for upgrading to future LilyPond  
versions.

On Aug 4, 2007, at 1:10 PM, Fairchild wrote:

> Victor -
>
> Seems this hasn't received a response.
>
> The string {a1 | s1^"tacet" | a1} does as expected in versions  
> 2.4.6 and
> 2.8.5.
>
> What do you mean by "chord line"?  Please provide a more complete  
> example?
>
> Mats or Graham probably haven't responded because they refuse to  
> request a
> larger example.  ;-)
>
>   - Bruce
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On  
> Behalf Of
> Victor Eijkhout
> Sent: Tuesday, May 08, 2007 7:36 AM
> To: lilypond-user@gnu.org
> Subject: text in chord lines
>
>
> I want to indicate a measure rest in a chord line. This doesn't work:
>
> a1 | s1^"tacet" | a1
>
> What's the solution?
>
> Victor.
>
>
> ___
> 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


associatedVoice question

2007-08-07 Thread Eric Knapp
Hi,

I'm still trying to get my lyrics centerered on notes and I'm trying
to set the associatedVoice property. This is the warning I'm getting:

"Lyric syllable does not have note. Use \lyricsto or associatedVoice."

Since I want to use lyricmode I am trying to figure out where to put
the \set command. Everywhere I have tried has no effect. I don't get
any errors, just nothing.

I have attached the sample file that demonstrates this. Where do I put
the \set associatedVoice to get rid of this warning?

Thank,

-Eric


Sample.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Centered movement names

2007-08-07 Thread Paul Scott
(I just also sent this from an unsubscribed address so that one can be 
dropped.)


2.11.27 or so.

scoreTitleMarkup |(10.2.2 Custom titles) sounds like a great idea but
not as it seems to be implemented.  Movement names are normally
different for different movements so putting it in the paper block
doesn't seem to make sense.

Is there a current way to change something like the current instrument
header field for each movement?

TIA,

Paul Scott




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


Centered movement names

2007-08-07 Thread Paul Scott

|2.11.27 or so.

scoreTitleMarkup |(10.2.2 Custom titles) sounds like a great idea but 
not as it seems to be implemented.  Movement names are normally 
different for different movements so putting it in the paper block 
doesn't seem to make sense.


Is there a current way to change something like the current instrument 
header field for each movement?


TIA,

Paul Scott



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


Re: closing bar lines - spacing and display issues in 2.11.28

2007-08-07 Thread Neil Puttock
Hi Charlotte,

On 8/7/07, Charlotte <[EMAIL PROTECTED]> wrote:
>
>
> Folks,
>
> I'm getting various problems with my closing bar-lines, as demonstrated in
> the code attached below. If you compile it you'll see that:
>
> i) the closing bar of the choral section is far to close to the last
> notes.
> I've tried overriding all kinds of BarLine properties, including
> extra-offset and spacing-alist, but can't get anything to do what I need.
> I'm getting this same error in various choral sections throughout my
> score.
> Two are okay, eleven are not and I can't work out what the common feature
> is
> for the ones that are okay! It seems to be predominently final bar-lines
> causing the problem - bar-lines internal to the choral sections are mostly
> spaced just fine, although there are some which are too close to the
> preceeding notes. I'd like a fix I could apply to those too, without
> upsetting all the ones which are okay.
> What's going on, and how do I fix it? I'm thinking it might be easier to
> define exactly what I want (a double-bar line with a fixed amount of
> spacing
> before it) as an identifier that I can just insert instead of \bar "|."?
> Can
> I do this, and if so, how? Is it the best solution?


Hmm... this is a difficult situation. A really tedious and involved way is
to insert some invisible notes (a semibreve works best) to force the notes
apart. It's an ugly botch which complicates midi output, but it works:

hide = \once \override NoteHead #'transparent = ##t

testnotesS = \relative c'' {c4 \bar "|" bes8[ aes] g[ f] g4*99/100 \hide
g1*99/400 g4*99/100 \hide g1*99/400 \bar "|."
}
testnotesA = \relative c' {ees4 f ees ees4*99/100 \hide g1*99/400
ees4*99/100 \hide g1*99/400
}
testnotesT = \relative c' {aes4 bes c bes4*99/100 \hide bes1*99/400
bes4*99/100 \hide bes1*99/400
}
testnotesB = \relative c {f4 g g ees4*99/100 \hide g1*99/400 ees4*99/100
\hide g1*99/400
}
testwordsChoir = \lyricmode {ein zwei drei vi -- \skip 4 er
}

ii) the 'finalis' in the first cantor line appears more like a final double
> bar (a thin and a thick line) but the second 'finalis' is okay. What's
> going
> on and how do I make them all okay?
>
> iii) the staff lines extend beyond the 'finalis' for the second cantor
> line.
> Again, what's going on, and how do I fix it?
>
> I also have another problem, for which I've not provided code because I
> don't have time to create a minimal example. In the longer choral
> sections,
> all my bar-lines are different weights, varying between very heavy and
> medium. I'd prefer them all to be medium. What do I need to tweak to set
> this?


Don't trust your .pdf output - it's usually wrong (JPedal is particularly
bad). The snippet looks fine when printed out.

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


Re: Reappearing time signature in 2.11.28

2007-08-07 Thread Valentin Villenave
2007/8/7, Charlotte <[EMAIL PROTECTED]>:

> Have now made this change, and it has fixed the problem. I hadn't used this
> before because I'd read elsewhere on this list that it plays havoc with the
> spacing by leaving an empty space where the time sig used to be, but I guess
> that's been fixed now as it seems to work. Thanks!

?? I don't remember having read such a thing; on the contrary when you
create a transparent object, it does takes an empty place. ; as for
the all-invisible setting, it doesn't apply to the very first time
signature (whether it's in a \score or a \markup block); so removing
the Time_signature_engraver is clearly the solution here.

> I still don't know why the solution I had suddenly stopped working, though!
> Any offers? I'd like to know so that I can either learn from my mistakes or
> put it down to a bug.

IIndeed, I've just tested it myself and it seems that the first time
signature visibility was introduced in 2.11. However, I wouldn't
consider it as a bug but rather a feature :)

Regards,
Valentin


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


closing bar lines - spacing and display issues in 2.11.28

2007-08-07 Thread Charlotte

Folks,

I'm getting various problems with my closing bar-lines, as demonstrated in
the code attached below. If you compile it you'll see that:

i) the closing bar of the choral section is far to close to the last notes.
I've tried overriding all kinds of BarLine properties, including
extra-offset and spacing-alist, but can't get anything to do what I need.
I'm getting this same error in various choral sections throughout my score.
Two are okay, eleven are not and I can't work out what the common feature is
for the ones that are okay! It seems to be predominently final bar-lines
causing the problem - bar-lines internal to the choral sections are mostly
spaced just fine, although there are some which are too close to the
preceeding notes. I'd like a fix I could apply to those too, without
upsetting all the ones which are okay.
What's going on, and how do I fix it? I'm thinking it might be easier to
define exactly what I want (a double-bar line with a fixed amount of spacing
before it) as an identifier that I can just insert instead of \bar "|."? Can
I do this, and if so, how? Is it the best solution?

ii) the 'finalis' in the first cantor line appears more like a final double
bar (a thin and a thick line) but the second 'finalis' is okay. What's going
on and how do I make them all okay?

iii) the staff lines extend beyond the 'finalis' for the second cantor line.
Again, what's going on, and how do I fix it? 

I also have another problem, for which I've not provided code because I
don't have time to create a minimal example. In the longer choral sections,
all my bar-lines are different weights, varying between very heavy and
medium. I'd prefer them all to be medium. What do I need to tweak to set
this?

Thanks,

Charlotte

=code snippet begins==
\version 2.11.28

\include "gregorian-init.ly"
#(set-global-staff-size 14)

\paper {
#(set-default-paper-size "a4" "portrait")
ragged-last-bottom = ##t
ragged-bottom = ##f
#(define page-breaking ly:page-turn-breaking)
}

\layout {
\context { \Score
\override Stem #'thickness = #0.8
\override BarLine #'thickness = #0.8
\override PaperColumn #'keep-inside-line = ##t
\override InstrumentName #'font-size = #-2
\override InstrumentName #'font-family = #'sans-serif
}
\context { \Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
\remove "Time_signature_engraver"

}
\context { \Lyrics
\override LyricSpace #'minimum-distance = #1.2
\consists "Bar_engraver"
\consists "Separating_line_group_engraver"
\override BarLine #'transparent = ##t
}
}

global = {
\key c \minor
\autoBeamOff
\cadenzaOn
}

cantor = {
\clef bass
\key c \minor
\set Score.timing = ##f
\cadenzaOn
\override Stem #'transparent = ##t
}
testnotesCanI = \relative c' {g4 c2 bes4 c \finalis
}
testwordsCanI = \lyricmode  {one two three four
}

testnotesS = \relative c'' {c4 \bar "|" bes8[ aes] g[ f] g4 g4 \bar "|."
}
testnotesA = \relative c' {ees4 f ees ees ees 
}
testnotesT = \relative c' {aes4 bes c bes bes 
}
testnotesB = \relative c {f4 g g ees ees 
}
testwordsChoir = \lyricmode {ein zwei drei vi -- er.
}

testnotesCanII = \relative c' {c2 \finalis
}
testwordsCanII = \lyricmode  {five
}

\markup {
\fill-line {
\translate #(cons 0 -17.5) {
\score {
\new Staff = cantorI <<
\new Voice ="testCanI" { << \cantor \testnotesCanI >> }
\new Lyrics \with {alignAboveContext=cantor} \lyricsto testCanI 
\testwordsCanI
>>

\layout {
}
}
}

\score {
\new ChoirStaff <<
\new Staff = sops <<
\new Voice = "testS" { << \global \testnotesS>> }
>>
\new Lyrics \lyricsto testS \testwordsChoir

\new Staff = alto <<
\new Voice = "testA" { << \global \testnotesA >> }
>>
\new Lyrics \lyricsto testA \testwordsChoir

\new Staff = men <<
\clef bass
\new Voice = "testT" { \voiceOne <<\global \testnotesT 
>> }
\new Voice = "testB" { \voiceTwo <<\global \testnotesB 
>> }
>>
\new Lyrics \lyricsto testB \testwordsChoir 
>>

\layout {
}
}
\translate #(cons 0 -17.5) {
\score {
\new Staff = cantorII <<
\new Voice ="testCanII" { << \cantor \testnotesCanII >> }
\new Lyrics \

Ignoring certain parts when using lilypond-book

2007-08-07 Thread Reinhold Kainhofer
Hi all!
Probably I'm just blind, but I couldn't find anything in the online 
documentation:

Is there a way to ignore certain parts of a .ly file (e.g. the whole 
\paper{..} section) when including that .ly file in a tex file for 
lilypond-book.
In particular, I want to combine lots of christmas songs into a book. However, 
each song was laid out on its own with separate page margins etc. When I 
include these files directly into the tex file, lilypond-book will use the 
margins given in the .ly file and not take those inherited from tex, which 
results in the images being way too large (margins are larger in the tex 
document than I set them in lilyond).
I don't want to split eachfile into two, so I'm looking for something like

\ignoreInLilypondBook {
\paper {
  left-margin = 1\cm

}
}

Is there anything like this?

Cheers,
REinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


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


Re: Reappearing time signature in 2.11.28

2007-08-07 Thread Charlotte

>Why not using
> \context { \Staff
>  \remove "Time_signature_engraver"
>   }

Have now made this change, and it has fixed the problem. I hadn't used this
before because I'd read elsewhere on this list that it plays havoc with the
spacing by leaving an empty space where the time sig used to be, but I guess
that's been fixed now as it seems to work. Thanks!

I still don't know why the solution I had suddenly stopped working, though!
Any offers? I'd like to know so that I can either learn from my mistakes or
put it down to a bug.

>  by the way, there's no final "e" in "huit" if I remember correctly ;)

Ooops, sorry! My bad for not checking and trying to remember very rusty
French!

Cheers,

C.

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



-- 
View this message in context: 
http://www.nabble.com/Reappearing-time-signature-in-2.11.28-tf4225024.html#a12031967
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Righthandfingering in lilypondtool

2007-08-07 Thread Bertalan Fodor
Sorry for that :-) I hate usenet.
However, if you find more bugs, the best is to report them, because
reporting will make a better chance to let me fix them. (However, I also
hate that LilyPond's grammar is very complicated, and it is a nightmare -
actually impossible - to parse without running lilypond. ;-))
Also, if did not use that define RH rightHandFingering I believe
LilyPondTool would go on well with -\rightHandFinger

Bert

> Bertalan Fodor in <[EMAIL PROTECTED]> :
>
>> Actually LilyPondTool's parser is not completely smart. This could be
>> fixed, i suggest reporting a bug on sf.net/projects/lily4jedit
>
> There more bugs in hat lilypondtool/
> Thanks for your answer, but i hate maillists. If lilypond was not
> accessable via usenet i never had started with it.
>
> Kind regards,
>
>Peter
>
> --
> mailto:[EMAIL PROTECTED]
>
>
>
> ___
> 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