Re: Settings for a hymn book

2002-09-21 Thread Graham Percival

On Fri, 20 Sep 2002 06:06:27 -0600
Oscar A. Valdez [EMAIL PROTECTED] wrote:
 El jue, 19-09-2002 a las 06:41, Mats Bengtsson escribió:
  ... This is exactly why I proposed the 
  alternative solution to use lilypond-book instead, where
  you have full control over the layout.
 
 On the attached .ly file, lilypond-book.and then dvips produce only the
 fist staff (Staff = Celeb) and its lyrics, but not the second staff nor
 its lyrics (Staff = Resp).

Have you read the lilypond-book section of the manual?

 What should I do to get both staffs on the final .ps file?

I imagine that you should seperate the \scores into seperate files, and then
include them seperately in your latex file.  Refer to the lilypond-book docs.

Cheers,
- Graham



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Settings for a hymn book

2002-09-21 Thread David Raleigh Arnold

On Sat, 21 Sep 2002 20:09:52 Graham Percival wrote:
 On Fri, 20 Sep 2002 06:06:27 -0600
 Oscar A. Valdez [EMAIL PROTECTED] wrote:
  El jue, 19-09-2002 a las 06:41, Mats Bengtsson escribió:
   ... This is exactly why I proposed the 
   alternative solution to use lilypond-book instead, where
   you have full control over the layout.
  
  On the attached .ly file, lilypond-book.and then dvips produce only the
  fist staff (Staff = Celeb) and its lyrics, but not the second staff nor
  its lyrics (Staff = Resp).
 
 Have you read the lilypond-book section of the manual?
 
  What should I do to get both staffs on the final .ps file?
 
 I imagine that you should seperate the \scores into seperate files, and then
 include them seperately in your latex file.  Refer to the lilypond-book docs.
 
 Cheers,
 - Graham

And get the notes out of those \lilypondfiles.  If your scores have
more than one part, use sly for the notes.  Then make one .ly file
or as many different ones as you need, probably one will do,
as a template and build the \lilypondfiles with a script.  I
have found this a very good way to proceed, except that I haven't
had any reason to use sly to do it, because my scores in this
particular project only have one part.

I did not do that with the Ten Lessons at openguitar.com, I
used \begin\end{lilypond}, but
I wish I had.  It would have made the upgrade to 1.6.2 a lot
less painful, and saved me hours.

DaveA


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Settings for a hymn book

2002-09-20 Thread Oscar A. Valdez

El jue, 19-09-2002 a las 06:41, Mats Bengtsson escribió:
 ... This is exactly why I proposed the 
 alternative solution to use lilypond-book instead, where
 you have full control over the layout.
 
/Mats

Thank you for your advice. I have started using lilypond-book.

On the attached .ly file, lilypond-book.and then dvips produce only the
fist staff (Staff = Celeb) and its lyrics, but not the second staff nor
its lyrics (Staff = Resp).

What should I do to get both staffs on the final .ps file?

Thanks again.

Oscar Valdez

***

\header {
tagline =
}
\paper { linewidth=-1 }
\score {
\addlyrics
\context Staff = Celeb {
\property Staff.midiInstrument = acoustic grand
\property Staff.noAutoBeaming = ##t
\property Staff.automaticMelismata = ##t
\cadenzaOn
\notes
\relative c' {
\clef bass
g8 g a a a
a g a a b
a a a a a
g a [a( )g] g   
\bar |.
}
}
\context Lyrics
\lyrics {
En el nom bre del
Pa dre, y del Hi-
jo, y del Es- pi-
ri- tu San to.
}
}
\score {
\addlyrics
\context Staff = Resp {
\property Staff.midiInstrument = acoustic grand
\property Staff.noAutoBeaming = ##t
\property Staff.automaticMelismata = ##t
\cadenzaOn
\notes
\relative c' {
\clef bass
g8 [g( )a]
\bar |.
}
}
\context Lyrics
\lyrics {
A men.
}
}



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Settings for a hymn book

2002-09-19 Thread Graham Percival

On Wed, 18 Sep 2002 20:36:06 -0600
Oscar A. Valdez [EMAIL PROTECTED] wrote:
 There are two things I would like to change, but don't know how:
 
 1) The notes (especially in the second score) seem to be vertically centered on the 
staff, with excessive space between them. I would like them to be left-aligned, and 
closely spaced.

I think you mean horizontally centered, not vertically centered.

If you only have a short line (like your second piece), try setting 
\paper{linewidth=-1.0}
 
 2) I would like the opus header to appear only once, before the first score, and 
not twice, before each score.

When you define \header{} at the beginning of your ly file, you are actually 
specifying the default header to use
for all \scores in that file.  So LilyPond prints two sets of \headers (you don't 
notice the double-taglines since
they're printed on top of each other, but you do notice the opus).

To fix this, either move the \header definition inside the first score, or define 
\header{opus=} inside your
second \score.

 Help will be appreciated.

Here's a simple example of one way to modify your score:

 **
 \score {

[snip]

 }
 \score {

[snip]

   \lyrics {
   A men.
   }

\header{opus= }
\paper{linewidth=-1.0}

 }

-

ie stick those two extra lines just before the last } in your last \score.


Cheers,
-  Graham


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Settings for a hymn book

2002-09-19 Thread Mats Bengtsson

In addition to Graham's answer, you may want to 
look into using lilypond-book instead of ly2dvi
to get more possibilities to affect the layout.
The idea of lilypond-book is that the main document
is a standard LaTeX (or TeXinfo) file with included
music, so you use standard LaTeX to get the formating
you want.

  /Mats




___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Settings for a hymn book

2002-09-19 Thread Mats Bengtsson

The titling layout given by ly2dvi contains many hard-coded
settings (see the file tex/titledefs.tex). One solution is
to keep a modified copy of titledefs.tex in the working 
directory, the problem is that it might break when you 
upgrade Lilypond. This is exactly why I proposed the 
alternative solution to use lilypond-book instead, where
you have full control over the layout.

   /Mats


 Thank you. Both changes worked fine. But, is there a way for the 'opus'
 header to print left-aligned, instead of right-aligned?



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Settings for a hymn book

2002-09-18 Thread Oscar A. Valdez

The following should be the first of several consecutive chants and hymns. The first 
score is a salutation, and the second is the response.

There are two things I would like to change, but don't know how:

1) The notes (especially in the second score) seem to be vertically centered on the 
staff, with excessive space between them. I would like them to be left-aligned, and 
closely spaced.

2) I would like the opus header to appear only once, before the first score, and not 
twice, before each score.

Help will be appreciated.

Oscar Valdez

**

\header {
opus = 1. Con la señal de la cruz
tagline = Traducción del Graduale Simplex
}
\score {
\addlyrics
\context Staff = Celeb {
\property Staff.midiInstrument = church organ
\property Staff.noAutoBeaming = ##t
\property Staff.automaticMelismata = ##t
\cadenzaOn
\notes
\relative c' {
\clef bass
g8 g a a a
a g a a b
a a a a a
g a [a( )g] g   
\bar |.
}
}
\context Lyrics
\lyrics {
En el nom bre del
Pa dre, y del Hi-
jo, y del Es- pi-
ri- tu San to.
}
}
\score {
\addlyrics
\context Staff = Resp {
\property Staff.midiInstrument = church organ
\property Staff.noAutoBeaming = ##t
\property Staff.automaticMelismata = ##t
\cadenzaOn
\notes
\relative c' {
\clef bass
g8 [g( )a]
\bar |.
}
}
\context Lyrics
\lyrics {
A men.
}
}



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user