Re: NoteHead direction

2007-03-11 Thread Mats Bengtsson
If I understand your question correctly, there's no need for any 
property setting at all. Just make a chord in one of the voices:

c c

  /Mats

Quoting Kamal [EMAIL PROTECTED]:


What is the NoteHead property (or any other object property) which would
make the following code snippet display overlapping notes but with each
notehead facing a direction instead of them both facing left?

 { \stemDown c2 } \\
{ c2 }
 

\version 2.10.20







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


Re: Adjusting space between lines

2007-03-11 Thread Mats Bengtsson
See the section on Vocal music (the main section, not any of the 
subsections).


  /Mats

Quoting Stephen Torri [EMAIL PROTECTED]:


In the annotated version of my sheet music I see that the spacing
between measure lines is dictated by the variables 'next', 'space' and
'padding'. My problem right now is that too much space is being used
between measure lines. I see equations used to calculate the spacing to
be:

next-padding (padding just below a measure line)

space after next-padding (padding just above the next measure line)

How can limit how much these two values can be?

Stephen




___
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: Absolute Beginners

2007-03-11 Thread Mats Bengtsson

I hope you have noticed that Graham, our main document editor, has already
incorporated a number of ideas from the earlier version of your beginners
guide, into the latest version of the official Tutorial.

   /Mats

Quoting Manuel [EMAIL PROTECTED]:

Chapter 1 of the guide, and a first version of chapters 2, 3 and 4,  
are now in the wiki:


http://lilypondwiki.tuxfamily.org/index.php? 
title=Guide_for_the_Absolute_Beginner


Please edit, or post your comments in the discussion page. Thank you!

Manuel


___
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: NoteHead direction

2007-03-11 Thread Kamal

Thank you. Putting the notes in a chord form worked fine.

So this becomes a side question:
What is the property to change the notehead direction?

On 3/11/07, Mats Bengtsson [EMAIL PROTECTED] wrote:


If I understand your question correctly, there's no need for any
property setting at all. Just make a chord in one of the voices:
c c

   /Mats

Quoting Kamal [EMAIL PROTECTED]:

 What is the NoteHead property (or any other object property) which would
 make the following code snippet display overlapping notes but with each
 notehead facing a direction instead of them both facing left?

  { \stemDown c2 } \\
 { c2 }
  

 \version 2.10.20





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


Re: Measures are not the right size for lyrics

2007-03-11 Thread Fred Leason

Stephen:

If you use   \new ChoirStaff  instead of GrandStaff, the lyrics  
do not seem to collide with the bars because the bars do not extend  
between clefs.  It seems completely readable to me.  I used 2.11.19.


By the way, I've never seen Makefile used like this before.  To  
engrave your music, I just did a make command and I got three scores:

piano_a_flat.pdfpiano_c.pdf piano_c_lower.pdf
In this case, only the first had lyrics.  Is that how that is  
supposed to work?


On Mar 10, 2007, at 4:11 PM, Stephen Torri wrote:


I am finding that my lyrics are written starting literally on the bar
ending the previous measure. They are also being written on the bar
ending the present measure. Is there a way to have lilypond adjust the
measure width so that its not doing this? Attached are my lilypond  
files

incase this will help.

Stephen
A_Prayer_Of_David.zip
___
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


how to set staff size in safe mode

2007-03-11 Thread Ed Stauff
How can I set the staff size in safe mode?  I've only been able to find 
two ways in the documentation: set-global-staff-size and 
layout-set-staff-size, and neither one works in safe mode.  I get this 
error:


3.ly:8:12: error: GUILE signaled an error for the expression beginning here
\layout {  #
(layout-set-staff-size 15) \context { \Score \remove 
Bar_number_engraver } }

Unbound variable: layout-set-staff-size

I'm using 2.10.20.

Thanks,

-- Ed


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


Re: how to set staff size in safe mode

2007-03-11 Thread Mats Bengtsson

This seems like a bug, so I forward it to bug-lilypond. For example,
#(set-global-staff-size 16)

{c' d' e' f'}


works without problems in version 2.8 but fails with the error message

Unbound variable: $defaultpaper

in version 2.11.20.

  /Mats

Quoting Ed Stauff [EMAIL PROTECTED]:

How can I set the staff size in safe mode?  I've only been able to 
find two ways in the documentation: set-global-staff-size and 
layout-set-staff-size, and neither one works in safe mode.  I get 
this error:


3.ly:8:12: error: GUILE signaled an error for the expression beginning here
\layout {  #
(layout-set-staff-size 15) \context { \Score \remove 
Bar_number_engraver } }

Unbound variable: layout-set-staff-size

I'm using 2.10.20.

Thanks,

-- Ed


___
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: Skips in lyricsto

2007-03-11 Thread Arvid Grøtting
Mats Bengtsson mats.bengtsson at ee.kth.se writes:

 If you still end up using \skip, the duration of each \skip
 shouldn't matter at all, so you could just as well use
 \skip 4 or whatever.

That's what I do, usually in the context of a voice having different lyrics from
the other voices only for a fraction of a piece.

\repeat unfold 40 { \skip 4 }

I do agree that the \skip /duration/ syntax is confusing in a lyrics context.

Cheers,

-- 

Arvid



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


Bug in lilypond-book-preamble (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))

2007-03-11 Thread Paul Harouff
I narrowed the problem down to lilypond-book-preamble.ly
 
lilypond -dbackend eps lilypond-book-preamble.ly
GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t

I haven't made any changes, but here is the contents of
lilypond-book-preamble.ly ... maybe someone on the list can find the bug.
The only thing I could do would be comment out each line one at a time, but
I still wouldn't know what the correct syntax should be.
 
\version 2.10.0

%% toplevel \book gets output per page,
%% everything else gets output per system/title
#(define default-toplevel-book-handler
  print-book-with-defaults-as-systems )

#(define toplevel-book-handler
  (lambda ( . rest)
  (set! output-empty-score-list #f)
  (apply print-book-with-defaults rest)))

#(define toplevel-music-handler
  (lambda ( . rest)
   (apply collect-music-for-book rest)))

#(define toplevel-score-handler
  (lambda ( . rest)
   (apply collect-scores-for-book rest)))

#(define toplevel-text-handler
  (lambda ( . rest)
   (apply collect-scores-for-book rest)))

#(set! output-empty-score-list #t)


#(ly:set-option (quote no-point-and-click))
#(define inside-lilypond-book #t)
#(define version-seen #t)





From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)


Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look. 

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out. 

Paul



On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote: 

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in
all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load
the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include  lilypond-book-preamble.ly
http://lilypond-book-preamble.ly 
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows: 
c' d' e'
% end ly snippet
}

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM 
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham







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


Re: how to set staff size in safe mode

2007-03-11 Thread David Feuer

On 3/11/07, Mats Bengtsson [EMAIL PROTECTED] wrote:

This seems like a bug, so I forward it to bug-lilypond. For example,
#(set-global-staff-size 16)


I don't understand why a few things (staff size and beaming behavior
come to mind) need to be set using Scheme setter functions.  Why can't
we just use global-staff-size = #16 in a paper block?  Speaking of
beaming, where should I use #override-auto-beam-setting if I want to
specify beaming behavior for the entire (polyphonic) piece?

David Feuer


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


Re: Center-aligning objects in Scheme

2007-03-11 Thread Maximilian Albert
Hi Vivian,

 I posted a message to this list a few days ago about automatically
 center-aligning some text under a Hairpin object (for example molto or
 poco ) but haven't received any responses. Whilst I've found how to
 combine markups using combine-at-edge I can't find how to center-align
 one to the other (if indeed this is possible, which I would hope it is.)
 Could someone give me some pointers about where to begin? It would save
 me a lot of time if I could get this working.

Below is a a piece of code that hopefully solves your problem. My scheme
knowledge is still quite limited and I have almost no experience in
using lilypond's scheme functions, so any gurus may want to make this
ad-hoc hack considerably shorter or more elegant. But at least I hope it
works.

Cheers,
Max


%%% begin code %%%

hairpinMolto = {
\override Voice.Hairpin #'stencil = #(lambda (grob)
   (let ((ext (ly:stencil-extent (ly:hairpin::print grob) 0)))
  (ly:stencil-combine-at-edge
 (ly:stencil-aligned-to (ly:hairpin::print grob) 0 -1)
  1
 -1
  (ly:stencil-translate-axis
 (ly:stencil-aligned-to (ly:text-interface::print grob) 0 0)
 (/ (- (cdr ext) (car ext)) 2)
 0
\override Voice.Hairpin #'text =
\markup { \smaller \italic molto }
}

\new Staff {
   \hairpinMolto c'2\ c'2\f
}

%%% end code %%%


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


Not a lilypond-book-preamble.ly bug (was RE: -b eps option (was RE: OOolilypond and openoffice 2.1))

2007-03-11 Thread Paul Harouff
It helps if you include the = in the -dbackend=eps option. You can see
from my previous message that I read the documentation correctly. We all
make mistakes. :-)
 
Is it possible to include more helpful error messages for the command line
options, when somebody gets a chance?
 
It appears that I have OOoLilyPond working now, but there are some issues:
 
1. The default templates with OOoLilyPond assume simple notes, you have to
modify the templates to delete the { and } before and after the snippet in
order to accept a \score {} block. Since the discussions on the list
indicate that the project is leaning toward requiring \score {} blocks in
the future, the default templates probably need to be updated.
 
2. The eps images paste into the swriter file transparent, you can't view
and proofread the music until you print -- I can't figure out how to change
this. It's really annoying. The documentation says the image is supposed to
be in low resolution, not invisible.
 
3. The temporary files are in the C:\WINDOWS\Temp directory, if you have
find the OOoLilypond.ly and OOoLilypond.out files to debug a problem.
Looking at the OOoLilypond.ly file is the only way to see how your music
snippet really looks to the LilyPond compiler.
 
Paul

  _  

From: Paul Harouff [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 05, 2007 2:07 PM
To: Graham Percival
Cc: lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)


Thanks, Graham.

I failed to mention that the -dbackend=eps option works outside of OOo. I
verified that before making the changes to Subs.xba.

I think this is some other script error inside OOoLilypond passing a bad
value to Lilypond, but I don't have a clue from the LilyPond error message
where to look. 

Even thinking about using LaTeX and LilyPondBook gives me chills. And while
LilyPond is great at handling musical notation, it is horrible at handling
text outside of a score (which is completely understandable - because that's
not what it's designed for). OOoLilypond looks like it could be a real
production tool for laying out hymnbooks and worship services, etc., by
combining the strengths of LilyPond and OOoWriter. I'm really excited to see
if I can get it working and try it out. 

Paul



On 3/4/07, Paul Harouff [EMAIL PROTECTED] wrote: 

Okay, I edited Subs.xba and replaced -b eps with -dbackend=eps in all four
places.

Then I deleted the macro in OOo and reinstalled it, so it would load the
changes.

Now, I get the following error:

GNU LilyPond 2.11.20
ERROR: In procedure symbol-string
ERROR: Wrong type argument in position 1 (expecting symbol): #t


The template file has the following:

\include   http://lilypond-book-preamble.ly lilypond-book-preamble.ly
#(set-global-staff-size 20)

\paper {
  #(define dump-extents #t)
  ragged-right = ##t
  line-width = 7.5\in
}

\layout {
  indent = #0
}

{
% ly snippet contents follows: 
c' d' e'
% end ly snippet
}

Paul


-Original Message-
From: Graham Percival [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 04, 2007 6:05 PM 
To: Paul Harouff
Cc: 'Johan Vromans'; lilypond-user@gnu.org
Subject: Re: -b eps option (was RE: OOolilypond and openoffice 2.1)

Paul Harouff wrote:
 My problem is Lilypond 2.11.20 is not recognizing either
 -b eps or --backend=eps so the code fragment won't compile.

Please see the NEWS for 2.11.

Cheers,
- Graham




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