Re: Having trouble changing from a4 to letter paper size.

2001-11-30 Thread Mats Bengtsson

   How do I change the papersize?  Right now, the music is running off
   the bottom of my paper.
  
  I think you need to explicitly load a font-setting file after setting
  papersize. The info pages say:
  
  To change the paper size, you must first set the `papersize'
   variable at top level.  Set it to the strings `a4', `letter', or
   `legal'.  After this specification, you must set the font as described
   above.  If you want the default font, then use the 20 point font.
   
papersize = a4
\include paper16.ly
   
  The file `paper16.ly'  will now include a file named `a4.ly', which
   will set the paper variables `hsize' and `vsize' (used by `ly2dvi')
  
  So try
  
  papersize = letter
  \include paper20.ly
  
  for the default font size on letter paper.

Yes, that used to be true. However, there's been some restructuring
in the init files, so you now have to set papersize as a paper 
variable, not as a global variable:

\paper{
  papersize = letter
}
\include paper20.ly

The solution suggested by Laura doesn't work that well, 
since it only adjusts for the height of the page (which is
handled by TeX), not the width of the score (which is 
handled by Lilypond).

 Ok, I'm still lost.  I have tried the following two things:
 
 papersize = letter
 \include paper23.ly
 
 OR
 
 papersize = letter
 \include paper20.ly
 
 With paper23.ly, it puts six staves on the page, and the bottom gets
 cut off when I print.  With paper20.ly, it puts only three staves on
 the page, then page breaks (at the end of the first movement).  Why might this 
happen?

We have added some tricks in the TeX header files to avoid 
page breaks between the headers and the first score line of 
a movement that starts at the bottom of a page. I don't 
understand why you get overfull pages from paper23, though.


 In a related question, can I have more than one \paper block?  If,
 after the above commands, I put
 
 \paper { indent =0.0\mm }
 
 will this simply have the additional effect of no indentation, or can
 this cause commands in other paperblocks to not happen?

As far as I can see, the settings in different \paper{} blocks
accumulate.

   /Mats



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



Re: Coda and Voice Combining

2001-11-30 Thread David Wynn

I'm including my file as an attachment.  Again, this is an example of simple
concepts not working out so simply with a real life, (read: complex)
example.

We're trying to set this file up to have an intro line that has no lyrics,
followed by music with lyrics.  I've tried to set up my file following
Mats's simple example below.  But, if you run this through lilypond, you'll
quickly see that something is not working right.

In order to see the music as it should be, replace the Intro notes at the
beginning of the Treble notes, and remove the Intro line from the score.
This makes the music look right, but of course the lyrics now start at the
beginning, instead of after the Intro.

Please have some consideration with this file -- our church is using this
music, but I do not know the original author, nor the publishing status of
this music.  It is presented here in order to correct this specific issue.

David Wynn
- Original Message -
From: Mats Bengtsson [EMAIL PROTECTED]
Cc: David Wynn [EMAIL PROTECTED]
Sent: Friday, November 30, 2001 9:42 AM
Subject: Re: Coda and Voice Combining


  As an easier alternative -- if its possible to delay lyrics, my file
would
  easier to program.  That is, I want the lyrics to follow one certain set
of
  notes, but to totally ignore those notes for the first 20 bars or so (no
  lyrics with the intro music).

 If you specify the rhythm of each syllable explicitly in the lyrics,
 it's just to insert a \skip 1*20 command in the lyrics.
 I'm not sure how to do it with \addlyrics, but in principle it
 should be possible to do something like
 \context Staff { \intro \addlyrics \verse \text}
 but I'd have to do some experimentation to find out exactly how
 to do it.

The following simple example seems to work:

intro=\notes\relative c'{c4 d e f}
song=\notes\relative c''{g a g f | e f e d | c1}
text=\lyrics{This is not a song worth pub -- lish -- ing }

\score {
  \context Staff=melody {\intro
 \addlyrics \song \context Lyrics = text \text}
}


By the way, if you have an empty \paper{} section, you
could just as well remove it completely.

   /Mats






OhJesus.ly
Description: Binary data


Re: several easy questions...

2001-11-30 Thread Han-Wen Nienhuys

[EMAIL PROTECTED] writes:
  pp 4. this is verse four.
 
 Hmm, that's a good question. I tried to use font markup
 commands in the stanza property but it didn't work. 
 Bug or limitation?
 
 % Failed attempt:
 \property LyricsVoice . stanza = #'(dynamic mf)

--- stanza-number-engraver.cc~  Mon Sep 24 01:04:29 2001
+++ stanza-number-engraver.cc   Fri Nov 30 20:53:13 2001
@@ -45,7 +45,7 @@
 
 
   // TODO
-  if (gh_string_p (s))
+  if (gh_string_p (s) || gh_pair_p (s))
 
/*
  if (i.grob_l_-has_interface (symbol (lyric-syllable-interface)))


-- 

Han-Wen Nienhuys   |   [EMAIL PROTECTED]| http://www.cs.uu.nl/~hanwen/


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



windows 98 dvips error

2001-11-30 Thread minzhi shi
I just install lilypond through the setup.exe at windows 98. I try to run the example foo.ly that the website provided.
I got the following error information. I do not know how to solve it. I apreciate your help. Thanks!
--Running LaTeX...Running dvips...error: dvips: command exited with value 256Traceback (most recent call last): File "/usr/lilypond-1.4.9.uu1/bin/ly2dvi.py", line 857, in ? run_dvips (outbase, extra_init) File "/usr/lilypond-1.4.9.uu1/bin/ly2dvi.py", line 647, in run_dvips system (cmd) File "/usr/lilypond-1.4.9.uu1/bin/ly2dvi.py", line 230, in system error (msg) File "/usr/lilypond-1.4.9.uu1/bin/ly2dvi.py", line 128, in error raise _ ("Exiting ... ")Exiting ...minzhi@DEFAULT ~$--
Minzhi Shi 
email:[EMAIL PROTECTED] 


tel: (404)633-4406(h) 






Get your FREE download of MSN Explorer at http://explorer.msn.com

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


Re: Coda and Voice Combining

2001-11-30 Thread Mats Bengtsson

 I'm including my file as an attachment.  Again, this is an example of simple
 concepts not working out so simply with a real life, (read: complex)
 example.
 
 We're trying to set this file up to have an intro line that has no lyrics,
 followed by music with lyrics.  I've tried to set up my file following
 Mats's simple example below.  But, if you run this through lilypond, you'll
 quickly see that something is not working right.

Please read in the manual about the difference between ... and
{...}.
If you replace \context Staff  = Vocal  ...  with
\context Staff  = Vocal { ... }, Lilypond will typeset the
\Treble and \text after the \Intro, not simultaneously, as you
asked for.

You problaby want the lyrics between the staves, not below the
bass. To get that, add the line 
  \context Lyrics = verse {\skip 1*100}
before \context Staff = BassStaff {.
It's not critical how long a skip you make, just it's long 
enough to keep the Staff alive until the real lyrics begins
but not longer than the total piece.

Finally, you can add a ChoirStaff context to get brackets
for each pair of staves. After these changes (and some fine 
tuning the position of the bar numbers), I got the following
\score declaration:


\score {
\context ChoirStaff 
 \context Staff = Vocal {
  \notes {
\key g \major
   \time 4/4
\clef treble
\partial 2
\property 
Staff.automaticMelismata = ##t
  }
   
 \Intro
   
 \addlyrics
   
 \Treble
   
  \context Lyrics = verse \text
   
  }
   
  \context Lyrics = verse {\skip 1*100}
   
  \context Staff = BassStaff {
   
   \clef bass
   
 \Bass
   
 }

\paper {
   indent = 0.0\mm
\translator{
\ScoreContext
BarNumber \override
#'padding = #3
}
}

\midi { \tempo 4 = 60 }
}

   /Mats


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