Re: lilypond-book: where are my noteheads?

2006-04-10 Thread Mats Bengtsson

It turns out that Bernie's problems appear since he has a too old version
of ghostscript installed (to verify what version you have, run the
command 'gs --version'). Clearly, GNU Ghostscript version 7.07 is too old.
Version 8.15 should hopefully be new enough, but install the newest you can
find at www.ghostscript.com.

  /Mats

bernie arai wrote:


-- Forwarded message --
From: bernie arai [EMAIL PROTECTED]
Date: Apr 7, 2006 4:06 PM
Subject: Re: lilypond-book: where are my noteheads?
To: Mats Bengtsson [EMAIL PROTECTED]


On 4/7/06, Mats Bengtsson [EMAIL PROTECTED] wrote:
 


You need both the flag --psfonts to lilypond-book and the corresponding
flag -h ... to dvips, as described in the manual, to get the musical
font into the Postscript file. Note that
the note heads will not show up in your DVI viewer.

  /Mats

   



thanks for your attention to my troubles, mats.

i've been following the manual instructions to a T since the start (or
so i believe).  using the --psfonts flag for lilyopnd-book and the -h
for divps.  still, the resulting pdf has no noteheads.  dvips shows
some font not found type of errors, but the manual says i should
ignore them.  i don't know how to see a more verbose output from
ps2pdf (to look for error messages), so i'm having trouble figuring
out where the problem is originating.

btw, thanks for letting me know that the DVI viewer won't show the
noteheads, but the pdf should.  that would be really helpful in the
user's guide.  i kept looking at the dvi and assumed the problem must
be somewhere before that in the chain, but i now know that's not
neccessarily so.

bernie


___
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: missing something like afterAcciaccatura

2006-04-10 Thread Mats Bengtsson

You can find the definition of the \afterGrace function in
ly/music-functions.ly. If you know your LilyPond and Scheme,
it shouldn't be hard to make a version for acciaccaturas.

  /Mats

josiah boothby wrote:


I seem to recall a question like mine coming up recently, but I can't
figure out how to apply the answers here: is there a way do this with
scheme so that this much typing could be avoided?

Josiah

On 4/9/06, Mats Bengtsson [EMAIL PROTECTED] wrote:
 


You have to set the corresponding property manually,

\afterGrace d1 {\once \override Stem #'stroke-style = #grace c8 }

  /Mats

Quoting Roland Goretzki [EMAIL PROTECTED]:

   


Hi list,

in this documentation for 2.8 I found the \afterGrace command.
Just that I was looking for, but for acciaccatura.

But this I couldn'd find.
Or is ist wrong, to take a \afterAcciaccatura?
In a song score, which I'm typing in, there does it exist ...

Can anybody help me, please?

Best Regards   Roland


___
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

   



--
=
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


Lilypond error on starting for the first time

2006-04-10 Thread Robert Blackstone
Opened Lilypond.app 2.8.2-4 for the first time today. 
Saved the opening file, chose Compile  Typeset file , as instructed, 
but received unexpected error 
message: (OSError: [Errno 8] Exec format error)
What can I do?

Computer: Apple Powerbook G4,  OS 10.4.5 
Lilypond.app dragged to Application folder.
NB I don't know whether the following is of importance: 
Fink is on a separate Firewire harddisk because it 
could not be installed on my powerbook 
(Symlinks not supported on this volume or something like that.) 



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


dynamics: integrated or separate variable?

2006-04-10 Thread Kieren Richard MacMillan

Hey, all!

Just wanted to take an informal survey...

How many 'Ponders put their dynamics directly in the note code, e.g.,
   notes = { a\pp b }
and why?

How many 'Ponders use a separate dynamics variable, e.g.,
  notes = { a b }
  dynamics = { \pp }
   \notes \dynamics 
and why?

How many 'Ponders use both systems, and what are the circumstances  
that dictate the choice?


I've found using separate \dynamics to be more flexible, especially  
when sections of notes repeat with different dynamics (so that you  
can use \repeat on the notes but not the dynamics). However, I find  
it much harder to manage the split code.


In any case, I'm happy to be shown where I'm wrong, and learn the  
right way.  =)


Finally, is there a way to use recent additions (e.g.,  
\parallelMusic) and get the best of both worlds?


Thanks,
Kieren.


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


Re: Polyphony

2006-04-10 Thread eduardo . susan
Hello Tomas and users, 

Take a look at this two examples that I think will further clarify Lilypond 
capabilities in handling chords, slurs and different voices. 
% This first situation is very common in songbooks: 

\new Staff \relative c' {  e  c 2^( ~  f  c 2) ^( ~  e c 1) } 

\layout { ragged-right=##t } 


% This second example I found in a song, I don't know if it correct notation 
practice, but I managed to make Lilypond reproduce it, despite the warnings: 

\version 2.8.0 
\header { title = Excerpt of the song My Refuge 

} 

\score { \context Staff {\time 3/4  \context Voice = soop { \voiceOne 
c''2.~ c''2.~  c''2.} \context Voice = con { e'2. \stemDown a'4 g' f' 
\stemNeutral e'2.}  

 } 
} 

\layout { ragged-right=##t } 


- Original Message - 
From: Tomas Valusek [EMAIL PROTECTED] 
To: lilypond-user@gnu.org 
Sent: Monday, April 10, 2006 1:21 AM 
Subject: Re: Polyphony 


 Hello, 
 
 Mats Bengtsson napsal(a): 
  Musically, this means that two separate music voices merge 
  into a single chord. Obviously, the main hackers behind LilyPond don't 
  think that this makes sense, musically. 
 
 Well, there are in fact two kinds of polyphony - melodic and harmonic. 
 Consider this little example: 
 
 %Begin code 
 \version 2.8.1 
 
 \relative c' 
  
 { e1 } \\ { s2 c } 
   
 %End code 
 
 What does it sa? Are there two melodies like this? 
 
 %Begin code 
 %Melodic approach 
 
 \version 2.8.1 
 
  
 \new Staff \relative c' { 
e1 
 } 
 \new Staff \relative c' { 
r2 c 
 } 
   
 %End code 
 
 Or are there just two chords with one tied note, like this? 
 
 %Begin code 
 %Harmonic approach 
 
 \version 2.8.1 
 
 \relative c' 
 { e2 ~ e c } 
 %End code 
 
 It seems that LilyPond natively supports only the melodic approach, 
 while in piano music the harmonic approach is far more common. 
 
 Tomas Valusek 


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


Re: dynamics: integrated or separate variable?

2006-04-10 Thread Geoff Horton
As a matter of practice, I put the dynamics directly in the note code,
even though my philosophical preference is to separate notes from
interpretation as much as possible. I'm not sure why--maybe to keep
down the number of independent music parts, I guess.

 In any case, I'm happy to be shown where I'm wrong, and learn the
 right way.  =)

The way that gives you the output you want without driving you nuts
_is_ the right way :)

Geoff


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


Re: Spacing between adjacent \lyrics?

2006-04-10 Thread Rick Hansen (aka RickH)

Thanks,

As fo me contributing, my knowledge and confidence level are still too low
(2 weeks).  but when I do learn it better I would be glad to help out, but
only at the end-user level.  I think the manual is excellent and much better
than most manuals, great job!  I was able to accomplish my goals quicker
than the other dozen-or-so GUI based programs I've been fiddling with, and
feel that I actually have a platform now that is extensible and automated,
unlike un-templated, one at a time, GUI applications.

My only want now is for a macro pre-processor that can write source code by
doing string replacements of command patterns out of functions myFunc(arg1,
arg2, arg3...) I write.  Something that gets executed right after the
\include files are processed but BEFORE compilation begins, that would let
you slip in dynamic source code prior to compilation, something that goes
beyond simple variable assignment which seems to be happening in the midst
of compilation based on the errors I'm getting.

Where myFunc(arg1, arg2, arg3...) simply returns a block of source code
prior to compile, essentially forming a new .ly file, that then gets
compiled.



--
View this message in context: 
http://www.nabble.com/Spacing-between-adjacent-%5Clyrics--t1403767.html#a3843174
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: dynamics: integrated or separate variable?

2006-04-10 Thread Rick Hansen (aka RickH)

I try to keep as much as possible OUT of the notes list, I wish everything
could be targeted to the notes by some external targeting fashion instead of
embedding.  It keeps my songs more maintainable, I think, and easier to
re-use my templates for new songs.  I'm a newer user but I think LilyPond
requires one to come up with a coding philosophy/technique that works for
them, more a matter of style than wrong or right.


--
View this message in context: 
http://www.nabble.com/dynamics%3A-integrated-or-separate-variable--t1424969.html#a3844504
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Producing postscript for custom paper size (9x12 manuscript paper)?

2006-04-10 Thread Rick Hansen (aka RickH)

John,

Is this change now available in any of the post 2.8.0 releases?

I really need to be able to print my work on standard 9x12 sheet music paper
too.  But I dont understand how to make the code changes you've done without
breaking my installation.  I'm presuming it works for you now and the PDF is
behaving itself in Adobe Reader.

BTW Finale calls this page size Concert, and yes it is a standard, the
wikipedia is wrong/incomplete.

thanks
Rick


--
View this message in context: 
http://www.nabble.com/Producing-postscript-for-custom-paper-size-%289x12%22-manuscript-paper%29--t1388381.html#a3845144
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Spacing between adjacent \lyrics?

2006-04-10 Thread Geoff Horton
 My only want now is for a macro pre-processor that can write source code by
 doing string replacements of command patterns out of functions myFunc(arg1,
 arg2, arg3...) I write.  Something that gets executed right after the
 \include files are processed but BEFORE compilation begins, that would let
 you slip in dynamic source code prior to compilation, something that goes
 beyond simple variable assignment which seems to be happening in the midst
 of compilation based on the errors I'm getting.

I'm working on it :)

Geoff


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


Re: Producing postscript for custom paper size (9x12 manuscript paper)?

2006-04-10 Thread Graydon
On Mon, Apr 10, 2006 at 09:15:59AM -0700, Rick Hansen (aka RickH)
scripsit:
 I really need to be able to print my work on standard 9x12 sheet music
 paper too.  But I dont understand how to make the code changes you've
 done without breaking my installation.  I'm presuming it works for you
 now and the PDF is behaving itself in Adobe Reader.

% lilypond paper default is A4
\layout {
  %#(set-default-paper-size letter)
  #(set-default-paper-size letter 'landscape ) }

is what I do -- in the defaults.ly file included via 

\include ../defaults.ly

in all the music I do to get letter, instead of A4 paper.  The
'landscape is to print across the width instead of 'portrait'.

If -- as I think is the case -- your problem is that you don't have a
concert' to replace the letter with, in paper.scm -- which is in
/pathtotoplevel/lilypond/usr/share/lilypond/current/scm on linux -- you
need to add the 'concert' paper type, as below.

(define-public paper-alist

  ;; don't use decimals.
  ;; ISO 216 has a tolerance of +- 2mm

  '((a7 . (cons (* 74 mm) (* 105 mm)))
(a6 . (cons (* 105 mm) (* 149 mm)))
(a5 . (cons (* 149 mm) (* 210 mm)))
(a4 . (cons (* 210 mm) (* 298 mm)))
(a3 . (cons (* 298 mm) (* 420 mm)))
(legal . (cons (* 8.5 in) (* 14.0 in)))
(letter . (cons (* 8.5 in) (* 11.0 in)))
(11x17 . (cons (* 11.0 in) (* 17.0 in)))
(concert . (cons (* 9.0 in) (* 12.0 in)))
))

Once you've done that, 

\layout { #(set-default-paper-size concert ) }

in your defaults.ly file ought to do it.

-- Graydon




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


Re: dynamics: integrated or separate variable?

2006-04-10 Thread Kieren Richard MacMillan

Hello, Rick:


I try to keep as much as possible OUT of the notes list


Me, too! I've been thinking of using the new \parallelMusic feature  
as a replacement mechanism, e.g.,


%% CODE BEGINS
\parallelMusic #'(notes dynamics)
{
g'4 g' g' g' |
s1\f |

g'4 g' g' g' |
s2\ s2\p
}

\new Staff  \notes \dynamics 
%% CODE ENDS

This keeps the dynamics close to the notes, but not truly  
embedded (which I often find visually confusing), and allows for  
such things as reusing notes with different dynamics, e.g., the code  
above can be written as


%% CODE BEGINS
\parallelMusic #'(notes dynamics)
{
\repeat unfold 2 { g'4 g' g' g' } |
s1\f s2\ s2\p
}

\new Staff  \notes \dynamics 
%% CODE ENDS

And the 'dynamics' voice could then be reused on different staves  
(e.g., in a choral piece), if desired.


However, I'm still not 100% sure of what I will eventually settle on  
as my coding style...


Best,
Kieren.


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


Note grace at the begining of a piano piece

2006-04-10 Thread Tomas Valusek

Hello,

I'm learning to use LilyPond and as a pianist I use template introduced 
in section 3.2.4 of the User Manual. A piece I'm now trying to copy 
begins with note grace in right hand. Section 6.4.7 says: A score that 
starts with a \grace section needs an explicit \new Voice declaration, 
otherwise the main note and the grace note end up on different staves. 
Since I'm not (yet) familiar with the LilyPond concept of staves and 
voices, I'm not sure what to write to the beginning of the \upper 
variable in template 3.2.4. Can you help me? Many thanks and sorry for 
bothering you with quite a number of my posts.


Tomas Valusek


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


Re: Note grace at the begining of a piano piece

2006-04-10 Thread Graham Percival


On 10-Apr-06, at 11:00 AM, Tomas Valusek wrote:

I'm learning to use LilyPond and as a pianist I use template 
introduced in section 3.2.4 of the User Manual. A piece I'm now trying 
to copy begins with note grace in right hand. Section 6.4.7 says: A 
score that starts with a \grace section needs an explicit \new Voice 
declaration, otherwise the main note and the grace note end up on 
different staves. Since I'm not (yet) familiar with the LilyPond 
concept of staves and voices, I'm not sure what to write to the 
beginning of the \upper variable in template 3.2.4. Can you help me? 
Many thanks and sorry for bothering you with quite a number of my 
posts.


Did you get a problem?  I'm having a hard time duplicating this bug; 
the warning in 6.4.7 might be out of date.


In any case, to modify 3.2.4 to use explicit voices, try this:

  upper = \new Voice { \relative c'' {
\clef treble
\key c \major
\time 4/4
\grace{a16 b}
a b c d
}
 }

Cheers,
- Graham



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


Re: Note grace at the begining of a piano piece

2006-04-10 Thread Tomas Valusek

Hello,


Did you get a problem?


Well, I got repeated time signature. Since I'm unable to strip my 
example, I've included it as an attachement. Log contains no warnings.


Tomas Valusek


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


Re: Note grace at the begining of a piano piece

2006-04-10 Thread Tomas Valusek

Oops, an attachement was forgotten, here it is.

Tomas Valusek napsal(a):

Hello,


Did you get a problem?


Well, I got repeated time signature. Since I'm unable to strip my 
example, I've included it as an attachement. Log contains no warnings.


Tomas Valusek

%{ Templates

%%% Two voices allowing slur on upper voice

\voiceOne

  {  }
  \context Voice=1 { \voiceTwo  \oneVoice }

\oneVoice

%%% Ending

\bar |.

%}

\version 2.8.1
upper = \relative c'' {
\clef treble
\key c \major
\time 4/4

\acciaccatura {g16 gis } a8( c c, d ~ d f d f)
}
 
lower = \relative c {
\clef bass
\key f \major
\time 4/4

}
 
dynamics = {

}

pedal = {

}

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Dynamics = dynamics \dynamics
\new Staff = lower 
  \clef bass
  \lower

\new Dynamics = pedal \pedal
  
  \layout {
\context {
  \type Engraver_group
  \name Dynamics
  \alias Voice % So that \cresc works, for example.
  \consists Output_property_engraver

  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
  pedalSustainStrings = #'(Ped. *Ped. *)
  pedalUnaCordaStrings = #'(una corda  tre corde)

  \consists Piano_pedal_engraver
  \consists Script_engraver
  \consists Dynamic_engraver
  \consists Text_engraver

  \override TextScript #'font-size = #2
  \override TextScript #'font-shape = #'italic
  \override DynamicText #'extra-offset = #'(0 . 2.5)
  \override Hairpin #'extra-offset = #'(0 . 2.5)

  \consists Skip_event_swallow_translator

  \consists Axis_group_engraver
}
\context {
  \PianoStaff
  \accepts Dynamics
  \override VerticalAlignment #'forced-distance = #7
}
  }
}
\score {
  \new PianoStaff 
\new Staff = upper  \upper \dynamics 
\new Staff = lower  \lower \dynamics 
\new Dynamics = pedal \pedal
  
  \midi {
\context {
  \type Performer_group
  \name Dynamics
  \consists Piano_pedal_performer
}
\context {
  \PianoStaff
  \accepts Dynamics
}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Note grace at the begining of a piano piece

2006-04-10 Thread Tomas Valusek

Hello,

one more attempt - after sending an attachement, I found a bug in it I'm 
able to fix, so here it is again :-)))


Tomas Valusek napsal(a):

Oops, an attachement was forgotten, here it is.

Tomas Valusek napsal(a):

Hello,


Did you get a problem?


Well, I got repeated time signature. Since I'm unable to strip my 
example, I've included it as an attachement. Log contains no warnings.


Tomas Valusek





ďťż%{ Templates

%%% Two voices allowing slur on upper voice

\voiceOne

  {  }
  \context Voice=1 { \voiceTwo  \oneVoice }
\oneVoice

%%% Ending

\bar |.

%}

\version 2.8.1
upper = \relative c'' {
\clef treble
\key c \major
\time 4/4

\acciaccatura {g16 gis } a8( c c, d ~ d f d f)
}
 
lower = \relative c {

\clef bass
\key f \major
\time 4/4

}
 
dynamics = {


}

pedal = {

}

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Dynamics = dynamics \dynamics
\new Staff = lower 
  \clef bass
  \lower

\new Dynamics = pedal \pedal
  
  \layout {
\context {
  \type Engraver_group
  \name Dynamics
  \alias Voice % So that \cresc works, for example.
  \consists Output_property_engraver

  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
  pedalSustainStrings = #'(Ped. *Ped. *)
  pedalUnaCordaStrings = #'(una corda  tre corde)

  \consists Piano_pedal_engraver
  \consists Script_engraver
  \consists Dynamic_engraver
  \consists Text_engraver

  \override TextScript #'font-size = #2
  \override TextScript #'font-shape = #'italic
  \override DynamicText #'extra-offset = #'(0 . 2.5)
  \override Hairpin #'extra-offset = #'(0 . 2.5)

  \consists Skip_event_swallow_translator

  \consists Axis_group_engraver
}
\context {
  \PianoStaff
  \accepts Dynamics
  \override VerticalAlignment #'forced-distance = #7
}
  }
}
\score {
  \new PianoStaff 
\new Staff = upper  \upper \dynamics 
\new Staff = lower  \lower \dynamics 
\new Dynamics = pedal \pedal
  
  \midi {
\context {
  \type Performer_group
  \name Dynamics
  \consists Piano_pedal_performer
}
\context {
  \PianoStaff
  \accepts Dynamics
}
  }
}




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

%%% Two voices allowing slur on upper voice

\voiceOne

  {  }
  \context Voice=1 { \voiceTwo  \oneVoice }

\oneVoice

%%% Ending

\bar |.

%}

\version 2.8.1
upper = \relative c'' {
\clef treble
\key f \major
\time 4/4

\acciaccatura {g16 gis } a8( c c, d ~ d f d f)
}
 
lower = \relative c {
\clef bass
\key f \major
\time 4/4

}
 
dynamics = {

}

pedal = {

}

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Dynamics = dynamics \dynamics
\new Staff = lower 
  \clef bass
  \lower

\new Dynamics = pedal \pedal
  
  \layout {
\context {
  \type Engraver_group
  \name Dynamics
  \alias Voice % So that \cresc works, for example.
  \consists Output_property_engraver

  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
  pedalSustainStrings = #'(Ped. *Ped. *)
  pedalUnaCordaStrings = #'(una corda  tre corde)

  \consists Piano_pedal_engraver
  \consists Script_engraver
  \consists Dynamic_engraver
  \consists Text_engraver

  \override TextScript #'font-size = #2
  \override TextScript #'font-shape = #'italic
  \override DynamicText #'extra-offset = #'(0 . 2.5)
  \override Hairpin #'extra-offset = #'(0 . 2.5)

  \consists Skip_event_swallow_translator

  \consists Axis_group_engraver
}
\context {
  \PianoStaff
  \accepts Dynamics
  \override VerticalAlignment #'forced-distance = #7
}
  }
}
\score {
  \new PianoStaff 
\new Staff = upper  \upper \dynamics 
\new Staff = lower  \lower \dynamics 
\new Dynamics = pedal \pedal
  
  \midi {
\context {
  \type Performer_group
  \name Dynamics
  \consists Piano_pedal_performer
}
\context {
  \PianoStaff
  \accepts Dynamics
}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Producing postscript for custom paper size (9x12 manuscript paper)?

2006-04-10 Thread Rick Hansen (aka RickH)

Thanks John,

I did figure out how to change paper.scm and made that change long ago, in
order to make Concert an available form (also Concert 9x12 is a valid form
in my WindowsXP installation for printer forms).

However the PDF header is still not correct, Adobe Reader still does not
think it is 9x12 and is scaling weirdly.  I'm not in front of it right now
to detail what is happening, but all is fine until Adobe Reader gets it.

So I was mostly asking about the changes needed to write the PDF header
properly, not the paper.scm changes which I presume just lay out the
available workspace extents for LP.

Are the PDF header writing modifications that you tried still needed in
future versions to make 9x12 work?

thanks



--
View this message in context: 
http://www.nabble.com/Producing-postscript-for-custom-paper-size-%289x12%22-manuscript-paper%29--t1388381.html#a3848372
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: Producing postscript for custom paper size (9x12 manuscript paper)?

2006-04-10 Thread John Hawkinson
[ Replies to Rick's two messages as well as Graydon's, all together. ]

Rick Hansen (aka RickH) [EMAIL PROTECTED] wrote on Mon, 10 Apr 2006
at 09:15:59 -0700 in [EMAIL PROTECTED]:

 From: Rick Hansen (aka RickH) [EMAIL PROTECTED]
 To: lilypond-user@gnu.org
...
 John,

A note on email style here -- if you're going to reply to a message of
mine and address me, you should make it clear to everyone else who
you're talking to. Standard ways of doing that are to quote the
message (as I have above), or to keep me in the To: line and
lilypond-user in the Cc: line (again, as I have above). You should do
*something* to make sure that people are not confused. Just mentioning
me by first name in an email to the list is confusing :)

 Is this change now available in any of the post 2.8.0 releases?

I don't believe so, I have not submitted it. Both because I was waiting
for more feedback (e.g. from you), and because I've been a bit busy.


 I really need to be able to print my work on standard 9x12 sheet music paper
 too.  But I dont understand how to make the code changes you've done without
 breaking my installation.  I'm presuming it works for you now and the PDF is
 behaving itself in Adobe Reader.

What I have works for me :) I did ask you to test my changes to
framework-ps.scm. Are you saying you're not sure how to handle the
diff that I sent (it's a way of representing changes to a file
that can be applied in an automated fashion with the patch program).

If so, let me know what version of LilyPond you're using right now
and I will send you a patched framework-ps.scm for you to test (we
can do this off-list).

 BTW Finale calls this page size Concert, and yes it is a standard, the
 wikipedia is wrong/incomplete.

Indeed, based on that it seems like concert is a better name than
manuscript, and I will change it in my next revision.

If you know anything at all about this (as it seems you do), why not
update WikiPedia?


Graydon [EMAIL PROTECTED] wrote on Mon, 10 Apr 2006
at 13:01:09 -0400 in [EMAIL PROTECTED]:

 If -- as I think is the case -- your problem is that you don't have a
 concert' to replace the letter with, in paper.scm -- which is in
 /pathtotoplevel/lilypond/usr/share/lilypond/current/scm on linux -- you
 need to add the 'concert' paper type, as below.

We've covered this -- the problem is that this is insufficient,
because postcript printers need additional information about the
size of the paper that LilyPond does not output.

Rick Hansen (aka RickH) [EMAIL PROTECTED] wrote on Mon,
10 Apr 2006 at 12:08:36 -0700 in [EMAIL PROTECTED]:


 So I was mostly asking about the changes needed to write the PDF
 header properly, not the paper.scm changes which I presume just lay
 out the available workspace extents for LP.
 
 Are the PDF header writing modifications that you tried still needed in
 future versions to make 9x12 work?

Well, it's possible that it they may not be necessary for the special
case of PDF, because of the change to %%DocumentMedia from
%%DocumentPaperSizes. But certainly they are still necessary for printers.

--jhawk



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


can't find voice (to attach \lyricsto)

2006-04-10 Thread Kieren Richard MacMillan

Hello, all --

I'm trying to engrave a two-voice piece (a cappella), but I'm getting  
the warning


warning: cannot find Voice `she'

What am I doing wrong? I've tried instantiating explict Staff  
contexts, adding and removing quotes, using \new Lyrics or  
\addlyrics, and nothing seems to solve the problem.


I thought this was exactly like the docs example...  =\

Thanks,
Kieren.

_

\version 2.8.1

\include english.ly

#(set-global-staff-size 14)
#(set-default-paper-size letter)

\paper
{
line-width = 6.5\in
bottom-margin = .5\in
}

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

sheNotes = \relative c''
{
\clef treble
s1
}
sheLyrics = \lyricmode
{
We grow ac -- cust -- omed to the Dark-
A Mom -- ent-
}

heNotes = \relative c
{
\clef bass
r4 e f b
c8 b4. b16 b b2
r4 b, c8 a' r4  
}
heLyrics = \lyricmode
{
We grow ac -- cust -- omed to the Dark-
A Mom -- ent-
}

\score
{

\override Score.LyricText #'font-size = #.5
\new Voice = she
{
  \global \dynamicUp \sheNotes 
}
\new Lyrics \lyricsto she \sheLyrics

\new Voice = he
{
  \global \dynamicUp \heNotes 
}
\new Lyrics \lyricsto he \heLyrics


\layout
{
ragged-right = ##f
ragged-bottom = ##t
pagenumber = no
}
}


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


Re: can't find voice (to attach \lyricsto)

2006-04-10 Thread Rick Hansen (aka RickH)

I think you need to specify a \staff around the music parts, then specify the
\lyrics below the closing bracket of each staff.  Here is what I am doing
and the \lyricsto is working fine for me:  (I'm using 3 part polyphony
voices on a single staff, but in your case you should be able to put lyrics
below each separate staff that has a named voice.)  Note in the example
below anything that begis with \var are my own variables that are set up
by a separate song-specific .ly \include file.



\score { 

 
   
\new Staff \with { 
voltaOnThisStaff = ##f 
} 
{ 
\clef G_8 
\mark \markup{ \hspace #0 \raise #1.5 \varStyle } 
\varKey 
\varTime 

 
\new Voice=voiceMelody { \voiceOne \varVoiceMelody
\oneVoice } \\ 
\new Voice=voiceInner 
{\voiceThree \stemNeutral \varVoiceInner \oneVoice }
\\ 
\new Voice=voiceBass 
{ \voiceTwo \varVoiceBass \oneVoice } 
 
\oneVoice 
} 

\new Lyrics \with { 
} \lyricsto voiceMelody \varLyricsOne 

\new Lyrics \with { 
} \lyricsto voiceMelody \varLyricsTwo 

 

} 

--
View this message in context: 
http://www.nabble.com/can%27t-find-voice-%28to-attach-%5Clyricsto%29-t1427260.html#a3849548
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


[Fwd: Re: dynamics: integrated or separate variable?]

2006-04-10 Thread Cameron Horsburgh


 Original Message 
From: - Tue Apr 11 00:06:33 2006
X-Mozilla-Status: 0001
X-Mozilla-Status2: 0080
Message-ID: [EMAIL PROTECTED]
Date: Tue, 11 Apr 2006 00:06:17 +1000
From: Cameron Horsburgh [EMAIL PROTECTED]
User-Agent: Mail/News 1.5 (X11/20060228)
MIME-Version: 1.0
To: Kieren Richard MacMillan [EMAIL PROTECTED]
Subject: Re: dynamics: integrated or separate variable?
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
X-Enigmail-Version: 0.94.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Oops, must use 'Reply-All'!

Kieren Richard MacMillan wrote:
 Hey, all!
 
 Just wanted to take an informal survey...
 
 How many 'Ponders put their dynamics directly in the note code, e.g.,
notes = { a\pp b }
 and why?
 
 How many 'Ponders use a separate dynamics variable, e.g.,
   notes = { a b }
   dynamics = { \pp }
\notes \dynamics 
 and why?
 
 How many 'Ponders use both systems, and what are the circumstances that
 dictate the choice?
 

Whilst I normally like keeping things as separate as possible, the only
time I would separate the notes and the dynamics would be as a shortcut
when setting multistaff pieces. Most of the music I set is multistaff,
but the instruments often play different dynamics. Very little time
would be saved, and things would just get confusing.

Using Point 'n' Click speeds things up when I'm making all those 'little
adjustments' when things aren't quite right.

Cameron



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


padding before note with accidental at beginning of standard measures

2006-04-10 Thread Kieren Richard MacMillan

[ Lilypond 2.8 ]

Hello, all --

The default spacing of (i.e., padding before) notes which begin a  
measure and which have an accidental is, to my eye, wonderful -- but  
only as long as the measure begins a system, or the note is preceded  
by something special (e.g., time signature, key signature, clef,  
etc.). When the note is in a normal measure, I find the padding to  
be insufficient.


Is there any easy way to tweak the spacing of *just* the notes which  
begin a measure and have an accidental on them, but the measure does  
not have anything else special about it? (I don't even mind tweaking  
every such note/measure manually, as long as the tweak placed in one  
Voice/Staff is carried down through the rest of the Voices/Staves  
automatically.)


Thanks,
Kieren.

p.s. I've attached two screenshots, one showing a good spacing  
(with time signature change):





and one showing bad spacings (two non-special measures in a row in  
the upper part):

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


Old-style F clef?

2006-04-10 Thread Geoff Horton
Can LilyPond engrave an old-style F clef, such as the one in this
Wikipedia article?

http://en.wikipedia.org/wiki/Clef#The_F_clef

It doesn't look like it from 7.7.4 in the manual, but I thought I
might be missing something.

Geoff


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


Re: padding before note with accidental at beginning of standard measures

2006-04-10 Thread Kieren Richard MacMillan

Hello, all --

I think I've almost answered my own question:

Is there any easy way to tweak the spacing of *just* the notes
which begin a measure and have an accidental on them


I'm using
\once \override Score.BarLine #'space-alist = #'((first- fixed- 
space . 2.0))

at the end of the measure preceding the faulty measure.

Unfortunately, although it now *looks* correct, I get the error
programming error: unknown prefatory spacing
continuing, cross fingers
once per affected Staff-measure in the Score.

Is there a better method than the one I'm using?
If not, is this error something I can just ignore?

Thanks,
Kieren.


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